diff --git a/pkgs/gpi-2/default.nix b/pkgs/gpi-2/default.nix index 0e5d0d1..0386978 100644 --- a/pkgs/gpi-2/default.nix +++ b/pkgs/gpi-2/default.nix @@ -1,5 +1,6 @@ { stdenv +, symlinkJoin , slurm , rdma-core , autoconf @@ -10,6 +11,13 @@ , gfortran }: +let + rdma-core-all = symlinkJoin { + name ="rdma-core-all"; + paths = [ rdma-core.dev rdma-core.out ]; + }; +in + stdenv.mkDerivation rec { pname = "GPI-2"; version = src.shortRev; @@ -28,14 +36,14 @@ stdenv.mkDerivation rec { ''; configureFlags = [ - "--with-infiniband=${rdma-core}" + "--with-infiniband=${rdma-core-all}" "--with-mpi=${mpi}" "--with-slurm" "CFLAGS=-fPIC" "CXXFLAGS=-fPIC" ]; - buildInputs = [ slurm mpi rdma-core autoconf automake libtool rsync gfortran ]; + buildInputs = [ slurm mpi rdma-core-all autoconf automake libtool rsync gfortran ]; hardeningDisable = [ "all" ]; }