disable gpfs through --with-gpfs=no (#29181)
This commit is contained in:
parent
dc01f9597e
commit
8c1e54180e
1 changed files with 5 additions and 5 deletions
|
@ -620,11 +620,6 @@ def autoreconf(self, spec, prefix):
|
||||||
perl = which('perl')
|
perl = which('perl')
|
||||||
perl('autogen.pl')
|
perl('autogen.pl')
|
||||||
|
|
||||||
def setup_build_environment(self, env):
|
|
||||||
if '~gpfs' in self.spec:
|
|
||||||
env.set('ac_cv_header_gpfs_h', 'no')
|
|
||||||
env.set('ac_cv_header_gpfs_fcntl_h', 'no')
|
|
||||||
|
|
||||||
def configure_args(self):
|
def configure_args(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
config_args = [
|
config_args = [
|
||||||
|
@ -734,6 +729,11 @@ def configure_args(self):
|
||||||
if '~romio' in spec:
|
if '~romio' in spec:
|
||||||
config_args.append('--disable-io-romio')
|
config_args.append('--disable-io-romio')
|
||||||
|
|
||||||
|
if '+gpfs' in spec:
|
||||||
|
config_args.append('--with-gpfs')
|
||||||
|
else:
|
||||||
|
config_args.append('--with-gpfs=no')
|
||||||
|
|
||||||
# SQLite3 support
|
# SQLite3 support
|
||||||
if spec.satisfies('@1.7.3:1'):
|
if spec.satisfies('@1.7.3:1'):
|
||||||
if '+sqlite3' in spec:
|
if '+sqlite3' in spec:
|
||||||
|
|
Loading…
Reference in a new issue