Skip to content

Commit

Permalink
gromacs: conflict %apple-clang and +openmp (spack#47935)
Browse files Browse the repository at this point in the history
  • Loading branch information
mabraham authored Dec 10, 2024
1 parent 12dd120 commit 8d83baa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions var/spack/repos/builtin/packages/gromacs/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8d83baa

Please sign in to comment.