Skip to content

Commit 1148e7a

Browse files
committed
refactor
1 parent 71a4ef6 commit 1148e7a

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Get the latest versions here:
66

7-
- linux (gcc 9 / Ubuntu 16.04): [sme_deps_llvm_linux.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_linux.tgz)
7+
- linux (gcc 9 / Ubuntu 18.04): [sme_deps_llvm_linux.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_linux.tgz)
88
- osx (Apple clang 12 / macOS 10.15): [sme_deps_llvm_osx.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_osx.tgz)
99
- win32 (mingw-w64-i686-gcc 10): [sme_deps_llvm_win32.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_win32.tgz)
1010
- win64 (mingw-w64-x86_64-gcc 10): [sme_deps_llvm_win64.tgz](https://github.com/spatial-model-editor/sme_deps_llvm/releases/latest/download/sme_deps_llvm_win64.tgz)

build.sh

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,35 @@ cd llvm
3131
# make build dir and run cmake
3232
mkdir build
3333
cd 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
3563
ls
3664
time make -j2
3765
$SUDO_CMD make install

0 commit comments

Comments
 (0)