Merge bscpkgs into jungle #189

Manually merged
rarias merged 1013 commits from merge-bscpkgs into master 2025-10-07 16:12:34 +02:00
Showing only changes of commit 932d273ec7 - Show all commits

View File

@@ -9,6 +9,7 @@
, which
, elfutils
, libffi
, zlib
, pkg-config
, enableDebug ? false
}:
@@ -34,6 +35,8 @@ stdenv.mkDerivation rec {
isClangWithOmpss = true;
nativeBuildInputs = [ zlib ];
buildInputs = [
which
bash
@@ -44,6 +47,7 @@ stdenv.mkDerivation rec {
elfutils
libffi
pkg-config
zlib
];
# Error with -D_FORTIFY_SOURCE=2, see https://bugs.gentoo.org/636604:
@@ -71,7 +75,15 @@ stdenv.mkDerivation rec {
"-DLLVM_ENABLE_ASSERTIONS=${enableAssertions}"
"-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON"
"-DCMAKE_INSTALL_BINDIR=bin"
"-DLLVM_ENABLE_ZLIB=FORCE_ON"
"-DLLVM_ENABLE_LIBXML2=OFF"
)
'';
# Workaround the problem with llvm-tblgen and missing zlib.so.1
preBuild = ''
export LD_LIBRARY_PATH=${zlib}/lib
'';
# Remove support for GNU and Intel Openmp