Release automation
6bfb16554a
gpu-dawn: update to latest binary release
2022-05-31 18:14:26 +00:00
Stephen Gutekanst
85ce4b22bd
gpu-dawn: update macOS binary check from -gnu to -none ABI
...
Reflecting the breaking change in latest Zig master.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-31 10:28:27 -07:00
Release automation
ee7eca280c
gpu-dawn: update to latest binary release
2022-05-31 12:46:56 +00:00
Stephen Gutekanst
539b643267
CI: rename macos-gnu target -> macos-none
...
Reflecting breaking change in latest version of Zig
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-31 03:24:34 -07:00
Stephen Gutekanst
7ea0d84218
Revert "gpu-dawn: update to latest binary release" (CI broken)
...
This reverts commit c02424c435 .
2022-05-05 12:35:35 -07:00
Release automation
c02424c435
gpu-dawn: update to latest binary release
2022-05-04 19:55:25 +00:00
Lee Cannon
4570838304
Update to latest Zig master (0.10.0-dev.2017+a0a2ce92c) ( #261 )
...
* use `@ceil` instead of `std.math.ceil`
* `ChildProcess.init` does not allocate anymore
* update CI zig version
* examples: temporarily switch to fork of zigimg compatible with zig-master
Commands executed:
```
git submodule set-url -- examples/libs/zigimg https://github.com/slimsag/zigimg
git submodule set-branch --branch zig-master -- examples/libs/zigimg
git submodule update --init --remote examples/libs/zigimg
```
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
Co-authored-by: Stephen Gutekanst <stephen@hexops.com>
2022-05-01 11:44:27 -07:00
Release automation
118a3468ae
gpu-dawn: update to latest binary release
2022-04-22 07:47:44 +00:00
Release automation
538af3e6df
gpu-dawn: update to latest binary release
2022-04-21 11:28:09 +00:00
Stephen Gutekanst
a863bde72f
Revert "gpu-dawn: update to latest binary release"
...
This reverts commit c930f4b913 .
Helps hexops/mach#248
2022-04-21 03:41:49 -07:00
Release automation
c930f4b913
gpu-dawn: update to latest binary release
2022-04-21 07:03:52 +00:00
Release automation
c9ac61c1c4
gpu-dawn: update to latest binary release
2022-04-19 04:26:30 +00:00
Stephen Gutekanst
954a5d3cc0
gpu-dawn: fix compilation on Linux
...
Helps hexops/mach#236
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-18 20:47:23 -07:00
Stephen Gutekanst
a127378b19
gpu-dawn: update Dawn to latest revision as of 2022-04-18
...
Effectively a redo of hexops/mach#231 where I messed up the submodule update by accident.
Updates Dawn to latest revision as of 2022-04-18 c7b7b6def6
* Followed https://github.com/hexops/dawn/tree/main/mach#updating
* The UB issue should now actually get fixed (once CI builds the binary releases.)
* Verified example runs on macOS.
Helps hexops/mach#221
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-18 11:38:32 -07:00
Release automation
3b92e9f2cf
gpu-dawn: update to latest binary release
2022-04-18 07:30:07 +00:00
Release automation
2496b50b16
gpu-dawn: update to latest binary release
2022-04-12 19:48:01 +00:00
Isaac Freund
02e357ab44
build: never use pkg-config to link system libraries ( #217 )
...
Every library we want to link against is either provided by the Zig
toolchain or part of our SDK. Therefore, using pkg-config to link
against libraries on the host system is never what we intend.
To fix this, use linkSystemLibraryName() everywhere instead of
linkSystemLibrary() as the latter integrates with pkg-config while the
former just passes -lfoo to the zig compiler.
In combination with Zig commit 38d6e1d8a8 fixing an std.build bug,
this change fixes the linking of the necessary X11 libraries on my
x86_64 glibc based Void Linux system.
2022-04-12 12:08:30 -07:00
Release automation
6d8e39a247
gpu-dawn: update to latest binary release
2022-04-09 01:14:08 +00:00
Stephen Gutekanst
ea93eea21f
gpu-dawn: use buffered reader (reduce gzip extraction time 76s -> 5.5s)
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-04-08 17:23:12 -07:00
Release automation
5c194cfc07
gpu-dawn: update to latest binary release
2022-04-08 18:45:23 +00:00
Release automation
3d0be5ad53
gpu-dawn: update to latest binary release
2022-03-31 17:58:16 +00:00
Stephen Gutekanst
f321651c62
gpu-dawn: fix bad merge
...
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-31 17:18:08 +00:00
Stephen Gutekanst
a361f807a9
gpu-dawn: fix error when curl is unavailable / not installed
...
Fixes hexops/mach#197
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-31 16:57:40 +00:00
Release automation
263b9708fd
gpu-dawn: update to latest binary release
2022-03-31 01:35:53 +00:00
Mitchell Hashimoto
88ee3bf668
gpu-dawn: build.zig needs to reference thisDir for C file
2022-03-30 17:34:36 -07:00
Stephen Gutekanst
a2f65d5a23
gpu-dawn: error if curl is not installed, less verbose errors
...
Some Linux distro's (e.g. Ubuntu) ship with wget but not curl by default. It's possible
to run into this if you don't use it a lot, e.g. in WSL under Windows - so produce an error
if `curl` is not installed.
Additionally, if the binary download fails, don't throw an entire stack trace to stdout.
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-27 12:53:37 -07:00
Release automation
4d49c673e5
gpu-dawn: update to latest binary release
2022-03-27 06:33:21 +00:00
Stephen Gutekanst
d785e8f2d3
gpu-dawn: make macOS cross compilation errors more helpful
...
Fixes hexops/mach#187
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-26 22:44:55 -07:00
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
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