Compare commits
2 Commits
0cb908d0e5
...
22e66259f4
| Author | SHA1 | Date | |
|---|---|---|---|
| 22e66259f4 | |||
| b4f567474b |
@ -13,8 +13,6 @@
|
||||
, useMpi ? (stdenv.buildPlatform.canExecute stdenv.hostPlatform)
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
release = rec {
|
||||
version = "1.12.0";
|
||||
@ -45,7 +43,7 @@ in
|
||||
postPatch = ''
|
||||
patchShebangs --build test/
|
||||
'';
|
||||
nativeBuildInputs = [ cmake ];
|
||||
nativeBuildInputs = [ cmake ] ++ lib.optionals (useMpi) [ mpi ];
|
||||
buildInputs = lib.optionals (useMpi) [ mpi ];
|
||||
cmakeBuildType = if (enableDebug) then "Debug" else "Release";
|
||||
cmakeFlags = [
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
, gnumake
|
||||
, boost
|
||||
, mpi
|
||||
, gcc
|
||||
, autoreconfHook
|
||||
, enableOvni ? true
|
||||
, ovni ? null
|
||||
@ -51,7 +50,6 @@ in stdenv.mkDerivation {
|
||||
autoconf
|
||||
automake
|
||||
autoreconfHook
|
||||
gcc
|
||||
gnumake
|
||||
libtool
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user