I've tried building tensorflow with bazel as follows:
bazel build -c opt --copt="-fPIC" --copt="-g0" //tensorflow/tools/pip_package:build_pip_package
I couldn't see .so file under ~/tensorflow/bazel-bin/tensorflow/core.
There are no .so files but .lo files and .a files.
Could you tell me how to make .so files of tensorflow library?
//tensorflow:libtensorflow.so is the target you are looking for.
bazel build -c opt //tensorflow:libtensorflow.so
should produce the file in bazel-bin/tensorflow.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With