diff options
author | Patrick Gartung <gartung@fnal.gov> | 2016-05-04 15:05:56 +0200 |
---|---|---|
committer | Patrick Gartung <gartung@fnal.gov> | 2016-05-04 15:05:56 +0200 |
commit | 7eb463a66e600e7a4d9692610763bfffbe9ac64a (patch) | |
tree | edda3df841f30eae59c60b7d8eed5be0d42b0d95 /var | |
parent | 83108f815ce09fa95e99e0ef747cf3cee50328b2 (diff) | |
download | spack-7eb463a66e600e7a4d9692610763bfffbe9ac64a.tar.gz spack-7eb463a66e600e7a4d9692610763bfffbe9ac64a.tar.bz2 spack-7eb463a66e600e7a4d9692610763bfffbe9ac64a.tar.xz spack-7eb463a66e600e7a4d9692610763bfffbe9ac64a.zip |
only fail when it is apples clang
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/fftw/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fftw/package.py b/var/spack/repos/builtin/packages/fftw/package.py index eb8f96cbac..008939ece8 100644 --- a/var/spack/repos/builtin/packages/fftw/package.py +++ b/var/spack/repos/builtin/packages/fftw/package.py @@ -57,6 +57,8 @@ class Fftw(Package): if '+openmp' in spec: # Note: Apple's Clang does not support OpenMP. if spec.satisfies('%clang'): + ver = '%s' % self.compiler.version + if ver.endswith('-apple'): raise InstallError("Apple's clang does not support OpenMP") options.append('--enable-openmp') if not self.compiler.f77 or not self.compiler.fc: |