make hypre and hdf5 be ON/OFF
This commit is contained in:
parent
dd60cc326c
commit
207215980b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue