summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/charmpp/package.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/charmpp/package.py b/var/spack/repos/builtin/packages/charmpp/package.py
index 923780256a..3239e215b2 100644
--- a/var/spack/repos/builtin/packages/charmpp/package.py
+++ b/var/spack/repos/builtin/packages/charmpp/package.py
@@ -131,6 +131,16 @@ class Charmpp(Package):
# https://github.com/UIUC-PPL/charm/issues/3181
conflicts("+shared", when="platform=darwin %gcc")
+ # Charm++ versions below 7.0.0 have build issues on macOS, mainly due to the
+ # pre-7.0.0 `VERSION` file conflicting with other version files on the
+ # system: https://github.com/UIUC-PPL/charm/issues/2844. Specifically, it
+ # conflicts with LLVM's `<version>` header that was added in llvm@7.0.0 to
+ # comply with the C++20 standard:
+ # https://en.cppreference.com/w/cpp/header/version. The conflict only occurs
+ # on case-insensitive file systems, as typically used on macOS machines.
+ conflicts("@:6", when="platform=darwin %apple-clang@7:")
+ conflicts("@:6", when="platform=darwin %clang@7:")
+
@property
def charmarch(self):
plat = sys.platform