guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: isl: Add support for aarch64.


From: Efraim Flashner
Subject: 02/02: gnu: isl: Add support for aarch64.
Date: Fri, 7 Oct 2016 09:27:25 +0000 (UTC)

efraim pushed a commit to branch core-updates
in repository guix.

commit 2ff746dcd26c21af4cb281074f1a3b6d378ed455
Author: Efraim Flashner <address@hidden>
Date:   Fri Jun 24 13:33:31 2016 +0300

    gnu: isl: Add support for aarch64.
    
    * gnu/packages/gcc.scm (isl)[source]: Add patch.
    * gnu/packages/patches/isl-0.11.1-aarch64-support.patch: New file.
    * gnu/local.mk (dist_patch_DATA): Register it.
---
 gnu/local.mk                                       |    1 +
 gnu/packages/gcc.scm                               |    3 +-
 .../patches/isl-0.11.1-aarch64-support.patch       |   40 ++++++++++++++++++++
 3 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/gnu/local.mk b/gnu/local.mk
index 6b50963..effa3ef 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -598,6 +598,7 @@ dist_patch_DATA =                                           
\
   %D%/packages/patches/ilmbase-fix-tests.patch                 \
   %D%/packages/patches/inkscape-drop-wait-for-targets.patch    \
   %D%/packages/patches/irrlicht-mesa-10.patch                  \
+  %D%/packages/patches/isl-0.11.1-aarch64-support.patch        \
   %D%/packages/patches/jansson-CVE-2016-4425.patch             \
   %D%/packages/patches/jasper-CVE-2007-2721.patch              \
   %D%/packages/patches/jasper-CVE-2008-3520.patch              \
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 4a1a309..b1c9b21 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -718,7 +718,8 @@ as the 'native-search-paths' field."
                                        name "-" version ".tar.gz")))
              (sha256
               (base32
-               "13d9cqa5rzhbjq0xf0b2dyxag7pqa72xj9dhsa03m8ccr1a4npq9"))))
+               "13d9cqa5rzhbjq0xf0b2dyxag7pqa72xj9dhsa03m8ccr1a4npq9"))
+             (patches (search-patches "isl-0.11.1-aarch64-support.patch"))))
     (build-system gnu-build-system)
     (inputs `(("gmp" ,gmp)))
     (home-page "http://isl.gforge.inria.fr/";)
diff --git a/gnu/packages/patches/isl-0.11.1-aarch64-support.patch 
b/gnu/packages/patches/isl-0.11.1-aarch64-support.patch
new file mode 100644
index 0000000..c5607fc
--- /dev/null
+++ b/gnu/packages/patches/isl-0.11.1-aarch64-support.patch
@@ -0,0 +1,40 @@
+Add aarch64 support to config.guess and config.sub, as would be found if using
+a more recent version of autoconf.
+---
+ config.guess          |    7 +++++++
+ config.sub            |    1 +
+ 2 files changed, 8 insertions(+)
+
+diff --git a/config.guess b/config.guess
+index 40eaed4..baad294 100755
+--- a/config.guess
++++ b/config.guess
+@@ -861,6 +861,13 @@ EOF
+     i*86:Minix:*:*)
+       echo ${UNAME_MACHINE}-pc-minix
+       exit ;;
++    aarch64:Linux:*:*)
++      echo ${UNAME_MACHINE}-unknown-linux-gnu
++      exit ;;
++    aarch64_be:Linux:*:*)
++      UNAME_MACHINE=aarch64_be
++      echo ${UNAME_MACHINE}-unknown-linux-gnu
++      exit ;;
+     alpha:Linux:*:*)
+       case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+         EV5)   UNAME_MACHINE=alphaev5 ;;
+diff --git a/config.sub b/config.sub
+index 30fdca8..8f5b018 100755
+--- a/config.sub
++++ b/config.sub
+@@ -247,6 +247,7 @@ case $basic_machine in
+       # Some are omitted here because they have special meanings below.
+       1750a | 580 \
+       | a29k \
++      | aarch64 | aarch64_be \
+       | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+       | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | 
alpha64pca5[67] \
+       | am33_2.0 \
+-- 
+2.9.0
+



reply via email to

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