[cig-commits] commit: Add a way to disable hdf5
Mercurial
hg at geodynamics.org
Fri May 13 12:00:06 PDT 2011
changeset: 345:4a794e0de5e1
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Fri May 13 11:55:58 2011 -0700
files: SConfigure
description:
Add a way to disable hdf5
diff -r 9c0092c3a828 -r 4a794e0de5e1 SConfigure
--- a/SConfigure Fri May 13 11:55:23 2011 -0700
+++ b/SConfigure Fri May 13 11:55:58 2011 -0700
@@ -14,6 +14,7 @@ options = [
('--cxx', 'CXX', 'C++ compiler', None),
('--cxxflags', 'CXXFLAGS', 'Flags for the C++ compiler', None),
('--with-glucifer', 'with_glucifer', 'Enable gLucifer', 0, 'int'),
+ ('--with-hdf5', 'with_hdf5', 'Enable HDF5', 1, 'int'),
('--with-experimental', 'with_experimental', 'Enable Experimental Repository compile', os.path.isdir("Experimental"), 'int'),
('--with-osmesa', 'with_osmesa', 'Enable OSMesa output', 1, 'int'),
('--with-sdl', 'with_sdl', 'Enable SDL output', 1, 'int'),
@@ -126,7 +127,8 @@ if not (GetOption('help') or GetOption('
env.ConfigurePackage(packages.libXML2)
env.ConfigurePackage(packages.MPI)
- env.ConfigurePackage(packages.HDF5, required=False)
+ if env.get('with_hdf5', None):
+ env.ConfigurePackage(packages.HDF5, required=False)
# If we're building with gLucifer then we need some more
# packages.
More information about the CIG-COMMITS
mailing list