From 77bf133cd295c7c5521799a22cd70a873cef1b2e Mon Sep 17 00:00:00 2001 From: David Beckingsale Date: Mon, 7 Dec 2015 14:33:31 -0800 Subject: [PATCH] Update CleverLeaf package to use Boost and fix SAMRAI MPI usage --- var/spack/packages/SAMRAI/package.py | 2 ++ var/spack/packages/cleverleaf/package.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/var/spack/packages/SAMRAI/package.py b/var/spack/packages/SAMRAI/package.py index 5ee90cf400..f8caa1185c 100644 --- a/var/spack/packages/SAMRAI/package.py +++ b/var/spack/packages/SAMRAI/package.py @@ -38,6 +38,8 @@ def install(self, spec, prefix): configure( "--prefix=%s" % prefix, + "--with-CXX=%s" % spec[mpi].prefix.bin + "/mpic++", + "--with-CC=%s" % spec[mpi].prefix.bin + "/mpicc", "--with-hdf5=%s" % spec['hdf5'].prefix, "--with-boost=%s" % spec['boost'].prefix, "--with-zlib=%s" % spec['zlib'].prefix, diff --git a/var/spack/packages/cleverleaf/package.py b/var/spack/packages/cleverleaf/package.py index ddbe57f019..ad843ca412 100644 --- a/var/spack/packages/cleverleaf/package.py +++ b/var/spack/packages/cleverleaf/package.py @@ -14,6 +14,8 @@ class Cleverleaf(Package): version('develop', git='https://github.com/UK-MAC/CleverLeaf_ref.git', branch='develop') depends_on("SAMRAI@3.8.0") + depends_on("hdf5") + depends_on("boost") def install(self, spec, prefix): cmake(*std_cmake_args)