parent
d978d72e19
commit
5a75f7e0d6
@ -18,15 +18,22 @@ class PyWarpx(PythonPackage):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
homepage = "https://ecp-warpx.github.io"
|
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"
|
git = "https://github.com/ECP-WarpX/WarpX.git"
|
||||||
|
|
||||||
maintainers = ['ax3l', 'dpgrote', 'RemiLehe']
|
maintainers = ['ax3l', 'dpgrote', 'RemiLehe']
|
||||||
|
|
||||||
version('develop', branch='development')
|
version('develop', branch='development')
|
||||||
|
version('21.04', sha256='51d2d8b4542eada96216e8b128c0545c4b7527addc2038efebe586c32c4020a0')
|
||||||
|
|
||||||
variant('mpi', default=True,
|
variant('mpi', default=True,
|
||||||
description='Enable MPI support')
|
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('python@3.6:', type=('build', 'run'))
|
||||||
depends_on('py-numpy@1.15.0:', 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')
|
depends_on('py-mpi4py@2.0.0:', type=('build', 'run'), when='+mpi')
|
||||||
|
@ -17,11 +17,13 @@ class Warpx(CMakePackage):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
homepage = "https://ecp-warpx.github.io"
|
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"
|
git = "https://github.com/ECP-WarpX/WarpX.git"
|
||||||
|
|
||||||
maintainers = ['ax3l', 'dpgrote', 'MaxThevenet', 'RemiLehe']
|
maintainers = ['ax3l', 'dpgrote', 'MaxThevenet', 'RemiLehe']
|
||||||
|
|
||||||
version('develop', branch='development')
|
version('develop', branch='development')
|
||||||
|
version('21.04', sha256='51d2d8b4542eada96216e8b128c0545c4b7527addc2038efebe586c32c4020a0')
|
||||||
|
|
||||||
variant('app', default=True,
|
variant('app', default=True,
|
||||||
description='Build the WarpX executable application')
|
description='Build the WarpX executable application')
|
||||||
|
Loading…
Reference in New Issue
Block a user