gnu: gfortran: Change default version to gfortran-5.

* gnu/packages/gcc.scm (gfortran): Point to gfortran-5.
This commit is contained in:
Ricardo Wurmus 2017-03-23 15:37:24 +01:00
parent 0371b345e8
commit cb4805e34c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -401,7 +401,8 @@ (define-public gcc-6
"gcc-5.0-libvtv-runpath.patch")))))) "gcc-5.0-libvtv-runpath.patch"))))))
;; Note: When changing the default gcc version, update ;; Note: When changing the default gcc version, update
;; the gcc-toolchain-* definitions accordingly. ;; the gcc-toolchain-* definitions and the gfortran definition
;; accordingly.
(define-public gcc gcc-5) (define-public gcc gcc-5)
(define-public (make-libstdc++ gcc) (define-public (make-libstdc++ gcc)
@ -521,9 +522,9 @@ (define-public gfortran-4.9
(define-public gfortran (define-public gfortran
;; Note: Update this when GCC changes! We cannot use ;; Note: Update this when GCC changes! We cannot use
;; (custom-gcc gcc "fortran" …) because that would lead to a package object ;; (custom-gcc gcc "fortran" …) because that would lead to a package object
;; that is not 'eq?' with GFORTRAN-4.9, and thus 'fold-packages' would ;; that is not 'eq?' with GFORTRAN-5, and thus 'fold-packages' would
;; report two gfortran@4.9 that are in fact identical. ;; report two gfortran@5 that are in fact identical.
gfortran-4.9) gfortran-5)
(define-public gfortran-5 (define-public gfortran-5
(custom-gcc gcc-5 "gfortran" '("fortran") (custom-gcc gcc-5 "gfortran" '("fortran")