tensorflow-windows-wheel icon indicating copy to clipboard operation
tensorflow-windows-wheel copied to clipboard

Could you give some precedure of building tf with bazel?

Open 7oud opened this issue 5 years ago • 5 comments

I find 1.14 cxx lib in the repo, very helpful! And I want to build tf2 on Windows, Could you give some advice for building tf with bazel on Windows, it seems quite difficult. Or May I build tf2 using cmake?

7oud avatar Nov 27 '19 03:11 7oud

bazel build --config=opt //tensorflow:tensorflow_cc

https://www.tensorflow.org/install/source_windows

fo40225 avatar Nov 27 '19 15:11 fo40225

yes, I have followed this guide and build tf1.13.1 lib for windows, but lots of problems including no export symbols, only .so file was built and so on, Is tf1.14 fix these problems?

7oud avatar Nov 28 '19 04:11 7oud

Until Tensorflow 1.14 did support building cpp lib with bazel.

fo40225 avatar Nov 28 '19 06:11 fo40225

thanks!!! the tf1.14 c++ lib for windows in the repo is built with vs2015 or vs2017?

7oud avatar Nov 28 '19 06:11 7oud

VS2019 16.1

fo40225 avatar Nov 28 '19 08:11 fo40225