summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2015-11-09 15:55:44 +0100
committerMassimiliano Culpo <massimiliano.culpo@googlemail.com>2015-11-09 16:02:38 +0100
commit27c64f77404ed3f8a201294596a8a607f18bd39b (patch)
tree66057767dbd50e27bee0aaf7e705954a39846e13 /var
parent42bc552dd74cfe961b3f345321994dfa637549e7 (diff)
downloadspack-27c64f77404ed3f8a201294596a8a607f18bd39b.tar.gz
spack-27c64f77404ed3f8a201294596a8a607f18bd39b.tar.bz2
spack-27c64f77404ed3f8a201294596a8a607f18bd39b.tar.xz
spack-27c64f77404ed3f8a201294596a8a607f18bd39b.zip
mvapich2 : changed method name for consistency. Removed possibly duplicated flags
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/mvapich2/package.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/var/spack/packages/mvapich2/package.py b/var/spack/packages/mvapich2/package.py
index 53090ee05c..dc2b2cb23f 100644
--- a/var/spack/packages/mvapich2/package.py
+++ b/var/spack/packages/mvapich2/package.py
@@ -61,7 +61,7 @@ class Mvapich2(Package):
"""
return '+' + x
- def set_build_type_flags(self, spec, configure_args):
+ def set_build_type(self, spec, configure_args):
"""
Appends to configure_args the flags that depends only on the build type (i.e. release or debug)
@@ -140,14 +140,12 @@ class Mvapich2(Package):
"--enable-shared",
"--enable-romio",
"--disable-silent-rules",
- "--enable-debuginfo",
- "--enable-g=dbg"
]
if not self.compiler.f77 and not self.compiler.fc:
configure_args.append("--enable-fortran=none")
- # Set flags that depend only on the type of the build (debug, release)
- self.set_build_type_flags(spec, configure_args)
+ # Set the type of the build (debug, release)
+ self.set_build_type(spec, configure_args)
# Set the process manager
self.set_process_manager(spec, configure_args)
# Determine network type by variant