Merge pull request #258191 from markuskowa/split-elpa

elpa: split outputs and enable parallel builds

authored by

Fabián Heredia Montiel and committed by
GitHub
a0db6b6b 27398bd1

+4
+4
pkgs/development/libraries/elpa/default.nix
··· 41 substituteInPlace Makefile.am --replace '#!/bin/bash' '#!${stdenv.shell}' 42 ''; 43 44 nativeBuildInputs = [ autoreconfHook perl ]; 45 46 buildInputs = [ mpi blas lapack scalapack ] ··· 73 ++ lib.optional (!stdenv.hostPlatform.isx86_64) "--disable-sse-assembly" 74 ++ lib.optional stdenv.hostPlatform.isx86_64 "--enable-sse-assembly" 75 ++ lib.optionals enableCuda [ "--enable-nvidia-gpu" "--with-NVIDIA-GPU-compute-capability=${nvidiaArch}" ]; 76 77 doCheck = true; 78
··· 41 substituteInPlace Makefile.am --replace '#!/bin/bash' '#!${stdenv.shell}' 42 ''; 43 44 + outputs = [ "out" "doc" "man" "dev" ]; 45 + 46 nativeBuildInputs = [ autoreconfHook perl ]; 47 48 buildInputs = [ mpi blas lapack scalapack ] ··· 75 ++ lib.optional (!stdenv.hostPlatform.isx86_64) "--disable-sse-assembly" 76 ++ lib.optional stdenv.hostPlatform.isx86_64 "--enable-sse-assembly" 77 ++ lib.optionals enableCuda [ "--enable-nvidia-gpu" "--with-NVIDIA-GPU-compute-capability=${nvidiaArch}" ]; 78 + 79 + enableParallelBuilding = true; 80 81 doCheck = true; 82