gdrcopy: specify CUDA envvar during build (#45415)
otherwise /usr/local/cuda is used
This commit is contained in:
parent
16a2a5047c
commit
fa38dd9386
@ -34,6 +34,9 @@ class Gdrcopy(MakefilePackage, CudaPackage):
|
|||||||
depends_on("check")
|
depends_on("check")
|
||||||
requires("+cuda")
|
requires("+cuda")
|
||||||
|
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
env.set("CUDA", self.spec["cuda"].prefix)
|
||||||
|
|
||||||
def build(self, spec, prefix):
|
def build(self, spec, prefix):
|
||||||
make("lib")
|
make("lib")
|
||||||
make("exes")
|
make("exes")
|
||||||
|
Loading…
Reference in New Issue
Block a user