rocm-dbgapi: add pciutils dependency (#47605)
* add pciutils dependency * add maintainer
This commit is contained in:
parent
a6fdd7608f
commit
3bcb8a9236
@ -19,7 +19,7 @@ class RocmDbgapi(CMakePackage):
|
|||||||
url = "https://github.com/ROCm/ROCdbgapi/archive/rocm-6.1.2.tar.gz"
|
url = "https://github.com/ROCm/ROCdbgapi/archive/rocm-6.1.2.tar.gz"
|
||||||
tags = ["rocm"]
|
tags = ["rocm"]
|
||||||
|
|
||||||
maintainers("srekolam", "renjithravindrankannath")
|
maintainers("srekolam", "renjithravindrankannath", "afzpatel")
|
||||||
libraries = ["librocm-dbgapi"]
|
libraries = ["librocm-dbgapi"]
|
||||||
|
|
||||||
license("MIT")
|
license("MIT")
|
||||||
@ -53,6 +53,7 @@ class RocmDbgapi(CMakePackage):
|
|||||||
depends_on("cxx", type="build") # generated
|
depends_on("cxx", type="build") # generated
|
||||||
depends_on("cmake@3:", type="build")
|
depends_on("cmake@3:", type="build")
|
||||||
depends_on("hwdata", when="@5.5.0:")
|
depends_on("hwdata", when="@5.5.0:")
|
||||||
|
depends_on("pciutils", when="@5.5.0:")
|
||||||
|
|
||||||
for ver in [
|
for ver in [
|
||||||
"5.3.0",
|
"5.3.0",
|
||||||
@ -123,4 +124,6 @@ def cmake_args(self):
|
|||||||
args = []
|
args = []
|
||||||
if self.spec.satisfies("@5.3.0:"):
|
if self.spec.satisfies("@5.3.0:"):
|
||||||
args.append(self.define("CMAKE_INSTALL_LIBDIR", "lib"))
|
args.append(self.define("CMAKE_INSTALL_LIBDIR", "lib"))
|
||||||
|
if self.spec.satisfies("@5.5.0:"):
|
||||||
|
args.append(self.define("PCI_IDS_PATH", self.spec["pciutils"].prefix.share))
|
||||||
return args
|
return args
|
||||||
|
Loading…
Reference in New Issue
Block a user