diff options
author | Joe Hermaszewski <git@monoid.al> | 2021-08-24 12:22:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 12:22:46 +0800 |
commit | eeab902e1ae4ea9df2c432f9864775e866e585cd (patch) | |
tree | 5a2c5dc1334fe8ad5c930557b765f33152b3bff4 | |
parent | 73cb916725821e3260799bbbce8da068efba21fe (diff) | |
parent | b4f66903e3d55fd32061b790ad3080b0c963a5fb (diff) | |
download | nixpkgs-eeab902e1ae4ea9df2c432f9864775e866e585cd.tar nixpkgs-eeab902e1ae4ea9df2c432f9864775e866e585cd.tar.gz nixpkgs-eeab902e1ae4ea9df2c432f9864775e866e585cd.tar.bz2 nixpkgs-eeab902e1ae4ea9df2c432f9864775e866e585cd.tar.lz nixpkgs-eeab902e1ae4ea9df2c432f9864775e866e585cd.tar.xz nixpkgs-eeab902e1ae4ea9df2c432f9864775e866e585cd.tar.zst nixpkgs-eeab902e1ae4ea9df2c432f9864775e866e585cd.zip |
Merge pull request #135483 from sternenseemann/ghc-big-parallel
haskell.compiler.*: make big-parallel
-rw-r--r-- | pkgs/development/compilers/ghc/8.10.6.nix | 4 | ||||
-rw-r--r-- | pkgs/development/compilers/ghc/8.8.4.nix | 4 | ||||
-rw-r--r-- | pkgs/development/compilers/ghc/9.0.1.nix | 4 | ||||
-rw-r--r-- | pkgs/development/compilers/ghc/9.2.1.nix | 4 | ||||
-rw-r--r-- | pkgs/development/compilers/ghc/head.nix | 4 |
5 files changed, 20 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/8.10.6.nix b/pkgs/development/compilers/ghc/8.10.6.nix index 859c23a796b..748116afb10 100644 --- a/pkgs/development/compilers/ghc/8.10.6.nix +++ b/pkgs/development/compilers/ghc/8.10.6.nix @@ -281,6 +281,10 @@ stdenv.mkDerivation (rec { # * https://gitlab.haskell.org/ghc/ghc/-/issues/19580 ++ lib.optional stdenv.targetPlatform.isMusl "pie"; + # big-parallel allows us to build with more than 2 cores on + # Hydra which already warrants a significant speedup + requiredSystemFeatures = [ "big-parallel" ]; + postInstall = '' # Install the bash completion file. install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc diff --git a/pkgs/development/compilers/ghc/8.8.4.nix b/pkgs/development/compilers/ghc/8.8.4.nix index 66862fca731..bb47b1daee4 100644 --- a/pkgs/development/compilers/ghc/8.8.4.nix +++ b/pkgs/development/compilers/ghc/8.8.4.nix @@ -291,6 +291,10 @@ stdenv.mkDerivation (rec { # * https://gitlab.haskell.org/ghc/ghc/-/issues/19580 ++ lib.optional stdenv.targetPlatform.isMusl "pie"; + # big-parallel allows us to build with more than 2 cores on + # Hydra which already warrants a significant speedup + requiredSystemFeatures = [ "big-parallel" ]; + postInstall = '' # Install the bash completion file. install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc diff --git a/pkgs/development/compilers/ghc/9.0.1.nix b/pkgs/development/compilers/ghc/9.0.1.nix index bf94fc3c4d0..c2cc1358e82 100644 --- a/pkgs/development/compilers/ghc/9.0.1.nix +++ b/pkgs/development/compilers/ghc/9.0.1.nix @@ -268,6 +268,10 @@ stdenv.mkDerivation (rec { # * https://gitlab.haskell.org/ghc/ghc/-/issues/19580 ++ lib.optional stdenv.targetPlatform.isMusl "pie"; + # big-parallel allows us to build with more than 2 cores on + # Hydra which already warrants a significant speedup + requiredSystemFeatures = [ "big-parallel" ]; + postInstall = '' # Install the bash completion file. install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc diff --git a/pkgs/development/compilers/ghc/9.2.1.nix b/pkgs/development/compilers/ghc/9.2.1.nix index c77fde7f06e..46bacd5df1a 100644 --- a/pkgs/development/compilers/ghc/9.2.1.nix +++ b/pkgs/development/compilers/ghc/9.2.1.nix @@ -268,6 +268,10 @@ stdenv.mkDerivation (rec { # * https://gitlab.haskell.org/ghc/ghc/-/issues/19580 ++ lib.optional stdenv.targetPlatform.isMusl "pie"; + # big-parallel allows us to build with more than 2 cores on + # Hydra which already warrants a significant speedup + requiredSystemFeatures = [ "big-parallel" ]; + postInstall = '' # Install the bash completion file. install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix index 6b7d7c21e49..6eefc067d6e 100644 --- a/pkgs/development/compilers/ghc/head.nix +++ b/pkgs/development/compilers/ghc/head.nix @@ -285,6 +285,10 @@ stdenv.mkDerivation (rec { # * https://gitlab.haskell.org/ghc/ghc/-/issues/19580 ++ lib.optional stdenv.targetPlatform.isMusl "pie"; + # big-parallel allows us to build with more than 2 cores on + # Hydra which already warrants a significant speedup + requiredSystemFeatures = [ "big-parallel" ]; + postInstall = '' # Install the bash completion file. install -D -m 444 utils/completion/ghc.bash $out/share/bash-completion/completions/${targetPrefix}ghc |