forked from rarias/bscpkgs
Merge outputs of MPI in a single directory
Some MPI implementations now have their headers in the dev output as well as the mpicc wrappers. Reviewed-by: Aleix Boné <abonerib@bsc.es>
This commit is contained in:
@@ -3,8 +3,16 @@
|
||||
, fetchurl
|
||||
, mpi
|
||||
, lib
|
||||
, symlinkJoin
|
||||
}:
|
||||
|
||||
let
|
||||
mpiAll = symlinkJoin {
|
||||
name = "mpi-all";
|
||||
paths = [ mpi.all ];
|
||||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "7.1-1";
|
||||
name = "osu-micro-benchmarks-${version}";
|
||||
@@ -16,11 +24,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = true;
|
||||
enableParallelBuilding = true;
|
||||
buildInputs = [ mpi ];
|
||||
buildInputs = [ mpiAll ];
|
||||
hardeningDisable = [ "all" ];
|
||||
configureFlags = [
|
||||
"CC=${mpi}/bin/mpicc"
|
||||
"CXX=${mpi}/bin/mpicxx"
|
||||
"CC=mpicc"
|
||||
"CXX=mpicxx"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
|
||||
Reference in New Issue
Block a user