more succinctly

This commit is contained in:
Patrick Gartung 2016-05-04 23:53:10 +02:00
parent 7eb463a66e
commit 67d64b804f

View File

@ -57,7 +57,7 @@ def install(self, spec, prefix):
if '+openmp' in spec:
# Note: Apple's Clang does not support OpenMP.
if spec.satisfies('%clang'):
ver = '%s' % self.compiler.version
ver = str(self.compiler.version)
if ver.endswith('-apple'):
raise InstallError("Apple's clang does not support OpenMP")
options.append('--enable-openmp')