fune/taskcluster/scripts/misc/build-mingw-fxc2-x86.sh
Mike Hommey 9ef9a07ff2 Bug 1729406 - Use .tar.zst for most toolchain artifacts. r=firefox-build-system-reviewers,andi
We leave the following ones unchanged:
- geckodriver because the results are used to releases on github.
- sixgill because the script that creates it is not in-tree.
- *-dist-toolchain because sccache is not expecting a .tar.zst.

We use native tar support in most cases, except for toolchain scripts also
used on Windows, for which we use our zstdpy script.

Differential Revision: https://phabricator.services.mozilla.com/D124733
2021-09-08 23:46:51 +00:00

25 lines
422 B
Bash
Executable file

#!/bin/bash
set -x -e -v
WORKSPACE=$HOME/workspace
INSTALL_DIR=$WORKSPACE/fxc2
mkdir -p $INSTALL_DIR/bin
export PATH="$MOZ_FETCHES_DIR/clang/bin:$PATH"
# --------------
cd $MOZ_FETCHES_DIR/fxc2
make -j$(nproc) x86
cp fxc2.exe $INSTALL_DIR/bin/
cp dll/d3dcompiler_47_32.dll $INSTALL_DIR/bin/d3dcompiler_47.dll
# --------------
cd $WORKSPACE
tar caf fxc2.tar.zst fxc2
mkdir -p $UPLOAD_DIR
cp fxc2.tar.* $UPLOAD_DIR