diff options
author | eklee15 <eunkyung.lee@us.ibm.com> | 2017-02-28 14:24:43 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-02-28 11:24:43 -0800 |
commit | 9be0c06b9866e7ddd580ff5ff5c7c3228962d31d (patch) | |
tree | 95bd8a2051401dbe150e1a4b335010aab2315d41 | |
parent | c32a9416ec706191ca996013086cdd6afb5b877b (diff) | |
download | spack-9be0c06b9866e7ddd580ff5ff5c7c3228962d31d.tar.gz spack-9be0c06b9866e7ddd580ff5ff5c7c3228962d31d.tar.bz2 spack-9be0c06b9866e7ddd580ff5ff5c7c3228962d31d.tar.xz spack-9be0c06b9866e7ddd580ff5ff5c7c3228962d31d.zip |
Patch hypre to support ppc64le (#3238)
- Patch applies through v2.11.1
-rw-r--r-- | var/spack/repos/builtin/packages/hypre/ibm-ppc64le.patch | 12 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/hypre/package.py | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hypre/ibm-ppc64le.patch b/var/spack/repos/builtin/packages/hypre/ibm-ppc64le.patch new file mode 100644 index 0000000000..b1ade00c09 --- /dev/null +++ b/var/spack/repos/builtin/packages/hypre/ibm-ppc64le.patch @@ -0,0 +1,12 @@ +--- hypre-2.11.1/src/config/config.guess 2016-06-09 10:56:18.000000000 -0400 ++++ hypre-2.11.1/src/config/config.guess.patch 2017-02-24 22:53:42.718337013 -0500 +@@ -882,6 +882,9 @@ + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-gnu + exit ;; ++ ppc64le:Linux:*:*) ++ echo powerpc64le-unknown-linux-gnu ++ exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; diff --git a/var/spack/repos/builtin/packages/hypre/package.py b/var/spack/repos/builtin/packages/hypre/package.py index ed0f665462..14a2a5cc0c 100644 --- a/var/spack/repos/builtin/packages/hypre/package.py +++ b/var/spack/repos/builtin/packages/hypre/package.py @@ -48,6 +48,9 @@ class Hypre(Package): description="Use internal Superlu routines") variant('int64', default=False, description="Use 64bit integers") + + # Patch to add ppc64le in config.guess + patch('ibm-ppc64le.patch', when='@:2.11.1') depends_on("mpi") depends_on("blas") |