summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTZ <tz-rrze@users.noreply.github.com>2021-03-22 15:34:04 +0100
committerGitHub <noreply@github.com>2021-03-22 15:34:04 +0100
commit951c4a6cf267b0664b50bb595688aa2443e0e961 (patch)
treee01a984f9e5f40bd8b5f6ea091eea60d53924dc5 /var
parent62f9de535c6dd638782c318caba11d9ea01d5184 (diff)
downloadspack-951c4a6cf267b0664b50bb595688aa2443e0e961.tar.gz
spack-951c4a6cf267b0664b50bb595688aa2443e0e961.tar.bz2
spack-951c4a6cf267b0664b50bb595688aa2443e0e961.tar.xz
spack-951c4a6cf267b0664b50bb595688aa2443e0e961.zip
lammps: patch for CUDA-11.x with lammps 21 Jul 2020 (#22434)
apply upstream patch to make lammps 21 Jul 2020 work with CUDA-11.x (support for compute_30 removed)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/lammps/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lammps/package.py b/var/spack/repos/builtin/packages/lammps/package.py
index 509d17d2d6..0b6ebecd7b 100644
--- a/var/spack/repos/builtin/packages/lammps/package.py
+++ b/var/spack/repos/builtin/packages/lammps/package.py
@@ -155,6 +155,9 @@ class Lammps(CMakePackage, CudaPackage):
patch("lib.patch", when="@20170901")
patch("660.patch", when="@20170922")
+ patch("https://github.com/lammps/lammps/commit/562300996285fdec4ef74542383276898555af06.patch",
+ sha256="7e1610dad4d8203b45ca6dc2c1f97d02a40f98a5e9778f51a3dbcc30ea1dc717",
+ when="@20200721 +cuda")
root_cmakelists_dir = 'cmake'