Skip to content

Commit

Permalink
ci: build fewer LLVM components (#309)
Browse files Browse the repository at this point in the history
This is a recommendation from #304 to build less of LLVM in CI. Perhaps
it can speed up build times.
  • Loading branch information
abrown committed May 11, 2023
1 parent 6dde7bb commit 3fb0057
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ build/llvm.BUILT:
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.12 \
-DCMAKE_INSTALL_PREFIX=$(PREFIX) \
-DLLVM_INCLUDE_TESTS=OFF \
-DLLVM_INCLUDE_UTILS=OFF \
-DLLVM_INCLUDE_BENCHMARKS=OFF \
-DLLVM_INCLUDE_EXAMPLES=OFF \
-DLLVM_TARGETS_TO_BUILD=WebAssembly \
-DLLVM_DEFAULT_TARGET_TRIPLE=wasm32-wasi \
-DLLVM_ENABLE_PROJECTS="lld;clang;clang-tools-extra" \
Expand Down

0 comments on commit 3fb0057

Please sign in to comment.