make hypre and hdf5 be ON/OFF

This commit is contained in:
Denis Davydov 2016-03-28 17:54:27 +02:00
parent dd60cc326c
commit 207215980b

View file

@ -96,8 +96,8 @@ def install(self, spec, prefix):
'-DTrilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON',
'-DTrilinos_ENABLE_CXX11:BOOL=ON',
'-DTPL_ENABLE_Netcdf:BOOL=ON',
'-DTPL_ENABLE_HYPRE:BOOL=ON',
'-DTPL_ENABLE_HDF5:BOOL=ON'
'-DTPL_ENABLE_HYPRE:BOOL=%s' % ('ON' if '+hypre' in spec else 'OFF'),,
'-DTPL_ENABLE_HDF5:BOOL=%s' % ('ON' if '+hdf5' in spec else 'OFF'),
])
# Fortran lib