diff --git a/package-release.sh b/package-release.sh index 898f66a5..23a4c6bb 100755 --- a/package-release.sh +++ b/package-release.sh @@ -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