Compare commits
	
		
			2 Commits
		
	
	
		
			89442e6af8
			...
			a17ad0417d
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| a17ad0417d | |||
| 13a2b063cc | 
@ -9,7 +9,6 @@
 | 
				
			|||||||
, automake
 | 
					, automake
 | 
				
			||||||
, libtool
 | 
					, libtool
 | 
				
			||||||
, mpi
 | 
					, mpi
 | 
				
			||||||
, rsync
 | 
					 | 
				
			||||||
, gfortran
 | 
					, gfortran
 | 
				
			||||||
}:
 | 
					}:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -44,13 +43,24 @@ stdenv.mkDerivation rec {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  configureFlags = [
 | 
					  configureFlags = [
 | 
				
			||||||
    "--with-infiniband=${rdma-core-all}"
 | 
					    "--with-infiniband=${rdma-core-all}"
 | 
				
			||||||
    "--with-mpi=${mpiAll}"
 | 
					    "--with-mpi=yes"
 | 
				
			||||||
    "--with-slurm"
 | 
					    "--with-slurm"
 | 
				
			||||||
    "CFLAGS=-fPIC"
 | 
					    "CFLAGS=-fPIC"
 | 
				
			||||||
    "CXXFLAGS=-fPIC"
 | 
					    "CXXFLAGS=-fPIC"
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  buildInputs = [ slurm mpiAll rdma-core-all autoconf automake libtool rsync gfortran ];
 | 
					  nativeBuildInputs = [
 | 
				
			||||||
 | 
					    autoconf
 | 
				
			||||||
 | 
					    automake
 | 
				
			||||||
 | 
					    gfortran
 | 
				
			||||||
 | 
					    libtool
 | 
				
			||||||
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  buildInputs = [
 | 
				
			||||||
 | 
					    slurm
 | 
				
			||||||
 | 
					    mpiAll
 | 
				
			||||||
 | 
					    rdma-core-all
 | 
				
			||||||
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  hardeningDisable = [ "all" ];
 | 
					  hardeningDisable = [ "all" ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -5,23 +5,14 @@
 | 
				
			|||||||
, automake
 | 
					, automake
 | 
				
			||||||
, autoconf
 | 
					, autoconf
 | 
				
			||||||
, libtool
 | 
					, libtool
 | 
				
			||||||
, mpi
 | 
					 | 
				
			||||||
, autoreconfHook
 | 
					, autoreconfHook
 | 
				
			||||||
, gpi-2
 | 
					, gpi-2
 | 
				
			||||||
, boost
 | 
					, boost
 | 
				
			||||||
, numactl
 | 
					, numactl
 | 
				
			||||||
, rdma-core
 | 
					, rdma-core
 | 
				
			||||||
, gfortran
 | 
					, gfortran
 | 
				
			||||||
, symlinkJoin
 | 
					 | 
				
			||||||
}:
 | 
					}:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
let
 | 
					 | 
				
			||||||
  mpiAll = symlinkJoin {
 | 
					 | 
				
			||||||
    name = "mpi-all";
 | 
					 | 
				
			||||||
    paths = [ mpi.all ];
 | 
					 | 
				
			||||||
  };
 | 
					 | 
				
			||||||
in
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
stdenv.mkDerivation rec {
 | 
					stdenv.mkDerivation rec {
 | 
				
			||||||
  pname = "tagaspi";
 | 
					  pname = "tagaspi";
 | 
				
			||||||
  enableParallelBuilding = true;
 | 
					  enableParallelBuilding = true;
 | 
				
			||||||
@ -35,16 +26,18 @@ stdenv.mkDerivation rec {
 | 
				
			|||||||
    hash = "sha256-RGG/Re2uM293HduZfGzKUWioDtwnSYYdfeG9pVrX9EM=";
 | 
					    hash = "sha256-RGG/Re2uM293HduZfGzKUWioDtwnSYYdfeG9pVrX9EM=";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  buildInputs = [
 | 
					  nativeBuildInputs = [
 | 
				
			||||||
    autoreconfHook
 | 
					    autoreconfHook
 | 
				
			||||||
    automake
 | 
					    automake
 | 
				
			||||||
    autoconf
 | 
					    autoconf
 | 
				
			||||||
    libtool
 | 
					    libtool
 | 
				
			||||||
 | 
					    gfortran
 | 
				
			||||||
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  buildInputs = [
 | 
				
			||||||
    boost
 | 
					    boost
 | 
				
			||||||
    numactl
 | 
					    numactl
 | 
				
			||||||
    rdma-core
 | 
					    rdma-core
 | 
				
			||||||
    gfortran
 | 
					 | 
				
			||||||
    mpiAll
 | 
					 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  dontDisableStatic = true;
 | 
					  dontDisableStatic = true;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user