diff options
| author | Eric Joldasov <bratishkaerik@landless-city.net> | 2024-05-13 16:21:46 +0500 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-12-15 09:47:05 +0000 |
| commit | e0012940b823476f795f088db4bf2395577df2bb (patch) | |
| tree | 6423dac9813466a8c8c944d0529faa5174a1ee00 /dev-lang/zig/files/zig-0.13.0-skip-test-stack_iterator.patch | |
| parent | 0d8c5dca2e5461b96132e1164b3d4325e61c2657 (diff) | |
| download | gentoo-e0012940b823476f795f088db4bf2395577df2bb.tar.gz gentoo-e0012940b823476f795f088db4bf2395577df2bb.tar.bz2 gentoo-e0012940b823476f795f088db4bf2395577df2bb.zip | |
zig.eclass: new eclass
This eclass is built on top of `zig-utils.eclass` and works with
`zig build` sub-commands and `build.zig` system, here called ZBS or
Zig Build System. By default it adds convenient default dependencies
and phase functions (which can be opt-out by setting `ZIG_OPTIONAL=1`)
that:
* work with dependencies from official package manager,
* configures basic sane options for `zig build`, which can be further
complemented by ebuild authors and users,
* respects user settings for verbosity and jobs number,
* has some basic support for cross-compilation, which works on my PC
with `crossdev` and QEMU-ed Docker container, but it was not tested
on real machine yet.
This is a major step in unifying behaviour and de-duplicating logic
spanning multiple ebuilds (target convertion and jobs amount
in `dev-lang/zig`, different Zig search and build options configuration
in `sys-fs/ncdu` and other ebuilds in community overlays). Mentioned
ebuilds are converted in next commits.
It is recommended to use https://github.com/BratishkaErik/zig-ebuilder
with this eclass to generate base for new ebuilds.
Signed-off-by: Eric Joldasov <bratishkaerik@landless-city.net>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/zig/files/zig-0.13.0-skip-test-stack_iterator.patch')
0 files changed, 0 insertions, 0 deletions
