AMBER: Add conflict clause to avoid using X11 on Cray (#45844)

This commit is contained in:
Cristian Di Pietrantonio 2024-09-28 18:40:19 +08:00 committed by GitHub
parent 04f4493c5b
commit 1b6345828d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -143,6 +143,7 @@ class Amber(Package, CudaPackage):
depends_on("cuda@7.5.18", when="@:16+cuda") depends_on("cuda@7.5.18", when="@:16+cuda")
# conflicts # conflicts
conflicts("+x11", when="platform=cray", msg="x11 amber applications not available for cray")
conflicts("+openmp", when="%clang", msg="OpenMP not available for the clang compiler") conflicts("+openmp", when="%clang", msg="OpenMP not available for the clang compiler")
conflicts( conflicts(
"+openmp", when="%apple-clang", msg="OpenMP not available for the Apple clang compiler" "+openmp", when="%apple-clang", msg="OpenMP not available for the Apple clang compiler"