Skip to content

Patches

Guikarist edited this page Feb 8, 2020 · 5 revisions

Several patches are applied during buiding Tensorflow. Details of them are described below.

Eigen Patch

C++ Symbol Patch

  • Versions needed to be patched: v1.13.1, v1.12.0, v1.11.0
  • Behavior without being patched: Building process will not be affected. But link errors will occur when using built library.
  • Expected behavior: Linking symbols normally
  • Notes: Now directly building *.dll is not supported by Tensorflow. The alternative way is building libtensorflow_cc.so and then renaming it to libtensorflow.dll. However, no C++ symbols are exported after building. This method is feasible but obviously not the best, which should be improved by maintainers of Tensorflow. Now an issue closely related is posted, with a wider request on complete support for building on Windows (e.g. properly compiling built external libraries with .a extension). And a pull request is waiting for reviewing.
  • References:
Clone this wiki locally