1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-28 16:24:13 +01:00

add --64-only and --32-only build options from package-native.sh

This commit is contained in:
60IQ 2024-11-14 19:04:22 -06:00 committed by Philip Rebohle
parent 4c09b006a5
commit 12c2b2f81b

View File

@ -25,6 +25,8 @@ shift 2
opt_nopackage=0
opt_devbuild=0
opt_buildid=false
opt_64_only=0
opt_32_only=0
crossfile="build-win"
@ -40,6 +42,12 @@ while [ $# -gt 0 ]; do
"--build-id")
opt_buildid=true
;;
"--64-only")
opt_64_only=1
;;
"--32-only")
opt_32_only=1
;;
*)
echo "Unrecognized option: $1" >&2
exit 1
@ -84,8 +92,12 @@ function package {
rm -R "dxvk-$DXVK_VERSION"
}
build_arch 64
build_arch 32
if [ $opt_32_only -eq 0 ]; then
build_arch 64
fi
if [ $opt_64_only -eq 0 ]; then
build_arch 32
fi
if [ $opt_nopackage -eq 0 ]; then
package