Remove intel-parallel-studio +all checks (#2905)

This commit is contained in:
Adam J. Stewart 2017-01-25 22:41:09 -06:00 committed by Todd Gamblin
parent c24dc9072e
commit b18b6bad6f

View File

@ -127,20 +127,7 @@ def url_for_version(self, version):
return url + ".tgz"
def check_variants(self, spec):
error_message = '\t{variant} can not be turned off if "+all" is set'
if self.spec.satisfies('+all'):
errors = [error_message.format(variant=x)
for x in ('mpi', 'mkl', 'daal', 'ipp', 'tools')
if ('~' + x) in self.spec]
if errors:
errors = ['incompatible variants given'] + errors
raise InstallError('\n'.join(errors))
def install(self, spec, prefix):
self.check_variants(spec)
base_components = "ALL" # when in doubt, install everything
mpi_components = ""
mkl_components = ""