-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Hello there,
Just to help anyone trying to compile 1.15.3 (or any version > 1.13.1), I leave here a link to my fork of this repo so it may be helpful to you.
Basically, I updated the required dependencies and included the missing symbols in patches/def_file_filter.py.tpl instead of patches/tf_exported_symbols_msvc.lds. Then, before building Tensorflow with bazel, I simply overwrite the default def_file_filter with mine (just like @guikarist did with the .lds file).
By doing so, Tensorflow will be built with those symbols, avoiding any linking errors. In my case I had to add some symbols, build, check, add new symbols, and so on.
Just to sum up, the key changes to make this work can be found in this commit.
If anyone has any doubts, please do not hesitate to reply to this issue.
Hope it helps,
PS: one will also need to update the helpful script https://gist.github.com/guikarist/e10dff3a4e777856cf40e44713fc2cb7 to account for name changes between versions. I attach mine just as a guide as your needs may vary (fewer or more needed includes, etc.)
extract-built-tensorflow-cpp-api.txt. Change the extension back to ps1 before modifying and running it!
Cheers!