gnu: gfortran: Remove unusable versions.
The gfortran packages cannot be used without being wrapped with gfortran-toolchain. However, as the comment in (gnu packages commencement) explains, there cannot be more than one gfortran-toolchain package because of ABI issues. Thus, versions of gfortran other than the main one are useless. * gnu/packages/gcc.scm (gfortran-4.8, gfortran-4.9, gfortran-5, gfortran-6, gfortran-7, gfortran-8, gfortran-9): Remove variables. (gfortran): Define the gfortran package based on the gcc variable.
This commit is contained in:
parent
9554f5a85e
commit
0681f05486
1 changed files with 3 additions and 40 deletions
|
@ -687,47 +687,10 @@ (define %generic-search-paths
|
|||
(variable "LIBRARY_PATH")
|
||||
(files '("lib" "lib64")))))
|
||||
|
||||
(define-public gfortran-4.8
|
||||
(hidden-package
|
||||
(custom-gcc gcc-4.8 "gfortran" '("fortran")
|
||||
%generic-search-paths)))
|
||||
|
||||
(define-public gfortran-4.9
|
||||
(hidden-package
|
||||
(custom-gcc gcc-4.9 "gfortran" '("fortran")
|
||||
%generic-search-paths)))
|
||||
|
||||
(define-public gfortran-5
|
||||
(hidden-package
|
||||
(custom-gcc gcc-5 "gfortran" '("fortran")
|
||||
%generic-search-paths)))
|
||||
|
||||
(define-public gfortran-6
|
||||
(hidden-package
|
||||
(custom-gcc gcc-6 "gfortran" '("fortran")
|
||||
%generic-search-paths)))
|
||||
|
||||
(define-public gfortran-7
|
||||
(hidden-package
|
||||
(custom-gcc gcc-7 "gfortran" '("fortran")
|
||||
%generic-search-paths)))
|
||||
|
||||
(define-public gfortran-8
|
||||
(hidden-package
|
||||
(custom-gcc gcc-8 "gfortran" '("fortran")
|
||||
%generic-search-paths)))
|
||||
|
||||
(define-public gfortran-9
|
||||
(hidden-package
|
||||
(custom-gcc gcc-9 "gfortran" '("fortran")
|
||||
%generic-search-paths)))
|
||||
|
||||
(define-public gfortran
|
||||
;; Note: Update this when GCC changes! We cannot use
|
||||
;; (custom-gcc gcc "fortran" …) because that would lead to a package object
|
||||
;; that is not 'eq?' with GFORTRAN-5, and thus 'fold-packages' would
|
||||
;; report two gfortran@5 that are in fact identical.
|
||||
gfortran-7)
|
||||
(hidden-package
|
||||
(custom-gcc gcc "gfortran" '("fortran")
|
||||
%generic-search-paths)))
|
||||
|
||||
(define-public libgccjit
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue