cmake -G Ninja
-DLLVM_ENABLE_PROJECTS="debuginfo-tests" -DLLVM_USE_LINKER=lld
-DCMAKE_BUILD_TYPE="Release" -DLLVM_TARGETS_TO_BUILD=X86 -Wno-dev
../llvm &> ../../cmake.log
in cmake.log
-- Targeting X86
CMake Error at
/home/nnelson/Documents/llvm-project/debuginfo-tests/CMakeLists.txt:30
(message):
Cannot run debuginfo-tests without python 3
installed
python3 --version
Python 3.7.5
python --version
Python 2.7.17
in llvm-project/debuginfo-tests/CMakeLists.txt
elseif(PYTHON_VERSION_MAJOR LESS 3)
message(FATAL_ERROR "Cannot run debuginfo-tests without python
3")
Neil Nelson