From 9f245946d730f0072583c8418c506255d86650d1 Mon Sep 17 00:00:00 2001 From: Aleix Roca Nonell Date: Tue, 31 Oct 2023 10:36:16 +0100 Subject: [PATCH] Build NODES with clang dependency if tests enabled Reviewed-By: Rodrigo Arias Mallo --- pkgs/nodes/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/nodes/default.nix b/pkgs/nodes/default.nix index a109301..f75818f 100644 --- a/pkgs/nodes/default.nix +++ b/pkgs/nodes/default.nix @@ -15,6 +15,7 @@ , jemalloc , ovni , nosv +, clangOmpss2 , useGit ? false , gitUrl ? "ssh://git@gitlab-internal.bsc.es/nos-v/nodes.git" , gitBranch ? "master" @@ -56,6 +57,13 @@ in "--with-jemalloc=${jemalloc}" "--with-nosv=${nosv}" "--with-ovni=${ovni}" + ] ++ lib.optionals doCheck [ + "--with-nodes-clang=${clangOmpss2}" + ]; + + doCheck = false; + nativeCheckInputs = [ + clangOmpss2 ]; # The "bindnow" flags are incompatible with ifunc resolution mechanism. We