diff options
Diffstat (limited to '')
-rwxr-xr-x | taskcluster/scripts/misc/build-liblowercase.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/taskcluster/scripts/misc/build-liblowercase.sh b/taskcluster/scripts/misc/build-liblowercase.sh new file mode 100755 index 0000000000..0846a60c4d --- /dev/null +++ b/taskcluster/scripts/misc/build-liblowercase.sh @@ -0,0 +1,19 @@ +#!/bin/bash +set -x -e -v + +: WORKSPACE ${WORKSPACE:=/builds/worker/workspace} + +# This script is for building liblowercase + +PATH="$MOZ_FETCHES_DIR/rustc/bin:$PATH" + +cd $GECKO_PATH/build/liblowercase + +cargo build --verbose --release --target-dir $WORKSPACE/obj + +mkdir $WORKSPACE/liblowercase +cp $WORKSPACE/obj/release/liblowercase.so $WORKSPACE/liblowercase +strip $WORKSPACE/liblowercase/liblowercase.so +tar -C $WORKSPACE -acf $WORKSPACE/liblowercase.tar.xz liblowercase +mkdir -p $UPLOAD_DIR +cp $WORKSPACE/liblowercase.tar.xz $UPLOAD_DIR |