gromacs: conflict %apple-clang and +openmp (#47935)

This commit is contained in:
Mark Abraham 2024-12-10 02:39:32 +01:00 committed by GitHub
parent 12dd1208f3
commit 8d83baa35e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -357,6 +357,9 @@ class Gromacs(CMakePackage, CudaPackage):
)
variant("openmp", default=True, description="Enables OpenMP at configure time")
conflicts(
"+openmp", when="%apple-clang", msg="OpenMP not available for the Apple clang compiler"
)
variant("openmp_max_threads", default="none", description="Max number of OpenMP threads")
conflicts(
"+openmp_max_threads", when="~openmp", msg="OpenMP is off but OpenMP Max threads is set"