mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 1678154 - Create a clang repack including the aarch64 mac compiler-rt. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D97699
This commit is contained in:
parent
be6372ad52
commit
ffd412896c
@ -397,6 +397,22 @@ linux64-clang-11-macosx-cross:
|
||||
- artifact: clang.tar.zst
|
||||
dest: clang-mac
|
||||
|
||||
linux64-clang-11-macosx-aarch64-cross:
|
||||
description: "Clang 11 toolchain repack with MacOS aarch64 Compiler RT libs"
|
||||
treeherder:
|
||||
symbol: TL(clang11-macosx-aarch64)
|
||||
worker-type: b-linux
|
||||
worker:
|
||||
max-run-time: 600
|
||||
run:
|
||||
script: repack-clang-linux-macosx-aarch64-cross.sh
|
||||
toolchain-alias: linux64-clang-macosx-aarch64-cross
|
||||
toolchain-artifact: public/build/clang.tar.zst
|
||||
fetches:
|
||||
toolchain:
|
||||
- linux64-clang-11
|
||||
- macosx64-aarch64-compiler-rt-11
|
||||
|
||||
linux64-clang-11-win-cross:
|
||||
description: "Clang 11 toolchain repack with Windows Compiler RT libs"
|
||||
treeherder:
|
||||
|
16
taskcluster/scripts/misc/repack-clang-linux-macosx-aarch64-cross.sh
Executable file
16
taskcluster/scripts/misc/repack-clang-linux-macosx-aarch64-cross.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
set -x -e -v
|
||||
|
||||
# This script is for building clang for macos targets on a Linux host,
|
||||
# including native aarch64 macos Compiler-RT libraries.
|
||||
|
||||
cd $MOZ_FETCHES_DIR
|
||||
|
||||
# We have a native linux64 toolchain in $MOZ_FETCHES_DIR/clang
|
||||
# We have a native aarch64 macos compiler-rt in $MOZ_FETCHES_DIR/compiler-rt
|
||||
cp -r compiler-rt/lib/darwin clang/lib/clang/*/lib
|
||||
|
||||
tar -cf - clang | python3 $GECKO_PATH/taskcluster/scripts/misc/zstdpy > clang.tar.zst
|
||||
|
||||
mkdir -p $UPLOAD_DIR
|
||||
mv clang.tar.zst $UPLOAD_DIR
|
Loading…
Reference in New Issue
Block a user