Merge pull request #40519 from Synthetica9/gcc8-darwin-revert

gcc,gcc8: {revert gcc to gcc7, mark gcc8 as broken} on Darwin
This commit is contained in:
Matthew Justin Bauer 2018-05-15 10:01:49 -05:00 committed by GitHub
commit da5a692fcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View file

@ -439,6 +439,9 @@ stdenv.mkDerivation ({
stdenv.lib.platforms.linux ++
stdenv.lib.platforms.freebsd ++
stdenv.lib.platforms.darwin;
# See #40038
broken = stdenv.isDarwin;
};
}

View file

@ -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 {

View file

@ -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