openmc: add v0.12.2, v0.12.1 (#24320)

This commit is contained in:
Paul Romano 2021-06-15 22:19:39 +07:00 committed by GitHub
parent c302887f9b
commit ba65cc73ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View File

@ -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')

View File

@ -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')