File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ RUN apt-get install libboost-all-dev -y
2020
2121# installing LLVM
2222COPY utils/install-llvm.sh /usr/src/phasar/utils/install-llvm.sh
23- RUN ./utils/install-llvm.sh $(nproc) . "/usr/local/" "llvmorg-9 .0.0"
23+ RUN ./utils/install-llvm.sh $(nproc) . "/usr/local/" "llvmorg-10 .0.0"
2424
2525# installing wllvm
2626RUN pip3 install wllvm
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ echo "Build the LLVM project"
3535git checkout ${llvm_release}
3636mkdir -p build
3737cd build
38- cmake -G " Unix Makefiles" -DLLVM_ENABLE_PROJECTS=' clang;clang-tools-extra;libcxx;libcxxabi;libunwind;lld;lldb;compiler-rt;lld;polly;debuginfo-tests;openmp;parallel-libs' -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DBUILD_SHARED_LIBS=ON ../llvm
38+ cmake -G " Unix Makefiles" -DLLVM_ENABLE_PROJECTS=' clang;clang-tools-extra;libcxx;libcxxabi;libunwind;lld;lldb;compiler-rt;lld;polly;debuginfo-tests;openmp;parallel-libs' -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_CXX1Y=ON -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DBUILD_SHARED_LIBS=ON -DLLVM_BUILD_EXAMPLES=Off -DLLVM_INCLUDE_EXAMPLES=Off -DLLVM_BUILD_TESTS=Off -DLLVM_INCLUDE_TESTS=Off ../llvm
3939make -j${num_cores}
4040# echo "Run all tests"
4141# make -j3 check-all
4242echo " Installing LLVM to ${dest_dir} "
43- sudo cmake -DCMAKE_INSTALL_PREFIX=${dest_dir} -P cmake_install.cmake
43+ sudo cmake -DCMAKE_INSTALL_PREFIX=${dest_dir} -P cmake_install.cmake
4444sudo ldconfig
4545echo " Installed LLVM successfully."
You can’t perform that action at this time.
0 commit comments