Merge pull request #258191 from markuskowa/split-elpa
elpa: split outputs and enable parallel builds
This commit is contained in:
commit
a0db6b6b13
|
@ -41,6 +41,8 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace Makefile.am --replace '#!/bin/bash' '#!${stdenv.shell}'
|
||||
'';
|
||||
|
||||
outputs = [ "out" "doc" "man" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook perl ];
|
||||
|
||||
buildInputs = [ mpi blas lapack scalapack ]
|
||||
|
@ -74,6 +76,8 @@ stdenv.mkDerivation rec {
|
|||
++ lib.optional stdenv.hostPlatform.isx86_64 "--enable-sse-assembly"
|
||||
++ lib.optionals enableCuda [ "--enable-nvidia-gpu" "--with-NVIDIA-GPU-compute-capability=${nvidiaArch}" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
nativeCheckInputs = [ mpiCheckPhaseHook openssh ];
|
||||
|
|
Loading…
Reference in a new issue