@@ -31,7 +31,35 @@ cd llvm
3131# make build dir and run cmake
3232mkdir build
3333cd build
34- cmake -G " Unix Makefiles" -DPython3_EXECUTABLE=$PYTHON_EXE -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX -DCMAKE_BUILD_TYPE=Release -DLLVM_DEFAULT_TARGET_TRIPLE=$TARGET_TRIPLE -DCMAKE_OSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET -DLLVM_TARGETS_TO_BUILD=" X86" -DLLVM_BUILD_TOOLS=OFF -DLLVM_INCLUDE_TOOLS=OFF -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_BUILD_TESTS=OFF -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_BUILD_UTILS=OFF -DLLVM_INCLUDE_UTILS=OFF -DLLVM_INCLUDE_GO_TESTS=OFF -DLLVM_BUILD_BENCHMARKS=OFF -DLLVM_INCLUDE_BENCHMARKS=OFF -DLLVM_ENABLE_LIBPFM=OFF -DLLVM_ENABLE_ZLIB=OFF -DLLVM_ENABLE_DIA_SDK=OFF -DLLVM_BUILD_INSTRUMENTED_COVERAGE=OFF -DLLVM_ENABLE_BINDINGS=OFF -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_TERMINFO=OFF -DLLVM_ENABLE_LIBXML2=OFF -DLLVM_ENABLE_WARNINGS=OFF -DLLVM_ENABLE_Z3_SOLVER=OFF ..
34+ cmake -G " Unix Makefiles" .. \
35+ -DPython3_EXECUTABLE=$PYTHON_EXE \
36+ -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX \
37+ -DCMAKE_BUILD_TYPE=Release \
38+ -DLLVM_DEFAULT_TARGET_TRIPLE=$TARGET_TRIPLE \
39+ -DCMAKE_OSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET \
40+ -DLLVM_TARGETS_TO_BUILD=" X86" \
41+ -DLLVM_BUILD_TOOLS=OFF \
42+ -DLLVM_INCLUDE_TOOLS=OFF \
43+ -DLLVM_BUILD_EXAMPLES=OFF \
44+ -DLLVM_INCLUDE_EXAMPLES=OFF \
45+ -DLLVM_BUILD_TESTS=OFF \
46+ -DLLVM_INCLUDE_TESTS=OFF \
47+ -DLLVM_INCLUDE_DOCS=OFF \
48+ -DLLVM_BUILD_UTILS=OFF \
49+ -DLLVM_INCLUDE_UTILS=OFF \
50+ -DLLVM_INCLUDE_GO_TESTS=OFF \
51+ -DLLVM_BUILD_BENCHMARKS=OFF \
52+ -DLLVM_INCLUDE_BENCHMARKS=OFF \
53+ -DLLVM_ENABLE_LIBPFM=OFF \
54+ -DLLVM_ENABLE_ZLIB=OFF \
55+ -DLLVM_ENABLE_DIA_SDK=OFF \
56+ -DLLVM_BUILD_INSTRUMENTED_COVERAGE=OFF \
57+ -DLLVM_ENABLE_BINDINGS=OFF \
58+ -DLLVM_ENABLE_RTTI=ON \
59+ -DLLVM_ENABLE_TERMINFO=OFF \
60+ -DLLVM_ENABLE_LIBXML2=OFF \
61+ -DLLVM_ENABLE_WARNINGS=OFF \
62+ -DLLVM_ENABLE_Z3_SOLVER=OFF
3563ls
3664time make -j2
3765$SUDO_CMD make install
0 commit comments