gdrcopy: allow tests to build against libcuda.so stub (#46500)
This commit is contained in:
parent
cb673862d1
commit
170e322701
@ -30,7 +30,14 @@ class Gdrcopy(MakefilePackage, CudaPackage):
|
|||||||
|
|
||||||
# Don't call ldconfig: https://github.com/NVIDIA/gdrcopy/pull/229
|
# Don't call ldconfig: https://github.com/NVIDIA/gdrcopy/pull/229
|
||||||
patch("ldconfig.patch", when="@2.0:2.3")
|
patch("ldconfig.patch", when="@2.0:2.3")
|
||||||
|
# Allow tests to build against libcuda.so stub
|
||||||
|
patch(
|
||||||
|
"https://github.com/NVIDIA/gdrcopy/commit/508dd6179dcb04ba7720e2da5124b77bbdb615b0.patch?full_index=1",
|
||||||
|
sha256="cc18b13b6ea5512959464a85a43cdfda0bee5522a471e98ca76ba379bf582b5a",
|
||||||
|
when="@2.0:2.3",
|
||||||
|
)
|
||||||
|
|
||||||
|
depends_on("pkgconfig", type="build", when="@2.0:2.3")
|
||||||
depends_on("check")
|
depends_on("check")
|
||||||
requires("+cuda")
|
requires("+cuda")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user