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
   ">

(original) (raw)

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