Commit graph

131 commits

Author SHA1 Message Date
Release automation
fc2c0c0ff8 gpu-dawn: update to latest binary release 2022-03-19 21:37:20 +00:00
Release automation
1428569e66 gpu-dawn: update to latest binary release 2022-03-19 15:19:45 +00:00
Release automation
42b1501ca9 gpu-dawn: update to latest binary release 2022-03-19 15:07:26 +00:00
Release automation
1a2596ecf0 gpu-dawn: update to latest binary release 2022-03-09 03:44:25 +00:00
Stephen Gutekanst
48db9c8d3c gpu-dawn: rely on version for binary release caching, not current commit
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-08 19:42:32 -07:00
Release automation
b35927d054 gpu-dawn: update to latest binary release 2022-03-06 10:03:04 +00:00
Release automation
98e9fe0e0c gpu-dawn: update to latest binary release 2022-03-06 07:46:03 +00:00
Stephen Gutekanst
297f7bf2e5 gpu-dawn: utilize binary releases for x86_64-windows-gnu
Closes hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 23:16:08 -07:00
Stephen Gutekanst
a3cb937966 gpu-dawn: improve ABI build checks
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 22:48:08 -07:00
Release automation
cfa3674db2 gpu-dawn: update to latest binary release 2022-03-06 03:21:12 +00:00
Release automation
d7eebaa645 gpu-dawn: update to latest binary release 2022-03-05 03:24:46 +00:00
Stephen Gutekanst
9db68d421f gpu-dawn: update to latest Dawn + windows patches
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 19:54:06 -07:00
Release automation
796841fd71 gpu-dawn: update to latest binary release 2022-03-05 02:02:56 +00:00
Stephen Gutekanst
1e2c49d14e gpu-dawn: build Dawn & DirectXShaderCompiler for windows
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 18:33:44 -07:00
Release automation
c22909eb88 gpu-dawn: update to latest binary release 2022-03-04 23:46:46 +00:00
Release automation
cd0262fb9e gpu-dawn: update to latest binary release 2022-03-01 02:09:49 +00:00
Stephen Gutekanst
95d33f2eb8 gpu-dawn: use binary releases for musl libc
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-28 18:42:32 -07:00
Release automation
49fc433b8f gpu-dawn: update to latest binary release 2022-02-28 09:55:14 +00:00
Stephen Gutekanst
5b594ce40e gpu-dawn: do not include OS and libc version in download URLs
I'm not sure including the OS and libc version in download URLs makes much sense. It may
be useful to include them as metadata in the future alongside the release, but it seems
better to exclude these from the URL (especially so that others can download them from a
script without fear of them changing for non-Zig consumption.)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-28 02:20:37 -07:00
Stephen Gutekanst
ae56a7127f gpu-dawn: improve error formatting
clearer now:

```
$ zig build run-dawn-example -Dtarget=x86_64-linux
error: gpu-dawn binaries for x86_64-linux.3.16...5.10.81-musl not available.
error: -> open an issue: https://github.com/hexops/mach/issues
error: -> build from source (takes 5-15 minutes):
error:        use -Ddawn-from-source=true or set `Options.from_source = true`
```

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-28 01:29:31 -07:00
Release automation
e9dbc5a92b gpu-dawn: update to latest binary release 2022-02-28 05:52:08 +00:00
Stephen Gutekanst
1b579559e0 gpu-dawn: when using binary release, also use headers from release
With this change, you do not even need to download the generated Dawn repository.
This reduces the download size substantially, as that repository is around 1.2G.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 22:25:52 -07:00
Stephen Gutekanst
5134d4997d gpu-dawn: include headers for external consumers
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 20:55:49 -07:00
Release automation
9852320a0a gpu-dawn: update to latest binary release 2022-02-28 03:15:06 +00:00
Stephen Gutekanst
262422edde gpu-dawn: remove now-unused spirv-cross compilation
Dawn no longer uses spirv-cross for OpenGL backends:

a52abab38c

Hence, we no longer need to compile it.

Helps #124

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 16:48:33 -07:00
Release automation
983edf7c07 gpu-dawn: update to latest binary release 2022-02-27 23:42:22 +00:00
Stephen Gutekanst
f44bb0673e gpu-dawn: remove include that is no longer necessary
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 15:51:56 -07:00
Stephen Gutekanst
805de702ee gpu-dawn: rename -Dfrom-source to -Ddawn-from-source
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 15:51:56 -07:00
Stephen Gutekanst
4860240e4e gpu-dawn: if binaries are unavailable, exit with error
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 15:51:56 -07:00
Release automation
54772dd98c gpu-dawn: update to latest binary release 2022-02-27 22:27:06 +00:00
Release automation
2d30e20afd gpu-dawn: update to latest binary release 2022-02-27 22:18:51 +00:00
Stephen Gutekanst
1de670ef9a gpu-dawn: correct binary target triple we download
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 14:59:17 -07:00
Stephen Gutekanst
4ba7172626 gpu-dawn: explicitly target <arch>-macos.12
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 14:53:53 -07:00
Stephen Gutekanst
00ec15a4b0 gpu-dawn: correct macOS binary availability check
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 14:39:21 -07:00
Stephen Gutekanst
f48a040446 gpu-dawn: log when binaries are not available for clarity
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 14:38:40 -07:00
Release automation
636ce5becd gpu-dawn: update to latest binary release 2022-02-27 21:13:53 +00:00
Stephen Gutekanst
85dbc406ff gpu-dawn: abide by GitHub release filename restrictions
GitHub releases impose [some weird restrictions on uploaded filenames](https://twitter.com/slimsag/status/1498025997987315713),
so we now abide by those.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 13:48:16 -07:00
Release automation
d5682a2cd3 gpu-dawn: update to latest binary release 2022-02-27 07:55:16 +00:00
Release automation
d58c947e23 gpu-dawn: update to latest binary release 2022-02-27 07:49:13 +00:00
Release automation
3897d52e26 gpu-dawn: update to latest binary release 2022-02-27 07:35:30 +00:00
Stephen Gutekanst
b749e23fe2 gpu-dawn: include full target triple in binary releases
Fixes hexops/mach#170

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 00:02:26 -07:00
Stephen Gutekanst
8ce8429cb3 gpu-dawn: correctly build Surface API for X11
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-26 23:34:17 -07:00
Release automation
ef2288309e gpu-dawn: update to latest binary release 2022-02-21 03:51:09 +00:00
Stephen Gutekanst
69b2551378 gpu-dawn: add NO_ENSURE_SUBMODULES=true env var for development
If you're working on changes to source files in `gpu-dawn/libs/dawn/`,
it's annoying to have the build system constantly reset your revision to
the desired one.

`NO_ENSURE_SUBMODULES=true` will now disable this behavior.

Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-20 20:08:42 -07:00
Stephen Gutekanst
1bc6a7e829 gpu-dawn: remove source division workaround
I've fixed the issue in Zig upstream: ziglang/zig#10950

Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-20 20:08:42 -07:00
Stephen Gutekanst
918bc61187 gpu-dawn: clarify desktop_gl support
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-20 20:08:42 -07:00
Stephen Gutekanst
53e85b8dac gpu-dawn: prevent abseil from using pthread on Windows
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-20 20:08:42 -07:00
Release automation
d32cc38a57 gpu-dawn: update to latest binary release 2022-02-18 09:13:36 +00:00
Stephen Gutekanst
19790baf98 gpu-dawn: fix x86_64-linux build
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-18 01:36:37 -07:00
Stephen Gutekanst
83f3f3452e gpu-dawn: update to generated-2022-02-17
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-18 01:36:37 -07:00