mumax: Set NVCC_CCBIN to spack compiler wrapper (#34754)
This commit is contained in:
parent
c07881c843
commit
2c1523debe
@ -79,6 +79,7 @@ def edit(self, spec, prefix):
|
|||||||
def setup_build_environment(self, env):
|
def setup_build_environment(self, env):
|
||||||
env.prepend_path("GOPATH", self.gopath)
|
env.prepend_path("GOPATH", self.gopath)
|
||||||
env.set("CUDA_CC", self.cuda_arch)
|
env.set("CUDA_CC", self.cuda_arch)
|
||||||
|
env.set("NVCC_CCBIN", spack_cc)
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
make()
|
make()
|
||||||
|
Loading…
Reference in New Issue
Block a user