Commit graph

206 commits

Author SHA1 Message Date
Stephen Gutekanst
add120b2a1 gpu-dawn: don't leave binary download cache in bad state if error occurs
Fixes hexops/mach#188

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-26 22:33:56 -07:00
Release automation
d7230d6b5b gpu-dawn: update to latest binary release 2022-03-26 22:10:27 +00:00
Stephen Gutekanst
a44f91448b gpu-dawn: use versioned python command when bundling releases
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-26 14:09:17 -07:00
Stephen Gutekanst
128fc0a444 gpu-dawn: update to Zig 0.10.0-dev.1600+af844931b
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-26 13:31:34 -07:00
Stephen Gutekanst
ed742ec7ca gpu-dawn: CI: use mainline Zig build again for Windows
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-26 13:26:26 -07:00
Release automation
fc2c0c0ff8 gpu-dawn: update to latest binary release 2022-03-19 21:37:20 +00:00
Stephen Gutekanst
7060343f42 gpu-dawn: mention Dawn license is permissive
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-19 13:51:50 -07: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
Stephen Gutekanst
141442d5cb gpu-dawn: README: make note of msvc target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-19 07:18:35 -07:00
Stephen Gutekanst
a521a4707a gpu-dawn: README: various cleanup & polishing
Fixes hexops/mach#178

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-19 07:05:04 -07: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
Stephen Gutekanst
4d7ace26a7 gpu-dawn: CI: uninstall libx11 on x86_64-macos to avoid conflicts
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-06 02:10:21 -07: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
Stephen Gutekanst
28ac8bd844 gpu-dawn: CI: correct Windows PATH for zig.exe
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 19:19:57 -07:00
Stephen Gutekanst
7e93d4f021 gpu-dawn: CI: correct Windows path to zig.exe
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 18:30:54 -07:00
Stephen Gutekanst
813ae21e8f gpu-dawn: CI: Make sure we download files 122x faster on Windows
https://twitter.com/slimsag/status/1500277717291323392

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 18:19:15 -07:00
Stephen Gutekanst
83f1104a0a gpu-dawn: CI: temporarily use patched Windows version of Zig
So that we can produce binary releases for Windows until upstream PR is
merged: https://github.com/hexops/mach/issues/167

Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 18:12:45 -07:00
Stephen Gutekanst
8dfcc8807a gpu-dawn: CI: update to latest Zig master
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 03:05:22 -07:00
Stephen Gutekanst
877779848d gpu-dawn: CI: correctly clone libs/mach-glfw on Windows
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-05 02:51:07 -07:00
Stephen Gutekanst
ab58515b4b gpu-dawn: CI: use actions/checkout@v3 on Windows
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 22:25:37 -07:00
Stephen Gutekanst
50b2c9d705 gpu-dawn: CI: begin producing binaries for x86_64-windows
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 21:43:15 -07:00
Stephen Gutekanst
ba0c0c9354 gpu-dawn: dev: add Windows support for release bundling/upload
Helps hexops/mach#86

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 21:43:15 -07: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
Stephen Gutekanst
dc8ffa9e87 gpu-dawn: correct submodule path
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 16:17:25 -07:00
Stephen Gutekanst
9ac5b603a2 gpu-dawn: add libs/DirectXShaderCompiler submodule / minor fork
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 16:05:47 -07: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
bcbddfeec8 gpu-dawn: CI: build releases for glibc AND musl
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-28 02:27:49 -07: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
a68c73bc68 gpu-dawn: CI: be more explicit about which libc we target
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-28 02:01:20 -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
f607b70c09 gpu-dawn: CI: cleanup between bundle regeneration
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 19:48:29 -07:00
Stephen Gutekanst
79c9b32982 gpu-dawn: CI: correctly upload libdawn
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 19:39:15 -07:00
Stephen Gutekanst
8538c59a48 gpu-dawn: CI: note Zig version used to produce binary
Fixes hexops/mach#172

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 19:31:51 -07:00
Stephen Gutekanst
028b7d8034 gpu-dawn: CI: upload headers.json + tarball
Fixes hexops/mach#171
Helps hexops/mach#109

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-27 19:29:58 -07:00