diff options
author | Ayke van Laethem <[email protected]> | 2021-02-08 13:16:24 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-02-09 08:03:54 +0100 |
commit | 9f5bd2c460cfcf5dca40fe043d8a51a25f1a79b3 (patch) | |
tree | 9e244ad17f1f3a62ced670755dc3469d72f3a889 /.circleci | |
parent | d6cdf8ca289487b75d6310998eba45aa56545156 (diff) | |
download | tinygo-9f5bd2c460cfcf5dca40fe043d8a51a25f1a79b3.tar.gz tinygo-9f5bd2c460cfcf5dca40fe043d8a51a25f1a79b3.zip |
ci: only build the necessary LLVM libraries and tools
This should improve rebuild time, but perhaps more importantly massively
reduces cache size which then reduces incremental build time.
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index e8d36e1c0..ed780aba5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -80,12 +80,12 @@ commands: steps: - restore_cache: keys: - - wasi-libc-sysroot-v3 + - wasi-libc-sysroot-v4 - run: name: "Build wasi-libc" command: make wasi-libc - save_cache: - key: wasi-libc-sysroot-v3 + key: wasi-libc-sysroot-v4 paths: - lib/wasi-libc/sysroot test-linux: @@ -108,10 +108,10 @@ commands: - run: go install -tags=llvm<<parameters.llvm>> . - restore_cache: keys: - - wasi-libc-sysroot-systemclang-v2 + - wasi-libc-sysroot-systemclang-v3 - run: make wasi-libc - save_cache: - key: wasi-libc-sysroot-systemclang-v2 + key: wasi-libc-sysroot-systemclang-v3 paths: - lib/wasi-libc/sysroot - run: go test -v -tags=llvm<<parameters.llvm>> ./cgo ./compileopts ./compiler ./interp ./transform . @@ -153,7 +153,7 @@ commands: - llvm-source-linux - restore_cache: keys: - - llvm-build-11-linux-v1-assert + - llvm-build-11-linux-v2-assert - run: name: "Build LLVM" command: | @@ -168,7 +168,7 @@ commands: make ASSERT=1 llvm-build fi - save_cache: - key: llvm-build-11-linux-v1-assert + key: llvm-build-11-linux-v2-assert paths: llvm-build - run: make ASSERT=1 @@ -211,7 +211,7 @@ commands: - llvm-source-linux - restore_cache: keys: - - llvm-build-11-linux-v1-noassert + - llvm-build-11-linux-v2-noassert - run: name: "Build LLVM" command: | @@ -226,7 +226,7 @@ commands: make llvm-build fi - save_cache: - key: llvm-build-11-linux-v1-noassert + key: llvm-build-11-linux-v2-noassert paths: llvm-build - build-wasi-libc @@ -290,7 +290,7 @@ commands: - llvm-project - restore_cache: keys: - - llvm-build-11-macos-v1 + - llvm-build-11-macos-v2 - run: name: "Build LLVM" command: | @@ -302,17 +302,17 @@ commands: make llvm-build fi - save_cache: - key: llvm-build-11-macos-v1 + key: llvm-build-11-macos-v2 paths: llvm-build - restore_cache: keys: - - wasi-libc-sysroot-macos-v2 + - wasi-libc-sysroot-macos-v3 - run: name: "Build wasi-libc" command: make wasi-libc - save_cache: - key: wasi-libc-sysroot-macos-v2 + key: wasi-libc-sysroot-macos-v3 paths: - lib/wasi-libc/sysroot - run: |