gfortran: use version 8 by default to match our C and C++ compiler#70515
Merged
peti merged 2 commits intoNixOS:masterfrom Oct 9, 2019
Merged
gfortran: use version 8 by default to match our C and C++ compiler#70515peti merged 2 commits intoNixOS:masterfrom
peti merged 2 commits intoNixOS:masterfrom
Conversation
bhipple
approved these changes
Oct 6, 2019
dd25f3f to
9b8ac21
Compare
We recently updated to gcc 8.x, but our default Fortran compiler is still at
version 7.x. This causes trouble for all packages that mix C++ and Fortran
code, like R does.
Unfortunately, gfortran8 is marked broken on Darwin, so we cannot switch on
that platform yet:
| $ nix-instantiate --arg nixpkg '{ outPath = ./.; revCount = 999999; shortRev = "peti"; }' ./pkgs/top-level/release.nix -A unstable --show-trace
| [...]
| while evaluating the attribute 'handled' at /home/simons/src/nixpkgs/pkgs/stdenv/generic/check-meta.nix:251:7:
| while evaluating 'handleEvalIssue' at /home/simons/src/nixpkgs/pkgs/stdenv/generic/check-meta.nix:147:38, called from /home/simons/src/nixpkgs/pkgs/stdenv/generic/check-meta.nix:252:14:
| Failed to evaluate gfortran-wrapper-8.3.0: «broken»: is marked as broken
9b8ac21 to
982d859
Compare
Member
Author
|
@GrahamcOfBorg build openblas octopus openmolcas rPackages.RcppArmadillo |
Member
|
This causes quite a lot of rebuilds. Should this be based against staging? |
Member
Author
|
No, going through |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We recently updated to gcc 8.x, but our default Fortran compiler is still at
version 7.x. This causes trouble for all packages that mix C++ and Fortran
code, like R does.