Skip to content

Commit

Permalink
aarch64: use gcc11 with external bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Joseph committed Jan 12, 2023
1 parent baa0bde commit 4d5bc7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/stdenv/generic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ let
passthru.tests = lib.warn "Use `stdenv.tests` instead. `passthru` is a `mkDerivation` detail." stdenv.tests;

# FIXME: hack to keep OfBorg moving; remove this later
enableGccExternalBootstrapForStdenv = buildPlatform == hostPlatform && !hostPlatform.isAarch64;
enableGccExternalBootstrapForStdenv = buildPlatform == hostPlatform;
}

# Propagate any extra attributes. For instance, we use this to
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14057,7 +14057,7 @@ with pkgs;
inherit (let
num =
if (with stdenv.targetPlatform; isVc4 || libc == "relibc") then 6
else if (stdenv.targetPlatform.isAarch64 && stdenv.isLinux) then 9
else if (targetPlatform.isAarch64 && stdenv.isLinux && !stdenv.enableGccExternalBootstrapForStdenv) then 9
else 11;
numS = toString num;
in {
Expand Down

0 comments on commit 4d5bc7d

Please sign in to comment.