summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/mumax/package.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mumax/package.py b/var/spack/repos/builtin/packages/mumax/package.py
index 7089403d7b..2403e6a4ca 100644
--- a/var/spack/repos/builtin/packages/mumax/package.py
+++ b/var/spack/repos/builtin/packages/mumax/package.py
@@ -79,6 +79,7 @@ class Mumax(MakefilePackage, CudaPackage):
def setup_build_environment(self, env):
env.prepend_path("GOPATH", self.gopath)
env.set("CUDA_CC", self.cuda_arch)
+ env.set("NVCC_CCBIN", spack_cc)
def install(self, spec, prefix):
make()