forked from mirrors/gecko-dev
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
25 lines
422 B
Bash
Executable file
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
|