unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: [PATCH] Fix R.
Date: Wed, 24 Jun 2015 11:40:31 +0200	[thread overview]
Message-ID: <idjlhf9o35c.fsf@bimsb-sys02.mdc-berlin.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 168 bytes --]

Currently, R cannot be built because the default GCC is now 4.9 but R
depends on gfortran 4.8.

These two patches add gfortran-4.9 and update the R package to use it.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-gfortran-4.9.patch --]
[-- Type: text/x-patch, Size: 833 bytes --]

From 6c25bf3435fc690c75ba7bbf2b98c60bf5261cfc Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Wed, 24 Jun 2015 11:36:18 +0200
Subject: [PATCH 1/2] gnu: Add gfortran 4.9.

* gnu/packages/gcc.scm (gfortran-4.9): New variable.
---
 gnu/packages/gcc.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index c370fe8..389610d 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -394,6 +394,9 @@ using compilers other than GCC."
 (define-public gfortran-4.8
   (custom-gcc gcc-4.8 "gfortran" '("fortran")))
 
+(define-public gfortran-4.9
+  (custom-gcc gcc-4.9 "gfortran" '("fortran")))
+
 (define-public gccgo-4.8
   (custom-gcc gcc-4.8 "gccgo" '("go")
               ;; Suppress the separate "lib" output, because otherwise the
-- 
2.1.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-r-Use-gfortran-4.9.patch --]
[-- Type: text/x-patch, Size: 816 bytes --]

From 2a5f0deb7aa00be00e43f120bab8e5d97c6a9a51 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Wed, 24 Jun 2015 11:37:56 +0200
Subject: [PATCH 2/2] gnu: r: Use gfortran-4.9.

* gnu/packages/statistics.scm (r)[inputs]: Replace gfortran-4.8 with
  gfortran-4.9.
---
 gnu/packages/statistics.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 9408705..8d5d4c3 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -90,7 +90,7 @@
     (inputs
      `(("atlas" ,atlas) ; --with-blas
        ("cairo" ,cairo)
-       ("gfortran" ,gfortran-4.8)
+       ("gfortran" ,gfortran-4.9)
        ("icu4c" ,icu4c)
        ("icedtea6" ,icedtea6 "jdk")
        ("lapack" ,lapack)
-- 
2.1.0


             reply	other threads:[~2015-06-24  9:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-24  9:40 Ricardo Wurmus [this message]
2015-06-24  9:50 ` [PATCH] Fix R Andreas Enge
2015-06-24 10:01   ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=idjlhf9o35c.fsf@bimsb-sys02.mdc-berlin.net \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).