fune/taskcluster/scripts/misc/pack-vs.sh
Mike Hommey 5ed622ab77 Bug 1289641 - Setup a taskcluster task to build the vs2017 toolchain. r=firefox-build-system-reviewers,mhentges
Its layout differs from the one in the tooltool archive for forward
compatibility with the upcoming (clang 15) -winsysroot flag.

There is probably more filtering we can do to somehow match what
windows_toolchain.py used to do, but we'll keep that for later.

Differential Revision: https://phabricator.services.mozilla.com/D143126
2022-04-12 22:52:53 +00:00

11 lines
245 B
Bash
Executable file

#!/bin/sh
set -e -x
artifact=$(basename $TOOLCHAIN_ARTIFACT)
dir=${artifact%.tar.*}
$GECKO_PATH/mach python --virtualenv build $GECKO_PATH/build/vs/pack_vs.py -o "$artifact" $GECKO_PATH/$1
mkdir -p "$UPLOAD_DIR"
mv "$artifact" "$UPLOAD_DIR"