misc/obs: add skip_combos var to define compiler/mpi combinations that don't make sense
@@ -23,6 +23,9 @@ import coloredlogs
obsurl="https://obs.openhpc.community"
configFile="config.2.x"
+# define known compiler/mpi combos to skip
+skip_combos = ["arm1-impi","arm1-mvapich2"]
+
#---
# Simple error wrapper to include exit
def ERROR(output):
@@ -47,6 +50,8 @@ class ohpc_obs_tool(object):
self.dryRun = True
self.buildsToCancel = []
+
+
# parse version to derive obs-specific version info
vparse = VersionInfo.parse(self.vip)
self.branchVer = str(vparse.major) + '.' + str(vparse.minor)
@@ -716,6 +721,10 @@ def main():
logging.debug("...skipping parent package %s" % child)
continue
+ combo = compiler + "-" + mpi
+ if combo in skip_combos:
+ continue
+
if child in obsPackages:
logging.info("%27s (%13s): present in OBS" % (child,ptype))
else:
