From 4ac5d4fee19aad08289ed10da15e32d937ea595d Mon Sep 17 00:00:00 2001 From: Konrad Hinsen Date: Fri, 13 Dec 2019 13:53:47 +0100 Subject: [PATCH] gnu: Add gfortran-toolchain MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/commencement.scm: (gfortran-toolchain): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/commencement.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 68030376fc..14ecf246d4 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2601,4 +2601,17 @@ (define-public gcc-toolchain-8 (define-public gcc-toolchain-9 (make-gcc-toolchain gcc-9)) +;; Provide the Fortran toolchain package only for the version of gfortran that +;; is used by Guix internally to build Fortran libraries, because combining +;; code compiled with different versions can cause problems. + +(define-public gfortran-toolchain + (package (inherit (make-gcc-toolchain gfortran)) + (synopsis "Complete GCC tool chain for Fortran development") + (description "This package provides a complete GCC tool chain for +Fortran development to be installed in user profiles. This includes +gfortran, as well as libc (headers and binaries, plus debugging symbols +in the @code{debug} output), and binutils."))) + + ;;; commencement.scm ends here