summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorPontus Stenetorp <pontus@stenetorp.se>2021-03-13 05:55:49 +0000
committerPontus Stenetorp <pontus@stenetorp.se>2021-04-28 06:55:51 +0000
commita4f2b97a24d5788778eb73d80ca8256cd0d6ff0b (patch)
tree9dadae3744f7903389bfc0c2696620b0049c6a3a /pkgs/development/compilers
parent0f3096d03925f3e17d9f30ccebd78bef71e40b0a (diff)
downloadnixpkgs-a4f2b97a24d5788778eb73d80ca8256cd0d6ff0b.tar
nixpkgs-a4f2b97a24d5788778eb73d80ca8256cd0d6ff0b.tar.gz
nixpkgs-a4f2b97a24d5788778eb73d80ca8256cd0d6ff0b.tar.bz2
nixpkgs-a4f2b97a24d5788778eb73d80ca8256cd0d6ff0b.tar.lz
nixpkgs-a4f2b97a24d5788778eb73d80ca8256cd0d6ff0b.tar.xz
nixpkgs-a4f2b97a24d5788778eb73d80ca8256cd0d6ff0b.tar.zst
nixpkgs-a4f2b97a24d5788778eb73d80ca8256cd0d6ff0b.zip
julia: enable parallel building
Erroneously disabled by 3ae5e6ce03f9dbf3f0a0a3e3161c83e28c1b45af as it
mistook Julia for using CMake (it is used by some of the vendored
dependencies).
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/julia/1.0.nix2
-rw-r--r--pkgs/development/compilers/julia/1.5.nix2
2 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/compilers/julia/1.0.nix b/pkgs/development/compilers/julia/1.0.nix
index 5b1a4674a88..d68f56faf2e 100644
--- a/pkgs/development/compilers/julia/1.0.nix
+++ b/pkgs/development/compilers/julia/1.0.nix
@@ -184,6 +184,8 @@ stdenv.mkDerivation rec {
     export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
   '';
 
+  enableParallelBuilding = true;
+
   postInstall = ''
     # Symlink shared libraries from LD_LIBRARY_PATH into lib/julia,
     # as using a wrapper with LD_LIBRARY_PATH causes segmentation
diff --git a/pkgs/development/compilers/julia/1.5.nix b/pkgs/development/compilers/julia/1.5.nix
index b4c33faa44c..f32c55bf1e2 100644
--- a/pkgs/development/compilers/julia/1.5.nix
+++ b/pkgs/development/compilers/julia/1.5.nix
@@ -129,6 +129,8 @@ stdenv.mkDerivation rec {
     export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}
   '';
 
+  enableParallelBuilding = true;
+
   postInstall = ''
     # Symlink shared libraries from LD_LIBRARY_PATH into lib/julia,
     # as using a wrapper with LD_LIBRARY_PATH causes segmentation