1
0
Fork 0
firefox/taskcluster/scripts/misc/build-mingw-fxc2-x86.sh
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02: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