diff options
author | sternenseemann <sternenseemann@systemli.org> | 2023-07-29 12:35:08 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2023-10-04 20:17:17 +0200 |
commit | 59ee0816630b71989d4f4f5ba88ce199456b5349 (patch) | |
tree | efb0ba8f4a53a6aef2720c2c2d1e78551c47e01b /pkgs/development/compilers/ghc/9.4.3.nix | |
parent | 2d9bfd243a48a125c6b6ee3ffb794e874a723a2d (diff) | |
download | nixpkgs-59ee0816630b71989d4f4f5ba88ce199456b5349.tar nixpkgs-59ee0816630b71989d4f4f5ba88ce199456b5349.tar.gz nixpkgs-59ee0816630b71989d4f4f5ba88ce199456b5349.tar.bz2 nixpkgs-59ee0816630b71989d4f4f5ba88ce199456b5349.tar.lz nixpkgs-59ee0816630b71989d4f4f5ba88ce199456b5349.tar.xz nixpkgs-59ee0816630b71989d4f4f5ba88ce199456b5349.tar.zst nixpkgs-59ee0816630b71989d4f4f5ba88ce199456b5349.zip |
haskell.compiler.*: don't unnecessarily include LLVM for GHC >= 9.2
When 9.2.1 was [released], I apparently was confused by the wording. The NCG (-fasm) codegen backend for aarch64 not only works on aarch64-darwin, but also aarch64-linux. `useLLVM` being enabled on aarch64-linux had no adverse effect, as GHC used -fasm anyways, but it did inflate closure size unnecessarily which we can rectify now. [released]: https://www.haskell.org/ghc/blog/20211029-ghc-9.2.1-released.html
Diffstat (limited to 'pkgs/development/compilers/ghc/9.4.3.nix')
-rw-r--r-- | pkgs/development/compilers/ghc/9.4.3.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/9.4.3.nix b/pkgs/development/compilers/ghc/9.4.3.nix index a2ae0cf400c..87ce19f6605 100644 --- a/pkgs/development/compilers/ghc/9.4.3.nix +++ b/pkgs/development/compilers/ghc/9.4.3.nix @@ -17,7 +17,7 @@ , useLLVM ? !(stdenv.targetPlatform.isx86 || stdenv.targetPlatform.isPower || stdenv.targetPlatform.isSparc - || (stdenv.targetPlatform.isAarch64 && stdenv.targetPlatform.isDarwin)) + || stdenv.targetPlatform.isAarch64) , # LLVM is conceptually a run-time-only dependency, but for # non-x86, we need LLVM to bootstrap later stages, so it becomes a # build-time dependency too. |