guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/04: gnu: julia: Fix make-flags on non-Intel platforms.


From: Mark H. Weaver
Subject: 01/04: gnu: julia: Fix make-flags on non-Intel platforms.
Date: Wed, 22 Apr 2015 19:10:06 +0000

mhw pushed a commit to branch master
in repository guix.

commit 446c7e4de339f8b6ad950afa58f000220d80a5f4
Author: Mark H Weaver <address@hidden>
Date:   Tue Apr 21 22:42:40 2015 -0400

    gnu: julia: Fix make-flags on non-Intel platforms.
    
    * gnu/packages/julia.scm (julia)[arguments]: Add default case in 'match' 
form.
---
 gnu/packages/julia.scm |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index e599044..c9428c4 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -118,7 +118,10 @@
         ,(match (or (%current-target-system)
                     (%current-system))
            ("x86_64-linux" "MARCH=x86-64")
-           ("i686-linux" "MARCH=pentium4"))
+           ("i686-linux" "MARCH=pentium4")
+           ;; Prevent errors when querying this package on unsupported
+           ;; platforms, e.g. when running "guix package --search="
+           (_ "MARCH=UNSUPPORTED"))
 
         "CONFIG_SHELL=bash"     ;needed to build bundled libraries
         "USE_SYSTEM_LIBUV=0"    ;Julia expects a modified libuv



reply via email to

[Prev in Thread] Current Thread [Next in Thread]