Build TAMPI with ovni support
By default we build TAMPI with ovni support, as it will be disabled in runtime unless explicitly enabled by the TAMPI_INSTRUMENT=ovni environment variable. Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
This commit is contained in:
parent
fec4ddf6ab
commit
2a953d811c
@ -1,5 +1,6 @@
|
||||
{
|
||||
stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, automake
|
||||
, autoconf
|
||||
@ -9,12 +10,18 @@
|
||||
, mpi
|
||||
, gcc
|
||||
, autoreconfHook
|
||||
, enableOvni ? true
|
||||
, ovni ? null
|
||||
, useGit ? false
|
||||
, gitUrl ? "ssh://git@bscpm03.bsc.es/interoperability/tampi.git"
|
||||
, gitBranch ? "master"
|
||||
, gitCommit ? "16f92094ca6da25e2f561c000f5fbc2901944f7b"
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
assert enableOvni -> (ovni != null);
|
||||
|
||||
let
|
||||
release = rec {
|
||||
version = "3.0";
|
||||
@ -48,7 +55,8 @@ in stdenv.mkDerivation rec {
|
||||
boost
|
||||
mpi
|
||||
gcc
|
||||
];
|
||||
] ++ optional (enableOvni) ovni;
|
||||
configureFlags = optional (enableOvni) "--with-ovni=${ovni}";
|
||||
dontDisableStatic = true;
|
||||
hardeningDisable = [ "all" ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user