mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
ucc: respect cudaFlags
This commit is contained in:
parent
3e37f3c983
commit
0f047c2372
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user