summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Lacroix <remi.lacroix@idris.fr>2022-10-25 19:40:08 +0200
committerGitHub <noreply@github.com>2022-10-25 10:40:08 -0700
commitd2e75045b8a5e094d1c9772a0f2cd762cf3ce21b (patch)
tree558c5785217704a143a8f7b398ea2460001f0e52
parent09e0bd55c2ab2d4678efc693c3d3b79ef7c238f4 (diff)
downloadspack-d2e75045b8a5e094d1c9772a0f2cd762cf3ce21b.tar.gz
spack-d2e75045b8a5e094d1c9772a0f2cd762cf3ce21b.tar.bz2
spack-d2e75045b8a5e094d1c9772a0f2cd762cf3ce21b.tar.xz
spack-d2e75045b8a5e094d1c9772a0f2cd762cf3ce21b.zip
Gmsh: Fix CGNS support for version up to 4.7.1 (#33508)
Gmsh started supporting the "scoping" option of CGNS in version 4.8.0.
-rw-r--r--var/spack/repos/builtin/packages/gmsh/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gmsh/package.py b/var/spack/repos/builtin/packages/gmsh/package.py
index 5f8166b2d8..9651333ce9 100644
--- a/var/spack/repos/builtin/packages/gmsh/package.py
+++ b/var/spack/repos/builtin/packages/gmsh/package.py
@@ -91,6 +91,7 @@ class Gmsh(CMakePackage):
depends_on("zlib", when="+compression")
depends_on("metis", when="+metis+external")
depends_on("cgns", when="+cgns")
+ depends_on("cgns~scoping", when="+cgns @:4.7.1")
with when("+petsc"):
depends_on("petsc~int64")
depends_on("petsc+mpi", when="+mpi")