how to total offline build between different machine and maintain a cache repo? #26990
Unanswered
williamlin0518
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I currently want to build LiteRT in offline mode and upload these cache to let another computer use these dependency to offline build:
my workflow is:
run bazel --output_base cache fetch //... to fetch all external dependency locally at cache on machine 1, which has access to the internet.
then test locally build target without internet, it works
bazel --output_base cache //path/to/target
upload these cache folder to machine 2 to offline build
but this step got failed, and it seems to delete dependency repo in cache/external and re fetch again, so cause error
Beta Was this translation helpful? Give feedback.
All reactions