WarpX: 22.06 (#31012)

* WarpX: 22.06

Update `warpx` & `py-warpx` to the latest release, `22.06`.

* Patch: Fix 1D CUDA Builds
This commit is contained in:
Axel Huebl 2022-06-07 08:49:35 -07:00 committed by GitHub
parent 560472ce3a
commit 449e885d4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -27,6 +27,7 @@ class PyWarpx(PythonPackage):
# NOTE: if you update the versions here, also see warpx
version('develop', branch='development')
version('22.06', sha256='e78398e215d3fc6bc5984f5d1c2ddeac290dcbc8a8e9d196e828ef6299187db9')
version('22.05', sha256='2fa69e6a4db36459b67bf663e8fbf56191f6c8c25dc76301dbd02a36f9b50479')
version('22.04', sha256='9234d12e28b323cb250d3d2cefee0b36246bd8a1d1eb48e386f41977251c028f')
version('22.03', sha256='ddbef760c8000f2f827dfb097ca3359e7aecbea8766bec5c3a91ee28d3641564')
@ -45,7 +46,7 @@ class PyWarpx(PythonPackage):
variant('mpi', default=True,
description='Enable MPI support')
for v in ['22.05', '22.04', '22.03', '22.02', '22.01',
for v in ['22.06', '22.05', '22.04', '22.03', '22.02', '22.01',
'21.12', '21.11', '21.10', '21.09', '21.08', '21.07', '21.06',
'21.05', '21.04',
'develop']:

View File

@ -25,6 +25,7 @@ class Warpx(CMakePackage):
# NOTE: if you update the versions here, also see py-warpx
version('develop', branch='development')
version('22.06', sha256='e78398e215d3fc6bc5984f5d1c2ddeac290dcbc8a8e9d196e828ef6299187db9')
version('22.05', sha256='2fa69e6a4db36459b67bf663e8fbf56191f6c8c25dc76301dbd02a36f9b50479')
version('22.04', sha256='9234d12e28b323cb250d3d2cefee0b36246bd8a1d1eb48e386f41977251c028f')
version('22.03', sha256='ddbef760c8000f2f827dfb097ca3359e7aecbea8766bec5c3a91ee28d3641564')
@ -149,6 +150,12 @@ class Warpx(CMakePackage):
sha256='dab6fb44556ee1fd466a4cb0e20f89bde1ce445c9a51a2c0f59d1740863b5e7d',
when='@22.04,22.05')
# Fix failing 1D CUDA build
# https://github.com/ECP-WarpX/WarpX/pull/3162
patch('https://github.com/ECP-WarpX/WarpX/pull/3162.patch?full_index=1',
sha256='0ae573d1390ed8063f84e3402d30d34e522e65dc5dfeea3d07e165127ab373e9',
when='@22.06')
def cmake_args(self):
spec = self.spec