summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcost2 <52476474+marcost2@users.noreply.github.com>2022-11-26 17:04:48 -0300
committerGitHub <noreply@github.com>2022-11-26 21:04:48 +0100
commitce71a38703d712253b2f30de6f3486aaf265d522 (patch)
tree97bb4930abbe769dd598c39be574c7a8762af53d
parent12c23f2724be0748f2d5a066254779f2f4bf39da (diff)
downloadspack-ce71a38703d712253b2f30de6f3486aaf265d522.tar.gz
spack-ce71a38703d712253b2f30de6f3486aaf265d522.tar.bz2
spack-ce71a38703d712253b2f30de6f3486aaf265d522.tar.xz
spack-ce71a38703d712253b2f30de6f3486aaf265d522.zip
nvtop: Add 2.0.3, 2.0.4, 3.0.0 and 3.0.1 (#34145)
* And add the option to compile support for Intel GPU's
-rw-r--r--var/spack/repos/builtin/packages/nvtop/package.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/nvtop/package.py b/var/spack/repos/builtin/packages/nvtop/package.py
index 8fbb159e8c..c75fc081bf 100644
--- a/var/spack/repos/builtin/packages/nvtop/package.py
+++ b/var/spack/repos/builtin/packages/nvtop/package.py
@@ -12,10 +12,14 @@ class Nvtop(CMakePackage, CudaPackage):
information about them in a htop familiar way"""
homepage = "https://github.com/Syllo/nvtop"
- url = "https://github.com/Syllo/nvtop/archive/refs/tags/2.0.2.zip"
+ url = "https://github.com/Syllo/nvtop/archive/refs/tags/3.0.1.zip"
maintainers = ["marcost2"]
+ version("3.0.1", sha256="3cb6df2390e29792ed90de54c9332ec25e9d960abddcbb92d8544d658da2b5b3")
+ version("3.0.0", sha256="711f1a1ef51ed3f7b1d61c858c4ac1fabb244595cf7b2403f80efcabe81d889e")
+ version("2.0.4", sha256="5dc96057597343c66ebe46ae1a5415749ffbfafde99358eea6b533d6fee232e8")
+ version("2.0.3", sha256="d5fb13bf0bfe2d18fbb6e073020c346e4778c1183293d9ceee1468d900fc297e")
version("2.0.2", sha256="9a85c083e45be0a2d3e2135ce8df5a97340388fa7c72f086571826d501fec1de")
version("2.0.1", sha256="ef18ce85d632eb1c22d3a3653976b2c088260039702df39fd0181f7cd3ae277d")
version("2.0.0", sha256="1651f34274c334a682f280dcb2f28d9642d44c7b22afe8c431cab91345b50f31")
@@ -24,8 +28,8 @@ class Nvtop(CMakePackage, CudaPackage):
variant(
"support",
- values=("nvidia", "amd"),
- default="nvidia,amd",
+ values=("nvidia", "amd", "intel"),
+ default="nvidia,amd,intel",
multi=True,
description="Which GPU vendors to build support for",
)
@@ -37,4 +41,5 @@ class Nvtop(CMakePackage, CudaPackage):
return [
self.define("NVIDIA_SUPPORT", self.spec.satisfies("support=nvidia")),
self.define("AMDGPU_SUPPORT", self.spec.satisfies("support=amd")),
+ self.define("INTEL_SUPPORT", self.spec.satisfies("support=intel")),
]