From 8e4de9338f7c31ea4003c600cc9e3f401616dbab Mon Sep 17 00:00:00 2001 From: Andi-Bogdan Postelnicu Date: Tue, 24 Aug 2021 05:18:17 +0000 Subject: [PATCH] Bug 1727088 - Add `wasi-compiler-rt` to `clang-10` artifact. r=firefox-build-system-reviewers,glandium Unfortunately we cannot move coverity builds to newer versions of clang so we are stick to clang-10. Differential Revision: https://phabricator.services.mozilla.com/D123370 --- build/build-clang/clang-10-linux64.json | 1 + taskcluster/ci/toolchain/clang.yml | 1 + taskcluster/ci/toolchain/compiler-rt.yml | 12 ++++++++++++ 3 files changed, 14 insertions(+) diff --git a/build/build-clang/clang-10-linux64.json b/build/build-clang/clang-10-linux64.json index 3d3de94d20b1..96d9555b7494 100644 --- a/build/build-clang/clang-10-linux64.json +++ b/build/build-clang/clang-10-linux64.json @@ -3,6 +3,7 @@ "pgo" : true, "build_libcxx": true, "build_wasm": true, + "wasi-compiler-rt": "{MOZ_FETCHES_DIR}/compiler-rt", "build_type": "Release", "assertions": false, "cc": "{MOZ_FETCHES_DIR}/gcc/bin/gcc", diff --git a/taskcluster/ci/toolchain/clang.yml b/taskcluster/ci/toolchain/clang.yml index 5fcf82775ba9..2ec5e0eaef38 100644 --- a/taskcluster/ci/toolchain/clang.yml +++ b/taskcluster/ci/toolchain/clang.yml @@ -120,6 +120,7 @@ linux64-clang-10: - linux64-binutils - linux64-gcc-7 - linux64-toolchain-sysroot + - wasm32-wasi-compiler-rt-10 linux64-clang-11: description: "Clang 11 toolchain build" diff --git a/taskcluster/ci/toolchain/compiler-rt.yml b/taskcluster/ci/toolchain/compiler-rt.yml index 955020db495c..1ef9e828f4fe 100644 --- a/taskcluster/ci/toolchain/compiler-rt.yml +++ b/taskcluster/ci/toolchain/compiler-rt.yml @@ -119,3 +119,15 @@ wasm32-wasi-compiler-rt-12: fetch: - clang-12 - wasi-sdk + +wasm32-wasi-compiler-rt-10: + description: "wasm32-wasi Compiler-rt for Clang 10 toolchain build" + treeherder: + symbol: TL(wasi-crt-10) + worker-type: b-linux-xlarge + run: + script: build-compiler-rt-wasi.sh + fetches: + fetch: + - clang-10 + - wasi-sdk