diff --git a/libs/gpu-dawn/.github/workflows/ci.yml b/libs/gpu-dawn/.github/workflows/ci.yml index d7db42bf..8ca0d22a 100644 --- a/libs/gpu-dawn/.github/workflows/ci.yml +++ b/libs/gpu-dawn/.github/workflows/ci.yml @@ -41,7 +41,7 @@ jobs: - name: Clone mach-glfw run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw - name: install (release-fast) - run: zig build install -Drelease-fast=true -Dtarget=x86_64-linux-gnu + run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-gnu - name: upload (release-fast) run: ./dev/upload-release.sh env: @@ -83,7 +83,7 @@ jobs: - name: Clone mach-glfw run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw - name: install (release-fast) - run: zig build install -Drelease-fast=true -Dtarget=x86_64-linux-musl + run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-linux-musl - name: upload (release-fast) run: ./dev/upload-release.sh env: @@ -125,7 +125,7 @@ jobs: - name: Clone mach-glfw run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw - name: install (release-fast) - run: zig build install -Drelease-fast=true -Dtarget=aarch64-linux-gnu + run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-linux-gnu - name: upload (release-fast) run: ./dev/upload-release.sh env: @@ -167,7 +167,7 @@ jobs: - name: Clone mach-glfw run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw - name: install (release-fast) - run: zig build install -Drelease-fast=true -Dtarget=aarch64-linux-musl + run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-linux-musl - name: upload (release-fast) run: ./dev/upload-release.sh env: @@ -217,7 +217,7 @@ jobs: - name: Clone mach-glfw run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw - name: install (release-fast) - run: zig build install -Dtarget=x86_64-windows-gnu -Drelease-fast=true + run: zig build install -Dtarget=x86_64-windows-gnu -Doptimize=ReleaseFast - name: upload (release-fast) run: ./dev/upload-release.sh shell: bash @@ -265,7 +265,7 @@ jobs: - name: Clone mach-glfw run: rm libs/mach-glfw && git clone https://github.com/hexops/mach-glfw libs/mach-glfw - name: install (release-fast) - run: zig build install -Drelease-fast=true -Dtarget=x86_64-macos.12-none + run: zig build install -Doptimize=ReleaseFast -Dtarget=x86_64-macos.12-none env: AGREE: true - name: upload (release-fast) diff --git a/libs/gpu-dawn/.github/workflows/m1_ci.yml b/libs/gpu-dawn/.github/workflows/m1_ci.yml index 9b90d671..3ab5adf5 100644 --- a/libs/gpu-dawn/.github/workflows/m1_ci.yml +++ b/libs/gpu-dawn/.github/workflows/m1_ci.yml @@ -30,7 +30,7 @@ jobs: RELEASE_NAME: aarch64-macos-none_debug GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: install (release-fast) - run: zig build install -Drelease-fast=true -Dtarget=aarch64-macos.12-none + run: zig build install -Doptimize=ReleaseFast -Dtarget=aarch64-macos.12-none env: AGREE: true - name: upload (release-fast) diff --git a/libs/gpu-dawn/README.md b/libs/gpu-dawn/README.md index eba6e8c0..416b2fe5 100644 --- a/libs/gpu-dawn/README.md +++ b/libs/gpu-dawn/README.md @@ -31,7 +31,7 @@ This will take ~10 minutes to finish (see the 'binary releases' section below.) | Option | Description | |-------------------------------|------------------------------------------------------------| -| `-Drelease-fast=true` | Build a release binary instead of a debug binary (default) | +| `-Doptimize=ReleaseFast` | Build a release binary instead of a debug binary (default) | | `-Dtarget=x86_64-macos.12` | Cross compile to macOS (Intel chipsets) | | `-Dtarget=aarch64-macos.12` | Cross compile to macOS (Apple Silicon) | | `-Dtarget=x86_64-linux-gnu` | Cross compile to x86_64 Linux (glibc) |