summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2015-10-16 13:02:27 +0200
committerMassimiliano Culpo <massimiliano.culpo@googlemail.com>2015-10-19 13:48:46 +0200
commit3a4bdf1856685ae63116793e532d45aa2ee7fd28 (patch)
tree31ae6d40eba79e6953ac2dc85e25229ff8d43a2b /var
parentff0d039a1fea0b713455c38ab4df6a5cbe0d4783 (diff)
downloadspack-3a4bdf1856685ae63116793e532d45aa2ee7fd28.tar.gz
spack-3a4bdf1856685ae63116793e532d45aa2ee7fd28.tar.bz2
spack-3a4bdf1856685ae63116793e532d45aa2ee7fd28.tar.xz
spack-3a4bdf1856685ae63116793e532d45aa2ee7fd28.zip
trilinos : first version that compiles on bellatrix
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/swig/package.py2
-rw-r--r--var/spack/packages/trilinos/package.py19
2 files changed, 4 insertions, 17 deletions
diff --git a/var/spack/packages/swig/package.py b/var/spack/packages/swig/package.py
index d7a3d815b9..ee536d7063 100644
--- a/var/spack/packages/swig/package.py
+++ b/var/spack/packages/swig/package.py
@@ -38,6 +38,8 @@ class Swig(Package):
version('3.0.2', '62f9b0d010cef36a13a010dc530d0d41')
+ depends_on('pcre')
+
def install(self, spec, prefix):
configure("--prefix=%s" % prefix)
make()
diff --git a/var/spack/packages/trilinos/package.py b/var/spack/packages/trilinos/package.py
index 6f7cc253dd..7c43f796a4 100644
--- a/var/spack/packages/trilinos/package.py
+++ b/var/spack/packages/trilinos/package.py
@@ -1,19 +1,3 @@
-# FIXME:
-# This is a template package file for Spack. We've conveniently
-# put "FIXME" labels next to all the things you'll want to change.
-#
-# Once you've edited all the FIXME's, delete this whole message,
-# save this file, and test out your package like this:
-#
-# spack install trilinos
-#
-# You can always get back here to change things with:
-#
-# spack edit trilinos
-#
-# See the spack documentation for more information on building
-# packages.
-#
from spack import *
@@ -48,7 +32,8 @@ class Trilinos(Package):
options = [
'-DTrilinos_ENABLE_ALL_PACKAGES:BOOL=ON',
- '-DTrilinos_ENABLE_TESTS:BOOL=ON',
+ '-DTrilinos_ENABLE_TESTS:BOOL=OFF',
+ '-DTrilinos_ENABLE_EXAMPLES:BOOL=OFF',
'-DBUILD_SHARED_LIBS:BOOL=ON',
'-DBLAS_LIBRARY_DIRS:PATH=%s' % spec['blas'].prefix,
'-DLAPACK_LIBRARY_DIRS:PATH=%s' % spec['lapack'].prefix