diff options
author | Ayke van Laethem <[email protected]> | 2021-05-19 12:18:32 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-05-19 19:12:26 +0200 |
commit | 841f19f49ebaa592ffd612da7e95953897f517be (patch) | |
tree | e8d90ff53a632f4bb670dec757746f72ba6f4217 /.circleci | |
parent | 2085ffb33481b969fe46f3ed71269ac9367f1885 (diff) | |
download | tinygo-841f19f49ebaa592ffd612da7e95953897f517be.tar.gz tinygo-841f19f49ebaa592ffd612da7e95953897f517be.zip |
ci: disable building some optional Clang components
This commit disables the Clang static analyzer and ARCMigrate components
of Clang. These aren't used at the moment in TinyGo so don't need to be
enabled. This reduces the build by 200 files (2909 -> 2709).
The idea comes from here (via LLVM weekly):
https://www.cambus.net/speedbuilding-llvm-clang-in-5-minutes/
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index a1ee7e308..01f2bec82 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -157,7 +157,7 @@ commands: - llvm-source-linux - restore_cache: keys: - - llvm-build-11-linux-v3-assert + - llvm-build-11-linux-v4-assert - run: name: "Build LLVM" command: | @@ -176,7 +176,7 @@ commands: find llvm-build -name CMakeFiles -prune -exec rm -r '{}' \; fi - save_cache: - key: llvm-build-11-linux-v3-assert + key: llvm-build-11-linux-v4-assert paths: llvm-build - run: make ASSERT=1 @@ -225,7 +225,7 @@ commands: - llvm-source-linux - restore_cache: keys: - - llvm-build-11-linux-v3-noassert + - llvm-build-11-linux-v4-noassert - run: name: "Build LLVM" command: | @@ -244,7 +244,7 @@ commands: find llvm-build -name CMakeFiles -prune -exec rm -r '{}' \; fi - save_cache: - key: llvm-build-11-linux-v3-noassert + key: llvm-build-11-linux-v4-noassert paths: llvm-build - build-wasi-libc @@ -311,7 +311,7 @@ commands: - llvm-project/llvm/include - restore_cache: keys: - - llvm-build-11-macos-v4 + - llvm-build-11-macos-v5 - run: name: "Build LLVM" command: | @@ -327,7 +327,7 @@ commands: find llvm-build -name CMakeFiles -prune -exec rm -r '{}' \; fi - save_cache: - key: llvm-build-11-macos-v4 + key: llvm-build-11-macos-v5 paths: llvm-build - restore_cache: |