mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
mxnet: move defaults to package file
This commit is contained in:
parent
11b6496557
commit
49148a3ea2
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, lib, fetchurl, bash, cmake
|
{ config, stdenv, lib, fetchurl, bash, cmake
|
||||||
, opencv, gtest, openblas, liblapack, perl
|
, opencv, gtest, openblas, liblapack, perl
|
||||||
, cudaSupport ? false, cudatoolkit, nvidia_x11
|
, cudaSupport ? config.cudaSupport or false, cudatoolkit, nvidia_x11
|
||||||
, cudnnSupport ? false, cudnn
|
, cudnnSupport ? cudaSupport, cudnn
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert cudnnSupport -> cudaSupport;
|
assert cudnnSupport -> cudaSupport;
|
||||||
|
@ -21902,9 +21902,7 @@ in
|
|||||||
sbcl = null;
|
sbcl = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
mxnet = callPackage ../applications/science/math/mxnet rec {
|
mxnet = callPackage ../applications/science/math/mxnet {
|
||||||
cudaSupport = config.cudaSupport or false;
|
|
||||||
cudnnSupport = cudaSupport;
|
|
||||||
inherit (linuxPackages) nvidia_x11;
|
inherit (linuxPackages) nvidia_x11;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user