diff --git a/var/spack/repos/builtin/packages/intel-parallel-studio/package.py b/var/spack/repos/builtin/packages/intel-parallel-studio/package.py index 8564eeb9411ebe05567a1157dae62a49781347f7..941ef9befbe23c311efc94e8a3afbe44d0ce360e 100644 --- a/var/spack/repos/builtin/packages/intel-parallel-studio/package.py +++ b/var/spack/repos/builtin/packages/intel-parallel-studio/package.py @@ -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 = ""