Merge pull request #145149 from veprbl/pr/tensorflow_zhf_2111

pythonPackages.tensorflow: fix for darwin

authored by

Jörg Thalheim and committed by
GitHub
b0e11689 1ccbefc4

+1
+1
pkgs/development/python-modules/tensorflow/default.nix
··· 283 283 bazelBuildFlags = [ 284 284 "--config=opt" # optimize using the flags set in the configure phase 285 285 ] 286 + ++ lib.optionals stdenv.cc.isClang [ "--cxxopt=-x" "--cxxopt=c++" "--host_cxxopt=-x" "--host_cxxopt=c++" ] 286 287 ++ lib.optionals (mklSupport) [ "--config=mkl" ]; 287 288 288 289 bazelTarget = "//tensorflow/tools/pip_package:build_pip_package //tensorflow/tools/lib_package:libtensorflow";