summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2023-01-25 22:20:55 +0100
committerGitHub <noreply@github.com>2023-01-25 13:20:55 -0800
commitc529a0fddf1bc7ce82bf6ab3eaf0b3f9a4235bfb (patch)
treeb5086038dd19d67812bac527f6cdecf54ba94c71
parentd7265d7ddcb90a32c202bc2df131895ebec0d366 (diff)
downloadspack-c529a0fddf1bc7ce82bf6ab3eaf0b3f9a4235bfb.tar.gz
spack-c529a0fddf1bc7ce82bf6ab3eaf0b3f9a4235bfb.tar.bz2
spack-c529a0fddf1bc7ce82bf6ab3eaf0b3f9a4235bfb.tar.xz
spack-c529a0fddf1bc7ce82bf6ab3eaf0b3f9a4235bfb.zip
qperf: add verbs support (#35147)
-rw-r--r--var/spack/repos/builtin/packages/qperf/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/qperf/package.py b/var/spack/repos/builtin/packages/qperf/package.py
index 909e638ee3..9f66e4fc10 100644
--- a/var/spack/repos/builtin/packages/qperf/package.py
+++ b/var/spack/repos/builtin/packages/qperf/package.py
@@ -18,11 +18,15 @@ class Qperf(AutotoolsPackage):
version("0.4.11", sha256="b0ef2ffe050607566d06102b4ef6268aad08fdc52898620d429096e7b0767e75")
version("0.4.10", sha256="94e26725b4f962eacca36d8ef48cd1fb5043721ac82c3f44018319e47a96cf6b")
+ variant("verbs", default=True, description="Build with verbs support")
+
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("libtool", type="build")
depends_on("m4", type="build")
+ depends_on("rdma-core", when="+verbs")
+
def autoreconf(self, spec, prefix):
sh = which("sh")
sh("autogen.sh")