-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to use the wheel cache #20
Comments
It doesn't work with --action_env, since the caching happens inside a repository rule. Try this instead:
|
Ah, right. I hadn't tried that because I thought it was too obvious and simple. |
I still can't get it to work with Dazel (which, I see, you forked, too). I even edited the Dazel sources to pass the hardcoded |
I've been meaning to provide an example how to do this. Actually, I've already stopped using
Then, I have customized
And in WORKSPACE:
I haven't had time to clean the "cdn" code to be generic enough to make it part of rules_python. When I get to that, I'd like to remove the |
Basically, what I explain above is just a fancy / more complex way to achieve this:
|
How does one use or debug wheel caching?
I am using something like this
$ bazel test --test_output=errors -s --build_tests_only \ --action_env BAZEL_WHEEL_CACHE=https://foo/bar //test:target
But it still seems to be fetching things upstream, e.g.
The text was updated successfully, but these errors were encountered: