sci-electronics/circt: add zstd to RDEPEND

The firtool tools link libzstd through LLVM, so declare the runtime
dependency and force the link on to keep it out of automagic territory.

Closes: https://bugs.gentoo.org/977877
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui committed 2026-06-21 23:12:24 +08:00
1 parent 5691f8b2f5
commit 20351d8fe7
1 file changed
+5
@@ -45,6 +45,7 @@ RDEPEND="
dev-python/psutil[${PYTHON_USEDEP}]
sci-electronics/verilator
)
app-arch/zstd:=
sys-libs/ncurses:0=
"
@@ -73,6 +74,10 @@ src_configure() {
-D BUILD_SHARED_LIBS=OFF
-D LLVM_STATIC_LINK_CXX_STDLIB=ON
-D LLVM_ENABLE_ASSERTIONS=ON
# Link zstd deterministically rather than letting cmake autodetect
# it, so the app-arch/zstd RDEPEND always matches. See
# https://bugs.gentoo.org/977877
-D LLVM_ENABLE_ZSTD=FORCE_ON
-D LLVM_BUILD_EXAMPLES=OFF
-D LLVM_ENABLE_BINDINGS=OFF
-D LLVM_ENABLE_OCAMLDOC=OFF