Skip to content

Commit 8d83baa

Browse files
authored
gromacs: conflict %apple-clang and +openmp (spack#47935)
1 parent 12dd120 commit 8d83baa

File tree

1 file changed

+3
-0
lines changed
  • var/spack/repos/builtin/packages/gromacs

1 file changed

+3
-0
lines changed

var/spack/repos/builtin/packages/gromacs/package.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,9 @@ class Gromacs(CMakePackage, CudaPackage):
357357
)
358358

359359
variant("openmp", default=True, description="Enables OpenMP at configure time")
360+
conflicts(
361+
"+openmp", when="%apple-clang", msg="OpenMP not available for the Apple clang compiler"
362+
)
360363
variant("openmp_max_threads", default="none", description="Max number of OpenMP threads")
361364
conflicts(
362365
"+openmp_max_threads", when="~openmp", msg="OpenMP is off but OpenMP Max threads is set"

0 commit comments

Comments
 (0)