lammps: new verisons (#38532)

This commit is contained in:
Richard Berger 2023-06-24 02:49:18 -06:00 committed by GitHub
parent d99892e490
commit 48168de1cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,6 +28,8 @@ class Lammps(CMakePackage, CudaPackage, ROCmPackage):
# marked deprecated=True
# * patch releases older than a stable release should be marked deprecated=True
version("develop", branch="develop")
version("20230615", sha256="8470ed7b26ccd3728f4b44a7f1c520f1af23a648af685fd30b42b840fdfae2ff")
version("20230328", sha256="14f5a5c37e4b46466e90d8b35476800e66acee74999f7358f4c12dfe662bfd99")
version("20230208", sha256="60221242145da4479e5b207d9a0eed90af4168d7a297b4dc8c0e7f2b3215602e")
version("20221222", sha256="75372ee7ef982767fc4ed4dc95e20ddca8247419adeb0c1276c40e43d1eab955")
version("20221103", sha256="d28517b84b157d4e46a1a64ed787b4662d8f2f5ade3f5a04bb0caed068f32f7e")
@ -385,7 +387,7 @@ def url_for_version(self, version):
"kokkos": {},
"kspace": {"default": True},
"latboltz": {"when": "@20210702:"},
"latte": {"when": "@20170922:"},
"latte": {"when": "@20170922:20230328"},
"lepton": {"when": "@20230208:"},
"machdyn": {"when": "@20210702:"},
"manifold": {"when": "@20210702:"},
@ -545,7 +547,7 @@ def url_for_version(self, version):
depends_on("latte@1.0.1", when="@:20180222+latte")
depends_on("latte@1.1.1:", when="@20180316:20180628+latte")
depends_on("latte@1.2.1:", when="@20180629:20200505+latte")
depends_on("latte@1.2.2:", when="@20200602:+latte")
depends_on("latte@1.2.2:", when="@20200602:20230328+latte")
depends_on("blas", when="+latte")
depends_on("lapack", when="+latte")
depends_on("python", when="+python")
@ -653,8 +655,8 @@ def url_for_version(self, version):
# Older LAMMPS does not compile with Kokkos 4.x
conflicts(
"^kokkos @4:",
when="@:20221222",
msg="LAMMPS is incompatible with Kokkos 4.x until @20230208",
when="@:20230615",
msg="LAMMPS is incompatible with Kokkos 4.x until @20230615",
)
patch("lib.patch", when="@20170901")