Skip to content

Commit f1b5442

Browse files
committed
Merge remote-tracking branch 'origin/master' into armv7a
2 parents 9e161b9 + e5f2f9b commit f1b5442

File tree

109 files changed

+4766
-38
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+4766
-38
lines changed

ci.nix

+5-5
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@
8383
let lib = nixpkgs.lib;
8484
in lib.optionalAttrs (nixpkgsName == "unstable"
8585
&& (__match ".*llvm" compiler-nix-name == null)
86-
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"])
87-
|| (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"])
88-
|| (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948" "ghc966" "ghc982" "ghc983"])
89-
|| (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948" "ghc966" "ghc982" "ghc983"])
86+
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"])
87+
|| (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"])
88+
|| (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc982" "ghc983" "ghc984"])
89+
|| (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc982" "ghc983" "ghc984"])
9090
)) {
9191
inherit (lib.systems.examples) ghcjs;
9292
} // lib.optionalAttrs (
9393
(__match ".*llvm" compiler-nix-name == null)
94-
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc91220241014" "ghc91320241101"]) # Including GHC HEAD here because the patches for rts/RtsSymbols.c no longer apply and mingwW64 GHC build fails without them
94+
&& ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928"]) # Including GHC HEAD here because the patches for rts/RtsSymbols.c no longer apply and mingwW64 GHC build fails without them
9595
|| (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
9696
inherit (lib.systems.examples) mingwW64;
9797
} // lib.optionalAttrs (nixpkgsName == "unstable"

compiler/ghc/default.nix

+5-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,11 @@ stdenv.mkDerivation (rec {
445445
export STRIP="${bintoolsFor.strip}/bin/${bintoolsFor.strip.targetPrefix}strip"
446446
'' + lib.optionalString (stdenv.targetPlatform.linker == "cctools") ''
447447
export OTOOL="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}otool"
448-
export INSTALL_NAME_TOOL="${bintoolsFor.install_name_tool}/bin/${bintoolsFor.install_name_tool.targetPrefix}install_name_tool"
448+
if [ -f ${targetCC}/bin/${targetCC.targetPrefix}install_name_tool ]; then
449+
export INSTALL_NAME_TOOL="${targetCC}/bin/${targetCC.targetPrefix}install_name_tool"
450+
else
451+
export INSTALL_NAME_TOOL="${bintoolsFor.install_name_tool}/bin/${bintoolsFor.install_name_tool.targetPrefix}install_name_tool"
452+
fi
449453
'') + lib.optionalString (targetPlatform == hostPlatform && useLdGold)
450454
# set LD explicitly if we want gold even if we aren't cross compiling
451455
''

flake.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lazy-inputs/default.nix

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ in {
3232
inherit ((callFlake { pkgs = final; src = ./ghc981; }).defaultNix) ghc981;
3333
inherit ((callFlake { pkgs = final; src = ./ghc982; }).defaultNix) ghc982;
3434
inherit ((callFlake { pkgs = final; src = ./ghc983; }).defaultNix) ghc983;
35+
inherit ((callFlake { pkgs = final; src = ./ghc984; }).defaultNix) ghc984;
3536
inherit ((callFlake { pkgs = final; src = ./ghc9101; }).defaultNix) ghc9101;
3637
inherit ((callFlake { pkgs = final; src = ./ghc912X; }).defaultNix) ghc912X;
3738
inherit ((callFlake { pkgs = final; src = ./ghc913; }).defaultNix) ghc913;

lazy-inputs/ghc912X/flake.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lazy-inputs/ghc913/flake.lock

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lazy-inputs/ghc984/flake.lock

+30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lazy-inputs/ghc984/flake.nix

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
description = "Lazy Input for Haskell.nix";
3+
4+
inputs = {
5+
ghc984 = {
6+
flake = false;
7+
url = "git+https://github.com/stable-haskell/ghc?ref=ghc-9.8.4-iog&submodules=1";
8+
};
9+
};
10+
11+
outputs = inputs: inputs;
12+
}

materialized/ghc-boot-packages-nix/ghc984-aarch64/base.nix

+49
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialized/ghc-boot-packages-nix/ghc984-aarch64/deriveConstants.nix

+39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialized/ghc-boot-packages-nix/ghc984-aarch64/genprimopcode.nix

+40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-bignum.nix

+37
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialized/ghc-boot-packages-nix/ghc984-aarch64/ghc-boot.nix

+46
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)