magma: use cudatoolkit
This commit is contained in:
parent
cfdcce7052
commit
f12199614d
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user