forked from mirrors/gecko-dev
Also reflects the move from CraneStation to the WebAssembly account. And we need a small tweak to the build script to accommodate one of the changes that got picked up along the way. Differential Revision: https://phabricator.services.mozilla.com/D88187
12 lines
506 B
Bash
Executable file
12 lines
506 B
Bash
Executable file
#!/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
|