I’m trying to build tensorflow shared libraries with a few custom options added but can’t figure out how libtensorflow_framework.so is being build. There is a tf_cc_shared_object(name = "libtensorflow_framework.so",... target in tensorflow/BUILD but it doesn’t seem to do anything since any modification I do to it don’t affect the outcome in any way. bazel aquery "outputs('libtensorflow_framework.so', //tensorflow/tools/pip_package:wheel)" --o utput=text also returned nothing.
Hi @flashmozzg, Modifications to tf_cc_shared_object may fail, because wheel builds might use a config-selected variant. To apply custom options, build the target directly, and make sure ./configure has been run. If changes still don’t appear, clear Bazel’s cache (bazel clean --expunge) and verify the exact target and configuration with /aquery. Thanks!