summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2015-11-23 16:50:11 -0500
committerErik Schnetter <schnetter@gmail.com>2015-11-23 16:50:11 -0500
commit60fd7e22685c5948309362bbd5e01ae5f5e7dd02 (patch)
tree81f3643b86881b158d8528c1b7a364758101b56c
parentbe92d0b6a4074075e286e5d5249198afa4f22b57 (diff)
downloadspack-60fd7e22685c5948309362bbd5e01ae5f5e7dd02.tar.gz
spack-60fd7e22685c5948309362bbd5e01ae5f5e7dd02.tar.bz2
spack-60fd7e22685c5948309362bbd5e01ae5f5e7dd02.tar.xz
spack-60fd7e22685c5948309362bbd5e01ae5f5e7dd02.zip
Update PAPI
-rw-r--r--var/spack/packages/papi/package.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/var/spack/packages/papi/package.py b/var/spack/packages/papi/package.py
index 596f7114d6..097b8c41ec 100644
--- a/var/spack/packages/papi/package.py
+++ b/var/spack/packages/papi/package.py
@@ -13,6 +13,7 @@ class Papi(Package):
homepage = "http://icl.cs.utk.edu/papi/index.html"
url = "http://icl.cs.utk.edu/projects/papi/downloads/papi-5.3.0.tar.gz"
+ version('5.4.1', '9134a99219c79767a11463a76b0b01a2')
version('5.3.0', '367961dd0ab426e5ae367c2713924ffb')
def install(self, spec, prefix):
@@ -20,13 +21,10 @@ class Papi(Package):
configure_args=["--prefix=%s" % prefix]
- # need to force consistency in the use of compilers
- if spec.satisfies('%gcc'):
- configure_args.append('CC=gcc')
- configure_args.append('MPICH_CC=gcc')
- if spec.satisfies('%intel'):
- configure_args.append('CC=icc')
- configure_args.append('MPICH_CC=icc')
+ # PAPI uses MPI if MPI is present; since we don't require an
+ # MPI package, we ensure that all attempts to use MPI fail, so
+ # that PAPI does not get confused
+ configure_args.append('MPICC=:')
configure(*configure_args)