-
Notifications
You must be signed in to change notification settings - Fork 4
Description
I have tried building the docker container multiple times in different ways but I always get the same error:
when it comes to llvm-objects-debug in the Makefile.llvm it gets an error 2 on make all and tells me to check llvm.log in the cpf-workspace
In the file is then written:
make[1]: Entering directory '/home/maxp/cpf-workspace'
mkdir -p llvm-install-debug &&
mkdir -p llvm-objects-debug &&
cd llvm-objects-debug &&
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;openmp;polly" -DLLVM_TARGETS_TO_BUILD="X86" -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ABI_BREAKING_CHECKS=FORCE_OFF -DCMAKE_INSTALL_PREFIX=/home/maxp/cpf-workspace/llvm-install-debug -DCMAKE_CXX_STANDARD="17" ../llvm-project/llvm/ &&
make -j16 &&
make install
�[31mCMake Error at CMakeLists.txt:3 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
�[0m
-- Configuring incomplete, errors occurred!
make[1]: *** [Makefile.llvm:37: llvm-objects-debug] Error 1
make[1]: Leaving directory '/home/maxp/cpf-workspace'
However playing around with all sorts of fixes didn't work so if anyone has an idea.