CrayPE fix for libcircle (#23526)

Disable mpi search when using cce (the CCE compiler wrappers do not behave like the conventional mpi compiler wrappers).
This commit is contained in:
lukebroskop 2021-05-11 11:33:58 -05:00 committed by GitHub
parent b4e4e76872
commit 766f99f130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,17 @@
diff --git a/configure.ac b/configure.ac_new
index 49fcc1c..f0d3d2a 100644
--- a/configure.ac
+++ b/configure.ac_new
@@ -59,9 +59,9 @@ AC_SUBST([LIBCIRCLE_SO_VERSION], [3:1:1])
AC_SUBST([LIBCIRCLE_API_VERSION], [0.3.0])
# Check for MPI
-LX_FIND_MPI
-test "x$have_C_mpi" = xyes || \
- AC_MSG_ERROR([You should check to see if MPI is setup properly.])
+#LX_FIND_MPI
+#test "x$have_C_mpi" = xyes || \
+# AC_MSG_ERROR([You should check to see if MPI is setup properly.])
AM_CONDITIONAL(HAVE_MPI, [test "x$have_C_mpi" = xyes])
echo

View File

@ -21,6 +21,14 @@ class Libcircle(AutotoolsPackage):
depends_on('mpi')
depends_on('pkgconfig', type='build')
depends_on('libpciaccess', type='link')
depends_on('autoconf', when='%cce')
depends_on('automake', when='%cce')
patch('CrayPE_configure-ac.patch', when='%cce')
@property
def force_autoreconf(self):
return self.spec.satisfies('%cce')
@when('@master')
def autoreconf(self, spec, prefix):