Patch hypre to support ppc64le (#3238)

- Patch applies through v2.11.1
This commit is contained in:
eklee15 2017-02-28 14:24:43 -05:00 committed by Todd Gamblin
parent c32a9416ec
commit 9be0c06b98
2 changed files with 15 additions and 0 deletions

View File

@ -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 ;;

View File

@ -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")