trilinos : first version that compiles on bellatrix

This commit is contained in:
Massimiliano Culpo 2015-10-16 13:02:27 +02:00
parent ff0d039a1f
commit 3a4bdf1856
2 changed files with 4 additions and 17 deletions

View File

@ -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()

View File

@ -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 @@ def install(self, spec, prefix):
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