diff options
author | AdriĆ Cereto MassaguĆ© <ssorgatem@gmail.com> | 2018-03-14 22:38:38 +0300 |
---|---|---|
committer | Philip Rebohle <philip.rebohle@tu-dortmund.de> | 2018-03-14 22:38:38 +0300 |
commit | 1bfd37a013a6b154308929c763988bb73136d340 (patch) | |
tree | 52132843abe4c97d91e4cf9c60772e8e9fdde117 /package-release.sh | |
parent | 0e0ee61d9b879e3ea066326874b0f7aad6f6f18e (diff) |
Some changes to the packaging script (#162)
* enable unity build for releases
* let the packaging script work wth relative paths
* add build option to enable building the test binaries; disabled by default
* disable unity build until it's been more tested
Diffstat (limited to 'package-release.sh')
-rwxr-xr-x | package-release.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package-release.sh b/package-release.sh index bbb70eb9..6a471094 100755 --- a/package-release.sh +++ b/package-release.sh @@ -8,7 +8,7 @@ fi DXVK_VERSION="$1" DXVK_SRC_DIR=`dirname $(readlink -f $0)` DXVK_TMP_DIR="/tmp/dxvk-$DXVK_VERSION" -DXVK_ARCHIVE_PATH="$2/dxvk-$DXVK_VERSION.tar.gz" +DXVK_ARCHIVE_PATH=$(realpath "$2")"/dxvk-$DXVK_VERSION.tar.gz" function build_arch { cd "$DXVK_SRC_DIR" @@ -16,7 +16,9 @@ function build_arch { meson --cross-file "$DXVK_SRC_DIR/build-win$1.txt" \ --buildtype "release" \ --prefix "$DXVK_TMP_DIR/install.$1" \ + --unity off \ --strip \ + -Denable_tests=false \ "$DXVK_TMP_DIR/build.$1" cd "$DXVK_TMP_DIR/build.$1" @@ -40,4 +42,4 @@ function package { build_arch 64 build_arch 32 -package
\ No newline at end of file +package |