Skip to content
Snippets Groups Projects
Commit 67d64b80 authored by Patrick Gartung's avatar Patrick Gartung
Browse files

more succinctly

parent 7eb463a6
Branches
Tags
No related merge requests found
...@@ -57,7 +57,7 @@ def install(self, spec, prefix): ...@@ -57,7 +57,7 @@ def install(self, spec, prefix):
if '+openmp' in spec: if '+openmp' in spec:
# Note: Apple's Clang does not support OpenMP. # Note: Apple's Clang does not support OpenMP.
if spec.satisfies('%clang'): if spec.satisfies('%clang'):
ver = '%s' % self.compiler.version ver = str(self.compiler.version)
if ver.endswith('-apple'): if ver.endswith('-apple'):
raise InstallError("Apple's clang does not support OpenMP") raise InstallError("Apple's clang does not support OpenMP")
options.append('--enable-openmp') options.append('--enable-openmp')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment