diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /taskcluster/scripts/misc/build-wasi-sysroot.sh | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'taskcluster/scripts/misc/build-wasi-sysroot.sh')
-rwxr-xr-x | taskcluster/scripts/misc/build-wasi-sysroot.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/taskcluster/scripts/misc/build-wasi-sysroot.sh b/taskcluster/scripts/misc/build-wasi-sysroot.sh new file mode 100755 index 0000000000..db2de5651f --- /dev/null +++ b/taskcluster/scripts/misc/build-wasi-sysroot.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -x -e -v + +export PATH="$MOZ_FETCHES_DIR/gcc/bin:$MOZ_FETCHES_DIR/binutils/bin:$PATH" +export LD_LIBRARY_PATH="$MOZ_FETCHES_DIR/gcc/lib64/:$LD_LIBRARY_PATH" +cd $MOZ_FETCHES_DIR/wasi-sdk +PREFIX=$MOZ_FETCHES_DIR/wasi-sdk/wasi-sysroot +LLVM_PROJ_DIR=$MOZ_FETCHES_DIR/llvm-project +make LLVM_PROJ_DIR=$LLVM_PROJ_DIR PREFIX=$PREFIX +# Put a tarball in the artifacts dir +mkdir -p $UPLOAD_DIR +tar -C $MOZ_FETCHES_DIR/wasi-sdk/build/install/$PREFIX/../ -caf $UPLOAD_DIR/wasi-sysroot.tar.xz wasi-sysroot |