summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/gmsh/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gmsh/package.py b/var/spack/repos/builtin/packages/gmsh/package.py
index 4e0a481fca..8360f2365c 100644
--- a/var/spack/repos/builtin/packages/gmsh/package.py
+++ b/var/spack/repos/builtin/packages/gmsh/package.py
@@ -21,6 +21,7 @@ class Gmsh(CMakePackage):
git = 'https://gitlab.onelab.info/gmsh/gmsh.git'
version('master', branch='master')
+ version('4.10.3', sha256='a87d59ccea596d493d375b0d6bc380079a5e5a4baebf0d3383018b0cd6bd8e33')
version('4.8.4', sha256='760dbdc072eaa3c82d066c5ba3b06eacdd3304eb2a97373fe4ada9509f0b6ace')
version('4.7.1', sha256='c984c295116c757ed165d77149bd5fdd1068cbd7835e9bcd077358b503891c6a')
version('4.7.0', sha256='e27f32f92b374ba2a746a9d9c496401c13f66ac6e3e70753e16fa4012d14320e')
@@ -97,6 +98,7 @@ class Gmsh(CMakePackage):
conflicts('+slepc', when='~petsc')
conflicts('+oce', when='+opencascade')
+ conflicts('+oce', when='^gmsh@4.10:4.10.3')
conflicts('+metis', when='+external',
msg="External Metis cannot build with GMSH")
@@ -166,3 +168,6 @@ class Gmsh(CMakePackage):
options.append(self.define('ENABLE_COMPRESSED_IO', True))
return options
+
+ def setup_run_environment(self, env):
+ env.prepend_path('PYTHONPATH', self.prefix.lib)