From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47949) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifkSJ-0007mD-74 for guix-patches@gnu.org; Fri, 13 Dec 2019 07:54:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifkSI-0003sC-4M for guix-patches@gnu.org; Fri, 13 Dec 2019 07:54:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55421) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ifkSH-0003r1-RY for guix-patches@gnu.org; Fri, 13 Dec 2019 07:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ifkSH-0006yc-NP for guix-patches@gnu.org; Fri, 13 Dec 2019 07:54:01 -0500 Subject: [bug#38436] [PATCH] gnu: Add gfortran-toolchain References: In-Reply-To: Resent-Message-ID: From: Konrad Hinsen Date: Fri, 13 Dec 2019 13:53:47 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38436@debbugs.gnu.org * gnu/packages/commencement.scm: (gfortran-toolchain): New variable. --- gnu/packages/commencement.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 68030376fc..541dedce0d 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2601,4 +2601,17 @@ an d binaries, plus debugging symbols in the @code{debug} output), and Binutils (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 intenally 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 -- 2.24.0