commit: 044b0969623c0c23f5884a22dfa58b02929b5086 Author: Eric Joldasov <bratishkaerik <AT> getgoogleoff <DOT> me> AuthorDate: Wed Oct 26 19:00:03 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Oct 30 09:39:38 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=044b0969
dev-lang/zig: requires zstd support in LLVM Starting with https://github.com/ziglang/zig/commit/d42a719e8f7ba31a9e18d6be9d58691b0b38c69a Zig requires zstd compression support. Zig requires zstd and zlib compression support in LLVM, if using LLVM backend (non-LLVM backends don't require these). They are not required "on their own", so please don't add them to dependencies. You can check https://github.com/ziglang/zig-bootstrap in future, to see options that are passed to LLVM CMake building (excluding "static" ofc). Signed-off-by: Eric Joldasov <bratishkaerik <AT> getgoogleoff.me> Closes: https://github.com/gentoo/gentoo/pull/27964 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-lang/zig/zig-9999.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-lang/zig/zig-9999.ebuild b/dev-lang/zig/zig-9999.ebuild index cc18f6e8a041..f4f7a100d588 100644 --- a/dev-lang/zig/zig-9999.ebuild +++ b/dev-lang/zig/zig-9999.ebuild @@ -23,11 +23,14 @@ RESTRICT="!test? ( test )" BUILD_DIR="${S}/build" +# Zig requires zstd and zlib compression support in LLVM, if using LLVM backend (non-LLVM backends don't require these). +# They are not required "on their own", so please don't add them here. +# You can check https://github.com/ziglang/zig-bootstrap in future, to see +# options that are passed to LLVM CMake building (excluding "static" ofc). DEPEND=" sys-devel/clang:${LLVM_MAX_SLOT}= sys-devel/lld:${LLVM_MAX_SLOT}= - sys-devel/llvm:${LLVM_MAX_SLOT}= - >=sys-libs/zlib-1.2.12 + sys-devel/llvm:${LLVM_MAX_SLOT}=[zstd] " RDEPEND="
