summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetObjectFile.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-02-23 21:20:59 +0000
committerZachary Turner <zturner@google.com>2015-02-23 21:20:59 +0000
commitd487bb12d956480483bf6d537b56c81f47f09509 (patch)
treea120bb7539c1214402276548d25f0c7be4dd4f51 /llvm/lib/Target/X86/X86TargetObjectFile.cpp
parent152a172899034b5f9c34420621cd9cfa74c68efa (diff)
downloadbcm5719-llvm-d487bb12d956480483bf6d537b56c81f47f09509.tar.gz
bcm5719-llvm-d487bb12d956480483bf6d537b56c81f47f09509.zip
[CMake] On Windows, require manual specification of python libs.
Embedding python with MSVC is very finicky, for reasons having to do with the operating system's CRT, the implementation of python itself on Windows, and even bugs in CMake. One side effect of this is that we cannot rely on FindPythonLibs and FindPythonInterp CMake functions to locate the correct version of Python. We must instead manually specify the location of PYTHON_LIBRARY and PYTHON_INCLUDE_DIR. As a side effect, this fixes building LLDB in release mode by specifying -DCMAKE_BUILD_TYPE=Release, which was previously broken. llvm-svn: 230262
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud