Added the installation files for the "ExodusII" package.

Added the "+static" variant to "hdf5" to enable "ExodusII" support.
This commit is contained in:
Joseph Ciurej
2016-02-16 16:43:24 -08:00
parent 09254014b1
commit 8cab10214e
3 changed files with 65 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ class Hdf5(Package):
version('1.8.13', 'c03426e9e77d7766944654280b467289')
variant('debug', default=False, description='Builds a debug version of the library')
variant('static', default=False, description='Builds a static executable version of the library')
variant('cxx', default=True, description='Enable C++ support')
variant('fortran', default=True, description='Enable Fortran support')
@@ -78,6 +79,9 @@ def install(self, spec, prefix):
else:
extra_args.append('--enable-production')
if '+static' in spec:
extra_args.append('--enable-static-exec')
if '+unsupported' in spec:
extra_args.append("--enable-unsupported")