summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Davydov <davydden@gmail.com>2017-01-17 20:05:34 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2017-01-17 11:05:34 -0800
commit190a5b575ccccf81ee3e71d0048aa0b0e4753f22 (patch)
tree90749a94e357fbd32c254900da9a8852955621f0
parent061076aea92a1d29058f17505b820e27bda7d846 (diff)
downloadspack-190a5b575ccccf81ee3e71d0048aa0b0e4753f22.tar.gz
spack-190a5b575ccccf81ee3e71d0048aa0b0e4753f22.tar.bz2
spack-190a5b575ccccf81ee3e71d0048aa0b0e4753f22.tar.xz
spack-190a5b575ccccf81ee3e71d0048aa0b0e4753f22.zip
p4est: switch to AutotoolsPackage (#2839)
-rw-r--r--var/spack/repos/builtin/packages/p4est/package.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/var/spack/repos/builtin/packages/p4est/package.py b/var/spack/repos/builtin/packages/p4est/package.py
index da58f5a7e7..93a08c4f2d 100644
--- a/var/spack/repos/builtin/packages/p4est/package.py
+++ b/var/spack/repos/builtin/packages/p4est/package.py
@@ -25,7 +25,7 @@
from spack import *
-class P4est(Package):
+class P4est(AutotoolsPackage):
"""Dynamic management of a collection (a forest) of adaptive octrees in
parallel"""
homepage = "http://www.p4est.org"
@@ -42,8 +42,8 @@ class P4est(Package):
depends_on('mpi')
depends_on('zlib')
- def install(self, spec, prefix):
- options = [
+ def configure_args(self):
+ return [
'--enable-mpi',
'--enable-shared',
'--disable-vtk-binary',
@@ -55,10 +55,3 @@ class P4est(Package):
'FC=%s' % self.spec['mpi'].mpifc,
'F77=%s' % self.spec['mpi'].mpif77
]
-
- configure('--prefix=%s' % prefix, *options)
-
- make()
- if self.run_tests:
- make("check")
- make("install")