TensorfFlow bazel build problem

53 views
Skip to first unread message

Tomas Fonseca

unread,
Mar 4, 2024, 12:32:50 PM3/4/24
to bazel-discuss
Hello, when i want to build tf from source I do

bazel build  tensorflow/tools/pip_package:build_pip_package

Yesterday, I did this command twice and it only compiled the file I had changed, resulting in a very fast build, after the 1st one. Afterwards, I turned my PC off.

Today, I went to work on the project again, changed a file and did bazel build to check the changes. To my surprise, bazel started building everything again. This means it has to compile ~15k files which takes 2h30.

Is there a way to fix this? 

Thank you
Reply all
Reply to author
Forward
0 new messages