Merge pull request #145149 from veprbl/pr/tensorflow_zhf_2111

pythonPackages.tensorflow: fix for darwin
This commit is contained in:
Jörg Thalheim 2021-11-09 19:32:34 +00:00 committed by GitHub
commit b0e11689ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -283,6 +283,7 @@ let
bazelBuildFlags = [
"--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" ];
bazelTarget = "//tensorflow/tools/pip_package:build_pip_package //tensorflow/tools/lib_package:libtensorflow";