From b18b6bad6f35ffa67ed7f293901b4918d53dd3d4 Mon Sep 17 00:00:00 2001
From: "Adam J. Stewart" <ajstewart426@gmail.com>
Date: Wed, 25 Jan 2017 22:41:09 -0600
Subject: [PATCH] Remove intel-parallel-studio +all checks (#2905)

---
 .../packages/intel-parallel-studio/package.py       | 13 -------------
 1 file changed, 13 deletions(-)

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 8564eeb941..941ef9befb 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 = ""
-- 
GitLab