WarpX: 21.04 (#22740)

Update WarpX: add first tagged version.
This commit is contained in:
Axel Huebl 2021-04-02 11:37:56 -07:00 committed by GitHub
parent d978d72e19
commit 5a75f7e0d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -18,15 +18,22 @@ class PyWarpx(PythonPackage):
"""
homepage = "https://ecp-warpx.github.io"
url = "https://github.com/ECP-WarpX/WarpX/archive/refs/tags/21.04.tar.gz"
git = "https://github.com/ECP-WarpX/WarpX.git"
maintainers = ['ax3l', 'dpgrote', 'RemiLehe']
version('develop', branch='development')
version('21.04', sha256='51d2d8b4542eada96216e8b128c0545c4b7527addc2038efebe586c32c4020a0')
variant('mpi', default=True,
description='Enable MPI support')
for v in ['21.04', 'develop']:
depends_on('warpx@{0}'.format(v),
when='@{0}'.format(v),
type=['build', 'link'])
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-numpy@1.15.0:', type=('build', 'run'))
depends_on('py-mpi4py@2.0.0:', type=('build', 'run'), when='+mpi')

View File

@ -17,11 +17,13 @@ class Warpx(CMakePackage):
"""
homepage = "https://ecp-warpx.github.io"
url = "https://github.com/ECP-WarpX/WarpX/archive/refs/tags/21.04.tar.gz"
git = "https://github.com/ECP-WarpX/WarpX.git"
maintainers = ['ax3l', 'dpgrote', 'MaxThevenet', 'RemiLehe']
version('develop', branch='development')
version('21.04', sha256='51d2d8b4542eada96216e8b128c0545c4b7527addc2038efebe586c32c4020a0')
variant('app', default=True,
description='Build the WarpX executable application')