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

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"