summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Romano <paul.k.romano@gmail.com>2021-06-15 22:19:39 +0700
committerGitHub <noreply@github.com>2021-06-15 09:19:39 -0600
commitba65cc73ef7fadf47865c12a626e132330171d7b (patch)
treefd0986cc93b291314d40eff88607abcf5e4b9c58
parentc302887f9bd9bd7f1b0c34e7daecfc8ca5df77db (diff)
downloadspack-ba65cc73ef7fadf47865c12a626e132330171d7b.tar.gz
spack-ba65cc73ef7fadf47865c12a626e132330171d7b.tar.bz2
spack-ba65cc73ef7fadf47865c12a626e132330171d7b.tar.xz
spack-ba65cc73ef7fadf47865c12a626e132330171d7b.zip
openmc: add v0.12.2, v0.12.1 (#24320)
-rw-r--r--var/spack/repos/builtin/packages/openmc/package.py6
-rw-r--r--var/spack/repos/builtin/packages/py-openmc/package.py8
2 files changed, 9 insertions, 5 deletions
diff --git a/var/spack/repos/builtin/packages/openmc/package.py b/var/spack/repos/builtin/packages/openmc/package.py
index 1088aeec60..4afe16437d 100644
--- a/var/spack/repos/builtin/packages/openmc/package.py
+++ b/var/spack/repos/builtin/packages/openmc/package.py
@@ -14,12 +14,14 @@ class Openmc(CMakePackage):
sections. The project started under the Computational Reactor Physics
Group at MIT."""
- homepage = "http://openmc.readthedocs.io/"
- url = "https://github.com/openmc-dev/openmc/tarball/v0.10.0"
+ homepage = "https://docs.openmc.org/"
+ url = "https://github.com/openmc-dev/openmc/tarball/v0.12.2"
git = "https://github.com/openmc-dev/openmc.git"
version('develop', branch='develop', submodules=True)
version('master', branch='master', submodules=True)
+ version('0.12.2', tag='v0.12.2', submodules=True)
+ version('0.12.1', tag='v0.12.1', submodules=True)
version('0.12.0', tag='v0.12.0', submodules=True)
version('0.11.0', sha256='19a9d8e9c3b581e9060fbd96d30f1098312d217cb5c925eb6372a5786d9175af')
version('0.10.0', sha256='47650cb45e2c326ae439208d6f137d75ad3e5c657055912d989592c6e216178f')
diff --git a/var/spack/repos/builtin/packages/py-openmc/package.py b/var/spack/repos/builtin/packages/py-openmc/package.py
index e3ffcba6c6..6f03b07327 100644
--- a/var/spack/repos/builtin/packages/py-openmc/package.py
+++ b/var/spack/repos/builtin/packages/py-openmc/package.py
@@ -13,19 +13,21 @@ class PyOpenmc(PythonPackage):
sections. The project started under the Computational Reactor Physics
Group at MIT."""
- homepage = "http://openmc.readthedocs.io/"
- url = "https://github.com/openmc-dev/openmc/tarball/v0.11.0"
+ homepage = "https://docs.openmc.org/"
+ url = "https://github.com/openmc-dev/openmc/tarball/v0.12.2"
git = "https://github.com/openmc-dev/openmc.git"
version('develop', branch='develop')
version('master', branch='master')
+ version('0.12.2', tag='v0.12.2', submodules=True)
+ version('0.12.1', tag='v0.12.1', submodules=True)
version('0.12.0', tag='v0.12.0', submodules=True)
version('0.11.0', sha256='19a9d8e9c3b581e9060fbd96d30f1098312d217cb5c925eb6372a5786d9175af')
variant('mpi', default=False, description='Enable MPI support')
# keep py-openmc and openmc at the same version
- for ver in ['develop', 'master', '0.12.0', '0.11.0']:
+ for ver in ['develop', 'master', '0.12.2', '0.12.1', '0.12.0', '0.11.0']:
depends_on(
'openmc+mpi@{0}'.format(ver), when='@{0}+mpi'.format(ver),
type=('build', 'run')