ucc: respect cudaFlags

This commit is contained in:
Someone Serge 2023-12-03 21:04:11 +00:00
parent 3e37f3c983
commit 0f047c2372
No known key found for this signature in database
GPG Key ID: 7B0E3B1390D61DA4

View File

@ -41,6 +41,8 @@ stdenv.mkDerivation rec {
preConfigure = ''
./autogen.sh
'' + lib.optionalString enableCuda ''
configureFlagsArray+=( "--with-nvcc-gencode=${builtins.concatStringsSep " " cudaPackages.cudaFlags.gencode}" )
'';
configureFlags = [ ]
++ lib.optional enableSse41 "--with-sse41"