Commit graph

47 commits

Author SHA1 Message Date
Release automation
db9a929940 gpu-dawn: update to latest binary release 2022-12-25 21:18:50 +00:00
Ali Chraghi
5849304fba all: update zig version 2022-12-25 13:36:03 -07:00
Stephen Gutekanst
997f38bd0c Revert "gpu-dawn: update to latest binary release"
This reverts commit c3e05651bd.

Our M1 runner is not active right now due to the work going on with
Wrench, so this gpu-dawn version is missing macos-aarch64 builds at
the moment.
2022-12-22 11:01:46 -07:00
Release automation
c3e05651bd gpu-dawn: update to latest binary release 2022-12-19 02:03:53 +00:00
Ali Chraghi
3b162fdd7c all: update zig version 2022-12-18 18:02:31 -07:00
Release automation
864b376d97 gpu-dawn: update to latest binary release 2022-10-28 17:59:03 +00:00
Stephen Gutekanst
ac22ca4d97 gpu-dawn: fix build instructions
`-Ddawn-from-source=true` was removed as an option when building gpu-dawn
in specific, since after all the project exists only to build Dawn from source.

Other projects (like `mach/gpu`, the WebGPU Zig bindings) of course still continue
to respect `-Ddawn-from-source=true`.

Originally reported as an issue [in Matrix](https://matrix.to/#/!bIJeTLtOHucXQpqIcH:matrix.org/$IiqVW7rz75Du15sNGFGQiDWGqC-MboJUBv8w0XWb828?via=matrix.org&via=mozilla.org&via=pythons.space).

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-28 10:19:51 -07:00
Release automation
2d50c9b648 gpu-dawn: update to latest binary release 2022-10-28 00:51:45 +00:00
Ali Chraghi
5a851a2a28 system_sdk: better target check 2022-10-27 16:50:30 -07:00
Release automation
219f4de460 gpu-dawn: update to latest binary release 2022-10-22 17:00:22 +00:00
Stephen Gutekanst
628387764c all: CI: update to latest Zig master version
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-22 09:11:16 -07:00
Release automation
934590e48a gpu-dawn: update to latest binary release 2022-10-22 15:23:05 +00:00
Stephen Gutekanst
fbdabee863 {dev,libs}: update linter for standard project files generation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-22 07:44:31 -07:00
Release automation
4ff4da0790 gpu-dawn: update to latest binary release 2022-10-21 00:07:09 +00:00
Ali Chraghi
06ff56b36e gpu-dawn: strip debug info for release builds 2022-10-20 16:05:42 -07:00
Release automation
d7d0aa116c gpu-dawn: update to latest binary release 2022-10-18 19:33:45 +00:00
Stephen Gutekanst
802b7cd6b0 gpu-dawn: do not build webgpu.h Dawn symbols in by default
Helps hexops/mach#580

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-18 09:40:25 -07:00
Release automation
1abf5d6c45 gpu-dawn: update to latest binary release 2022-10-17 13:50:58 +00:00
Stephen Gutekanst
d9efca0317 gpu-dawn: do not build webgpu.h symbols in by default
Helps hexops/mach#580

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-17 05:57:34 -07:00
Release automation
1cbef1f7e1 gpu-dawn: update to latest binary release 2022-10-16 16:28:47 +00:00
Stephen Gutekanst
5516060bb0 gpu-dawn: correct cloning of dawn sources
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-16 08:52:00 -07:00
Stephen Gutekanst
dfb62015f6 gpu-dawn: kick out large submodules from tree
This is a much simpler solution for solving hexops/mach#584

1. We continue using submodules everywhere (at least in the Mach codebase.)
2. `dawn` and `DirectXShaderCompiler` (the only two unwiedly submodules that are not needed by default since we use binary builds) are kicked out of the tree.
3. If you specify `-Ddawn-from-source=true`, `zig build` handles cloning those dependencies for you (using `git clone`, not as submodules.)

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-16 08:30:19 -07:00
Stephen Gutekanst
11df0e286b gpu-dawn: correct fmt of binary_version updates
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-16 08:30:19 -07:00
Release automation
d1601fd4ca gpu-dawn: update to latest binary release 2022-10-15 15:10:37 +00:00
Stephen Gutekanst
9cfefbbff2 gpu-dawn: CI: fix automatic version updates
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-15 07:33:45 -07:00
Stephen Gutekanst
c3ab13e7d9 gpu-dawn: CI: update action to use env files
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-15 07:29:40 -07:00
Stephen Gutekanst
373c55894f {dev,gpu-dawn}: add yamlfmt to ci-lint.sh
Fixes hexops/mach#430

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-15 04:04:57 -07:00
Stephen Gutekanst
2c65845aed all: CI: update to latest Zig 0.10.0-dev.4333+f5f28e0d2
Produced via:

```
ZIG_VERSION=0.10.0-dev.4333+f5f28e0d2 ./dev/update-zig.sh
```

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-10-14 09:00:45 -07:00
Ali Chraghi
82e10f4f28
all: build: thisDir improvements (#570)
* build:all: thisDir improvements

more performant output, usage code reducement and compileError for wrong usage

* glfw: update deprecated code
2022-09-29 08:41:46 -07:00
Ali Chraghi
fcb82345d4
all: build: organize build files and reduce unreachables (#567) 2022-09-25 10:02:51 -07:00
Stephen Gutekanst
02ab8f964a
gpu-dawn: CI: correct release publishing 2022-09-20 21:53:01 -07:00
Ali Chraghi
9f6c4bf7b1 build: fix compilation errors
this should make linux CI green
2022-09-20 02:30:45 -07:00
Ali Chraghi
f3109b365c all: update zig version 2022-09-19 20:11:55 -07:00
Cai Bingjun
308d413f09 gpu-dawn: add mirror support for headers.json.gz 2022-09-17 20:22:32 -07:00
Stephen Gutekanst
5e8ab95a74 {gpu-dawn,docs}: add MACH_GITHUB_BASE_URL for using GitHub mirror sites
Users in the Chinese mainland find download speeds are too slow and need
an option to use GitHub download mirroring sites like fastgit.org, this
makes it possible to configure that using an environment variable.

See the documentation for more details.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-09-17 08:49:26 -07:00
Stephen Gutekanst
98d929611c gpu-dawn: add CURL_INSECURE=true option to workaround windows SSL issues
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-09-12 20:45:24 -07:00
Stephen Gutekanst
b282641300 all: update to latest Zig nightly version
Performed via:

```sh
VERSION=0.10.0-dev.3952+9e070b653 ./dev/update-zig.sh
```

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-09-10 02:16:05 +00:00
praschke
125aeff7f1 gpu-dawn: default to release version of Dawn 2022-09-06 20:54:22 -07:00
Ali Chraghi
2b533f7763 {gpu, gpu-dawn}: update to latest zig 2022-09-02 09:42:48 -07:00
Ali Chraghi
701f872ecb gpu-dawn:ci: remove dawn-from-source option from builds 2022-08-29 05:59:52 -07:00
LordMZTE
adfec5c930 gpu-dawn:build: fix incorrect capitalization 2022-08-28 13:53:21 -07:00
Ali Chraghi
9e1b04770a gpu-dawn:build: remove dawn-from-source option and build from source
by default
2022-08-28 10:45:09 -07:00
Ali Chraghi
47bdb5ea03 build: don't install libs, fix glfw shared lib compilation,
standardilize `buildXXX` funcs
2022-08-28 10:45:09 -07:00
Ali Chraghi
a0973af030 build: replace depracted functions 2022-08-27 11:12:07 -07:00
Ali Chraghi
b9e00fdbb6 build: fix memory leaks 2022-08-27 11:05:36 -07:00
Stephen Gutekanst
3011ed0ea4 all: update pull request template to reflect new libs/ dir
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-26 15:12:04 -07:00
Stephen Gutekanst
0645429df9 all: move standalone libraries to libs/ subdirectory
The root dir of our repository has grown quite a lot the past few months.

I'd like to make it more clear where the bulk of the engine lives (`src/`) and
also make it more clear which Mach libraries are consumable as standalone projects.

As for the name of this directory, `libs` was my first choice but there's a bit of
a convention of that being external libraries in Zig projects _today_, while these
are libraries maintained as part of Mach in this repository - not external ones.

We will name this directory `libs`, and if we have a need for external libraries
we will use `external` or `deps` for that directory name. I considered other names
such as `components`, `systems`, `modules` (which are bad as they overlap with
major ECS / engine concepts), and it seems likely the official Zig package manager
will break the convention of using a `libs` dir anyway.

Performed via:

```sh
mkdir libs/
git mv freetype libs/
git mv basisu libs/
git mv gamemode libs/
git mv glfw libs/
git mv gpu libs/
git mv gpu-dawn libs/
git mv sysaudio libs/
git mv sysjs libs/
git mv ecs libs/
```

git-subtree-dir: glfw
git-subtree-mainline: 0d5b853443
git-subtree-split: 572d1144f11b353abdb64fff828b25a4f0fbb7ca

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>

git mv ecs libs/

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-08-26 15:12:04 -07:00