Guillaume Wenzek
00a0af4a55
zig 0.17 (second attempt) ( #923 )
...
Bump for zig 0.17
Deps:
- uucode bumped to
1fb73433bb
- zigimg bumped to
734fa919fb
- libvaxis bumped to
14b7684272
- zio bumped to:
417757935e
- rules_zig upgraded to [version
0.17](https://github.com/hermeticbuild/rules_zig/releases/tag/v0.17.0 )
- zls is using a commit from master, but they don't have yet a tagged
release so Codex did a bit of packaging. I confirmed it correctly
autocompletes on my machine
2026-10-13 17:11:38 +02:00
Guillaume Wenzek
303ff3e6a4
Revert "zig 0.17 ( #693 )" ( #909 )
...
This reverts commit 5a18757368 .
Our internal repos has a few zig patches, I need to also upgrade them
before we ugprade ZML
2026-10-07 11:34:51 +02:00
Guillaume Wenzek
5a18757368
zig 0.17 ( #693 )
...
Bump for zig 0.17
Deps:
- uucode bumped to
1fb73433bb
- zio bumped to:
417757935e
- rules_zig upgraded to [version
0.17](https://github.com/hermeticbuild/rules_zig/releases/tag/v0.17.0 )
There is one Codex generated patch:
- zigimg: minor fixes to allow zig 0.17 to compile it, until they
officially support
2026-10-07 11:08:06 +02:00
Steeve Morin
9b7d8fb58c
bazel: rework zig_options to be config_settting compatible
...
zig_option can now take a `flag` dependency to expose existing flags or
`bool`, `int or `string` for config_setting flags
2026-09-24 22:21:44 +02:00
Damien Mehala
90f914ad07
platforms/cuda: use info level instead of warn ( #827 )
2026-09-24 17:57:54 +02:00
Steeve Morin
df3a43d29f
bazel: add zig_options rule ( #820 )
...
Introduce `zig_option` and `zig_options` rules to generate the bazel
equivalent of option modules plugged on bazel flags.
On `string` flags, if the flag has a `allowed_values`, the `string` is
converted into a `enum` in zig code.
Also, port platforms to this and remove the ugly `defines` hack to
comptime test for platforms enablement.
In the process, port `arocc` to the `zig_options`.
2026-09-16 21:50:22 +02:00
Hugo Mano
0ebb0c21a9
platforms: bump plugins for CPU, ROCm, CUDA and Metal ( #788 )
2026-09-10 14:34:40 +00:00
Corentin Kerisit
241aaf7d3b
platforms/cuda: add arm64 support ( #493 )
...
Co-authored-by: Steeve Morin <steeve@zml.ai>
2026-04-22 12:37:48 +02:00
Steeve Morin
e17da6892f
platforms/cuda: probe cuda-compat via an external binary
...
Detect CUDA Compat by spawning a probe binary that will try
to initialize it. If it succeeds, the main binary can use it
too.
2026-03-07 10:53:14 +00:00
Steeve Morin
54c2153389
platforms/cuda: enable cuda-compat only on supported GPUs
...
It turns out it's only supported on enterprise GPUs.
The trick is to set a soname on the compat/libcuda.so.1 and preload
it so that later resolution uses this one.
See
https://docs.nvidia.com/deploy/cuda-compatibility/forward-compatibility.html
2026-03-06 23:05:52 +00:00
Steeve Morin
0fda597649
platforms/cuda: add WSL support
2026-03-06 21:00:30 +00:00
Steeve Morin
d511605d5b
platforms: port to zig 0.16.0-dev.2611+f996d2866
2026-02-16 13:45:51 +00:00
Steeve Morin
1b644887b7
bazel,platforms: centralize runfiles loading
...
runfiles are process-wide in space and time.
so it makes sense to keep them around
because they are bound to the process, we use the smp_allocator and
except the memory to be kept around during the lifetime of the process.
2026-01-19 18:14:06 +01:00
Steeve Morin
21a7c5fec8
platforms: pass allocator to load
2026-01-19 17:41:57 +01:00
Steeve Morin
9e2c09066b
runtimes: rename to platforms
2026-01-19 17:41:38 +01:00