diff options
author | sternenseemann <sternenseemann@systemli.org> | 2023-06-24 11:35:23 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2023-07-04 15:29:40 +0200 |
commit | 8aeb0de93dd371d4e578f1d4e21c4ddf8a8460e0 (patch) | |
tree | 24e3761a0f938487b69be7417fc952d530dd506c /pkgs/development/haskell-modules/generic-builder.nix | |
parent | 580181157de59194e8e3b4b5551dc7b660e5284d (diff) | |
download | nixpkgs-8aeb0de93dd371d4e578f1d4e21c4ddf8a8460e0.tar nixpkgs-8aeb0de93dd371d4e578f1d4e21c4ddf8a8460e0.tar.gz nixpkgs-8aeb0de93dd371d4e578f1d4e21c4ddf8a8460e0.tar.bz2 nixpkgs-8aeb0de93dd371d4e578f1d4e21c4ddf8a8460e0.tar.lz nixpkgs-8aeb0de93dd371d4e578f1d4e21c4ddf8a8460e0.tar.xz nixpkgs-8aeb0de93dd371d4e578f1d4e21c4ddf8a8460e0.tar.zst nixpkgs-8aeb0de93dd371d4e578f1d4e21c4ddf8a8460e0.zip |
haskell: re-enable profiling on aarch64
The main problem was GHC exceeding the Hydra output limit with profiling libs on aarch64-linux which made us disable the feature. Nowadays the limit is 3GB, the GHC output is a bit over 2GB, so easily under the limit. aarch64-darwin uses a different codegen backend and was never really affected by the problem: Its output with profiling enabled is around 1.6GB. Consequently we can enable profiling for all platforms again, as we have no output size issues for those we build on Hydra. Thanks to flokli for helping me track down these up to date numbers.
Diffstat (limited to 'pkgs/development/haskell-modules/generic-builder.nix')
-rw-r--r-- | pkgs/development/haskell-modules/generic-builder.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 382f6715dc9..c2e3fd7ecc2 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -33,8 +33,7 @@ in , doHaddockQuickjump ? doHoogle && lib.versionAtLeast ghc.version "8.6" , doInstallIntermediates ? false , editedCabalFile ? null -# aarch64 outputs otherwise exceed 2GB limit -, enableLibraryProfiling ? !(ghc.isGhcjs or stdenv.hostPlatform.isAarch64 or false) +, enableLibraryProfiling ? !(ghc.isGhcjs or false) , enableExecutableProfiling ? false , profilingDetail ? "exported-functions" # TODO enable shared libs for cross-compiling |