git.iko.soy/typeable/nixpkgs
on master help sign in
cntk: fix build
commit66201e2c1de3b385f79286c956a15f5b6d227126 authorAustin Butler <austinabutler@gmail.com> dateSun 16 May 2021, 16:52 (6 years ago) parent65f7d4a
1 file changed+4−1
pkgs/applications/science/math/cntk/default.nix+4−1
pkgs/applications/science/math/cntk/default.nix+4−1
@@ -33,6 +33,9 @@ in stdenv.mkDerivation rec {
3333 # Force OpenMPI to use g++ in PATH.
3434 OMPI_CXX = "g++";
3535
36+ # Uses some deprecated tensorflow functions
37+ NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
38+
3639 buildInputs = [ openblas opencv3 libzip boost protobuf mpi ]
3740 ++ lib.optional cudaSupport cudatoolkit
3841 ++ lib.optional cudnnSupport cudnn;
@@ -40,7 +43,7 @@ in stdenv.mkDerivation rec {
4043 configureFlags = [
4144 "--with-opencv=${opencv3}"
4245 "--with-libzip=${libzip.dev}"
43− "--with-openblas=${openblas}"
46+ "--with-openblas=${openblas.dev}"
4447 "--with-boost=${boost.dev}"
4548 "--with-protobuf=${protobuf}"
4649 "--with-mpi=${mpi}"