summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/f18/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/f18/package.py')
-rw-r--r--var/spack/repos/builtin/packages/f18/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/f18/package.py b/var/spack/repos/builtin/packages/f18/package.py
index 699cfde6c6..235210c142 100644
--- a/var/spack/repos/builtin/packages/f18/package.py
+++ b/var/spack/repos/builtin/packages/f18/package.py
@@ -30,6 +30,9 @@ class F18(CMakePackage):
# Conflicts
compiler_warning = 'F18 requires a compiler with support for C++17'
+ # See https://en.wikipedia.org/wiki/Xcode#Latest_versions for a
+ # conversion table from LLVM versions to Apple's Clang
+ conflicts('%apple-clang@:10.1', msg=compiler_warning)
conflicts('%clang@:6', msg=compiler_warning)
conflicts('%gcc@:7.1', msg=compiler_warning)
conflicts('%intel', msg=compiler_warning)