pythonPackages.tensorflow: fix for darwin
This commit is contained in:
parent
3119a60230
commit
85ec7e8756
1 changed files with 1 additions and 0 deletions
|
@ -283,6 +283,7 @@ let
|
||||||
bazelBuildFlags = [
|
bazelBuildFlags = [
|
||||||
"--config=opt" # optimize using the flags set in the configure phase
|
"--config=opt" # optimize using the flags set in the configure phase
|
||||||
]
|
]
|
||||||
|
++ lib.optionals stdenv.cc.isClang [ "--cxxopt=-x" "--cxxopt=c++" "--host_cxxopt=-x" "--host_cxxopt=c++" ]
|
||||||
++ lib.optionals (mklSupport) [ "--config=mkl" ];
|
++ lib.optionals (mklSupport) [ "--config=mkl" ];
|
||||||
|
|
||||||
bazelTarget = "//tensorflow/tools/pip_package:build_pip_package //tensorflow/tools/lib_package:libtensorflow";
|
bazelTarget = "//tensorflow/tools/pip_package:build_pip_package //tensorflow/tools/lib_package:libtensorflow";
|
||||||
|
|
Loading…
Reference in a new issue