Skip to content
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

missing hash part for the build cache #23

Open
ensonic opened this issue Oct 18, 2017 · 1 comment
Open

missing hash part for the build cache #23

ensonic opened this issue Oct 18, 2017 · 1 comment

Comments

@ensonic
Copy link
Contributor

ensonic commented Oct 18, 2017

Any idea?

dazel info output_base
/home/ensonic/.cache/bazel/_bazel_ensonic
bazel info output_base
/home/ensonic/.cache/bazel/_bazel_ensonic/556f802681b2087c6d9a6bcc3d0d954b

If I work on multiple projects, each get their own cache dir when using 'bazel' directly.

@ensonic ensonic changed the title missing has for the build cache missing hash part for the build cache Nov 6, 2017
@ensonic
Copy link
Contributor Author

ensonic commented Dec 15, 2017

This seems to be fixed by adding this to .dazelrc

import os

# Avoid conflicts between bazel and dazel.
DAZEL_BAZEL_USER_OUTPUT_ROOT=os.path.expandvars("$HOME/.cache/dazel/_dazel_$USER")

# Avoid conflicts between workspaces.
DAZEL_WORKSPACE_HEX=True

The settings are missing in the README though. Is that intentional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant