mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user