Fix intel-mpi installation (#4438)

This commit is contained in:
Michael Kuhn 2017-06-06 18:24:33 +02:00 committed by Adam J. Stewart
parent aa51e766cd
commit f7b8b75c12

View File

@ -69,6 +69,7 @@ def license_required(self):
# https://software.intel.com/en-us/articles/free-mkl
if (self.spec.satisfies("intel-mkl@2017.2:") or
self.spec.satisfies("intel-daal@2017.2:") or
self.spec.satisfies("intel-mpi@2017.2:") or
self.spec.satisfies("intel-ipp@2017.2:")):
return False
return True
@ -103,6 +104,7 @@ def install(self, spec, prefix):
# https://software.intel.com/en-us/articles/free-mkl
if not (spec.satisfies("intel-mkl@2017.2:") or
spec.satisfies("intel-daal@2017.2:") or
spec.satisfies("intel-mpi@2017.2:") or
spec.satisfies("intel-ipp@2017.2:")):
with open(silent_config_filename, 'a') as f:
f.write("""