build-styles: add zig-build

We call this "zig-build" instead of just "zig" as this build-style
relies on usage of the zig build system. In the future, other build
systems such as meson may support zig code. Furthermore, the zig
build system may be used to build C/C++ code as well, not just zig.
This commit is contained in:
Isaac Freund 2021-11-11 11:24:26 +01:00 committed by Érico Nogueira Rolim
parent c9e79da765
commit 020e1aa54b
46 changed files with 133 additions and 0 deletions

View file

@ -998,6 +998,10 @@ configure arguments can be specified via `cross_*_configure_args` where `*` is `
additionally passed to both early and final `gcc`. You can also specify custom `CFLAGS`
and `LDFLAGS` for the libc as `cross_(glibc|musl)_(cflags|ldflags)`.
- `zig-build` For packages using [Zig](https://ziglang.org)'s build
system. Additional arguments may be passed to the `zig build` invocation using
`configure_args`.
For packages that use the Python module build method (`setup.py` or
[PEP 517](https://www.python.org/dev/peps/pep-0517/)), you can choose one of the following: