Build NODES with clang dependency if tests enabled

Reviewed-By: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
Aleix Roca Nonell 2023-10-31 10:36:16 +01:00 committed by Rodrigo Arias Mallo
parent 51e331a9d9
commit 9f245946d7

View File

@ -15,6 +15,7 @@
, jemalloc , jemalloc
, ovni , ovni
, nosv , nosv
, clangOmpss2
, useGit ? false , useGit ? false
, gitUrl ? "ssh://git@gitlab-internal.bsc.es/nos-v/nodes.git" , gitUrl ? "ssh://git@gitlab-internal.bsc.es/nos-v/nodes.git"
, gitBranch ? "master" , gitBranch ? "master"
@ -56,6 +57,13 @@ in
"--with-jemalloc=${jemalloc}" "--with-jemalloc=${jemalloc}"
"--with-nosv=${nosv}" "--with-nosv=${nosv}"
"--with-ovni=${ovni}" "--with-ovni=${ovni}"
] ++ lib.optionals doCheck [
"--with-nodes-clang=${clangOmpss2}"
];
doCheck = false;
nativeCheckInputs = [
clangOmpss2
]; ];
# The "bindnow" flags are incompatible with ifunc resolution mechanism. We # The "bindnow" flags are incompatible with ifunc resolution mechanism. We