magma: use cudatoolkit

This commit is contained in:
Sam Stites 2019-10-20 17:06:31 -04:00 committed by Jon
parent cfdcce7052
commit f12199614d

View File

@ -24,6 +24,10 @@ in stdenv.mkDerivation {
MKLROOT = optionalString mklSupport mkl;
preConfigure = ''
export CC=${cudatoolkit.cc}/bin/gcc CXX=${cudatoolkit.cc}/bin/g++
'';
enableParallelBuilding=true;
buildFlags = [ "magma" "magma_sparse" ];