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/
This commit is contained in:
Ayke van Laethem
2021-05-19 12:18:32 +02:00
committed by Ron Evans
parent 2085ffb334
commit 841f19f49e
3 changed files with 9 additions and 9 deletions
+6 -6
View File
@@ -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: