-
Notifications
You must be signed in to change notification settings - Fork 35
Patches
Guikarist edited this page Feb 8, 2020
·
5 revisions
Several patches are applied during buiding Tensorflow. Details of them are described below.
-
Versions needed to be patched:
v1.12.0
,v1.11.0
-
Behavior without being patched: An error will occur related to
eigen
during building with Bazel. - Expected behavior: Building normally
- References:
-
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 buildinglibtensorflow_cc.so
and then renaming it tolibtensorflow.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: