mvapich2 : changed method name for consistency. Removed possibly duplicated flags

This commit is contained in:
Massimiliano Culpo 2015-11-09 15:55:44 +01:00
parent 42bc552dd7
commit 27c64f7740

View File

@ -61,7 +61,7 @@ def enabled(x):
""" """
return '+' + x 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) Appends to configure_args the flags that depends only on the build type (i.e. release or debug)
@ -140,14 +140,12 @@ def install(self, spec, prefix):
"--enable-shared", "--enable-shared",
"--enable-romio", "--enable-romio",
"--disable-silent-rules", "--disable-silent-rules",
"--enable-debuginfo",
"--enable-g=dbg"
] ]
if not self.compiler.f77 and not self.compiler.fc: if not self.compiler.f77 and not self.compiler.fc:
configure_args.append("--enable-fortran=none") configure_args.append("--enable-fortran=none")
# Set flags that depend only on the type of the build (debug, release) # Set the type of the build (debug, release)
self.set_build_type_flags(spec, configure_args) self.set_build_type(spec, configure_args)
# Set the process manager # Set the process manager
self.set_process_manager(spec, configure_args) self.set_process_manager(spec, configure_args)
# Determine network type by variant # Determine network type by variant