Skip to content

Commit

Permalink
Merge pull request #40519 from Synthetica9/gcc8-darwin-revert
Browse files Browse the repository at this point in the history
gcc,gcc8: {revert gcc to gcc7, mark gcc8 as broken} on Darwin
  • Loading branch information
matthewbauer authored May 15, 2018
2 parents 116cce8 + 68cedc0 commit da5a692
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/compilers/gcc/8/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ stdenv.mkDerivation ({
stdenv.lib.platforms.linux ++
stdenv.lib.platforms.freebsd ++
stdenv.lib.platforms.darwin;

# See #40038
broken = stdenv.isDarwin;
};
}

Expand Down
3 changes: 2 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6072,7 +6072,8 @@ with pkgs;
gerbil-unstable = callPackage ../development/compilers/gerbil/unstable.nix { };

gccFun = callPackage ../development/compilers/gcc/7;
gcc = gcc8;
# Temporary solution until #40038 is fixed
gcc = if stdenv.isDarwin then gcc7 else gcc8;
gcc-unwrapped = gcc.cc;

gccStdenv = if stdenv.cc.isGNU then stdenv else stdenv.override {
Expand Down
5 changes: 4 additions & 1 deletion pkgs/top-level/release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ let
jobs.tests.cc-wrapper-gcc7.x86_64-linux
jobs.tests.cc-wrapper-gcc7.x86_64-darwin
jobs.tests.cc-wrapper-gcc8.x86_64-linux
jobs.tests.cc-wrapper-gcc8.x86_64-darwin

# broken see issue #40038
# jobs.tests.cc-wrapper-gcc8.x86_64-darwin

jobs.tests.cc-wrapper-clang.x86_64-linux
jobs.tests.cc-wrapper-clang.x86_64-darwin
jobs.tests.cc-wrapper-libcxx.x86_64-linux
Expand Down

0 comments on commit da5a692

Please sign in to comment.