all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] Fix R.
@ 2015-06-24  9:40 Ricardo Wurmus
  2015-06-24  9:50 ` Andreas Enge
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2015-06-24  9:40 UTC (permalink / raw)
  To: guix-devel@gnu.org

[-- 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix R.
  2015-06-24  9:40 [PATCH] Fix R Ricardo Wurmus
@ 2015-06-24  9:50 ` Andreas Enge
  2015-06-24 10:01   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Enge @ 2015-06-24  9:50 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel@gnu.org

On Wed, Jun 24, 2015 at 11:40:31AM +0200, Ricardo Wurmus wrote:
> These two patches add gfortran-4.9 and update the R package to use it.

If it works, this looks like a patch to push.

Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix R.
  2015-06-24  9:50 ` Andreas Enge
@ 2015-06-24 10:01   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2015-06-24 10:01 UTC (permalink / raw)
  To: Andreas Enge; +Cc: guix-devel@gnu.org


> On Wed, Jun 24, 2015 at 11:40:31AM +0200, Ricardo Wurmus wrote:
>> These two patches add gfortran-4.9 and update the R package to use it.
>
> If it works, this looks like a patch to push.

I successfully built R 3.2.0 on my workstation with these changes
(whereas before the build would fail).

Thanks for taking a look.  I'll push the patches in a moment.

~~ Ricardo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-24 10:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-24  9:40 [PATCH] Fix R Ricardo Wurmus
2015-06-24  9:50 ` Andreas Enge
2015-06-24 10:01   ` Ricardo Wurmus

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.