build: add -Dall_targets build option to build all known good release targets

Now just plain `--release` will build the release just for the native cpu arch and os.
Adding `-Dall_targets` will build all targets in the known good list.

closes #311
This commit is contained in:
CJ van den Berg 2025-10-02 09:55:35 +02:00
parent b1e5b2f80f
commit 31c03060cf
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 12 additions and 3 deletions

View file

@ -18,7 +18,7 @@ echo running tests...
echo building...
./zig build --release --prefix "$DESTDIR/build"
./zig build -Dall_targets --release --prefix "$DESTDIR/build"
cd "$DESTDIR/build"