This commit is contained in:
Yann Dupont 2021-12-03 18:27:51 +01:00
parent 99758426c6
commit 610093e9d0

View file

@ -1,16 +1,16 @@
(define-module (glicid packages gcc) (define-module (glicid packages gcc)
#:use-module (guix build-system gnu)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (gnu packages commencement) #:use-module (gnu packages commencement) ;; for make-gcc-toolchain
#:use-module (gnu packages gcc) #:use-module (gnu packages gcc) ;; for gcc-11
) )
;; beware : access to internal functions… this is probably not the right way to do it …
;; beware : access to internal functions… this is probably not the good way…
(define custom-gcc (@@ (gnu packages gcc) custom-gcc) ) (define custom-gcc (@@ (gnu packages gcc) custom-gcc) )
(define %generic-search-paths (@@ (gnu packages gcc) %generic-search-paths )) (define %generic-search-paths (@@ (gnu packages gcc) %generic-search-paths ))
;;
(define-public gfortran-11 (define-public gfortran-11
(hidden-package (hidden-package
(custom-gcc gcc-11 "gfortran" '("fortran") (custom-gcc gcc-11 "gfortran" '("fortran")
@ -22,7 +22,7 @@
(define-public gfortran-toolchain-11 (define-public gfortran-toolchain-11
(package (package
(inherit (make-gcc-toolchain gfortran-11)) (inherit (make-gcc-toolchain gfortran-11))
(synopsis "Complete GCC tool chain for fortean lang development") (synopsis "Complete GCC tool chain for fortran lang development")
(description "This package provides a complete GCC tool chain for (description "This package provides a complete GCC tool chain for
fortran lang development to be installed in user profiles. This includes fortran lang development to be installed in user profiles. This includes
fortran, as well as libc (headers and binaries, plus debugging symbols fortran, as well as libc (headers and binaries, plus debugging symbols