summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2022-06-07 08:49:35 -0700
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-07-20 08:10:41 +0200
commit3876367a752af8eb008dc0fcd834df3189e73810 (patch)
tree10067165da8e92c2d8fac352ef1f9ed4c123d1b8
parent19e46499795d9902e77303a155b9c956741d22d9 (diff)
downloadspack-3876367a752af8eb008dc0fcd834df3189e73810.tar.gz
spack-3876367a752af8eb008dc0fcd834df3189e73810.tar.bz2
spack-3876367a752af8eb008dc0fcd834df3189e73810.tar.xz
spack-3876367a752af8eb008dc0fcd834df3189e73810.zip
WarpX: 22.06 (#31012)
* WarpX: 22.06 Update `warpx` & `py-warpx` to the latest release, `22.06`. * Patch: Fix 1D CUDA Builds
-rw-r--r--var/spack/repos/builtin/packages/py-warpx/package.py3
-rw-r--r--var/spack/repos/builtin/packages/warpx/package.py7
2 files changed, 9 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/py-warpx/package.py b/var/spack/repos/builtin/packages/py-warpx/package.py
index ea8cab0a3d..8c0fb01d34 100644
--- a/var/spack/repos/builtin/packages/py-warpx/package.py
+++ b/var/spack/repos/builtin/packages/py-warpx/package.py
@@ -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']:
diff --git a/var/spack/repos/builtin/packages/warpx/package.py b/var/spack/repos/builtin/packages/warpx/package.py
index 039ee9bfe6..bd22fd8f57 100644
--- a/var/spack/repos/builtin/packages/warpx/package.py
+++ b/var/spack/repos/builtin/packages/warpx/package.py
@@ -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