Adding latest version of fenics (#1528)

* Adding last version of fenics and making trilinos not ambiguous on hdf5

* forcing fenics to ignore hdf5 cxx

* Adding deptypes and correcting the hdf5 patch

* flake8 corrections

* cleaning some useless code
This commit is contained in:
Nicolas Richart
2016-10-03 03:51:34 +02:00
committed by Todd Gamblin
parent 2ce1b388c9
commit 16f99bd0b2
3 changed files with 44 additions and 11 deletions

View File

@@ -178,6 +178,15 @@ def install(self, spec, prefix):
else:
options.extend(['-DTPL_ENABLE_Boost:BOOL=OFF'])
if '+hdf5' in spec:
options.extend([
'-DTPL_ENABLE_HDF5:BOOL=ON',
'-DHDF5_INCLUDE_DIRS:PATH=%s' % spec['hdf5'].prefix.include,
'-DHDF5_LIBRARY_DIRS:PATH=%s' % spec['hdf5'].prefix.lib
])
else:
options.extend(['-DTPL_ENABLE_HDF5:BOOL=OFF'])
# Fortran lib
libgfortran = os.path.dirname(os.popen(
'%s --print-file-name libgfortran.a' %