-
Notifications
You must be signed in to change notification settings - Fork 45
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
Move /tmp/zig-cache to bazel workspace #83
Labels
enhancement
New feature or request
Comments
This would also allow multiple users on the same machine to use |
ghost
pushed a commit
that referenced
this issue
Dec 13, 2023
- `.bazelrc`: `sandbox_add_mount_pair=/tmp` is now required everywhere. - `.bazelrc` and `README`: remove deprecated/now-default flags. - `README`: add links to #10 and #83. - `README`: mention bzlmod. - `examples/*/.bazelrc`: make them the same for a better recommendation. The top-level project itself is not bzlmod yet, because that's book-keeping (it can already be used with bzlmod, so this is purely book-keeping). We can tackle this out of band with dependency updates.
ghost
pushed a commit
that referenced
this issue
Dec 13, 2023
- `.bazelrc`: `sandbox_add_mount_pair=/tmp` is now required everywhere. - `.bazelrc` and `README`: remove deprecated/now-default flags. - `README`: add links to #10 and #83. - `README`: mention bzlmod. - `examples/*/.bazelrc`: make them the same for a better recommendation. The top-level project itself is not bzlmod yet, because that's book-keeping (it can already be used with bzlmod, so this is purely book-keeping). We can tackle this out of band with dependency updates. Fixes #134
Merged
ghost
pushed a commit
that referenced
this issue
Dec 14, 2023
- `.bazelrc`: `sandbox_add_mount_pair=/tmp/zig-cache` (if you can) or `/tmp` (if not) is now required everywhere. - `.bazelrc` and `README`: remove deprecated/now-default flags. - `README`: add links to #10 and #83. - `README`: mention bzlmod. - `examples/*/.bazelrc`: make them the same for a better recommendation. Fixes #134
ghost
pushed a commit
that referenced
this issue
Dec 14, 2023
- `.bazelrc`: `sandbox_add_mount_pair=/tmp/zig-cache` (if you can) or `/tmp` (if not) is now required everywhere. - `.bazelrc` and `README`: remove deprecated/now-default flags. - `README`: add links to #10 and #83. - `README`: mention bzlmod. - `examples/*/.bazelrc`: make them the same for a better recommendation. Fixes #134
ghost
pushed a commit
that referenced
this issue
Dec 14, 2023
- `.bazelrc`: `sandbox_add_mount_pair=/tmp/zig-cache` (if you can) or `/tmp` (if not) is now required everywhere. - `.bazelrc` and `README`: remove deprecated/now-default flags. - `README`: add links to #10 and #83. - `README`: mention bzlmod. - `examples/*/.bazelrc`: make them the same for a better recommendation. Fixes #134.
ghost
pushed a commit
that referenced
this issue
Dec 15, 2023
- `.bazelrc`: `sandbox_add_mount_pair=/tmp/zig-cache` (if you can) or `/tmp` (if not) is now required everywhere. - `.bazelrc` and `README`: remove deprecated/now-default flags. - `README`: add links to #10 and #83. - `README`: mention bzlmod. - `examples/*/.bazelrc`: make them the same for a better recommendation. Fixes #134.
ghost
pushed a commit
that referenced
this issue
Dec 15, 2023
- `.bazelrc`: `sandbox_add_mount_pair=/tmp/zig-cache` (if you can) or `/tmp` (if not) is now required everywhere. - `.bazelrc` and `README`: remove deprecated/now-default flags. - `README`: add links to #10 and #83. - `README`: mention bzlmod. - `examples/*/.bazelrc`: make them the same for a better recommendation. Fixes #134.
ghost
pushed a commit
that referenced
this issue
Dec 19, 2023
- `.bazelrc`: `sandbox_add_mount_pair=/tmp/zig-cache` (if you can) or `/tmp` (if not) is now required everywhere. - `.bazelrc` and `README`: remove deprecated/now-default flags. - `README`: add links to #10 and #83. - `README`: mention bzlmod. - `examples/*/.bazelrc`: make them the same for a better recommendation. Fixes #134.
ghost
pushed a commit
that referenced
this issue
Dec 19, 2023
- `.bazelrc`: `sandbox_add_mount_pair=/tmp/zig-cache` (if you can) or `/tmp` (if not) is now required everywhere. - `.bazelrc` and `README`: remove deprecated/now-default flags. - `README`: add links to #10 and #83. - `README`: mention bzlmod. - `examples/*/.bazelrc`: make them the same for a better recommendation. Fixes #134.
motiejus
pushed a commit
that referenced
this issue
Dec 19, 2023
- `.bazelrc`: `sandbox_add_mount_pair=/tmp/zig-cache` (if you can) or `/tmp` (if not) is now required everywhere. - `.bazelrc` and `README`: remove deprecated/now-default flags. - `README`: add links to #10 and #83. - `README`: mention bzlmod. - `examples/*/.bazelrc`: make them the same for a better recommendation. Fixes #134.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently Zig cache is in
/tmp/zig-cc
. It could be moved to a Bazel workspace by creating a new Bazel repository, in a similar way howbazel-gazelle
does things, as suggested by @linzhp:https://github.com/bazelbuild/bazel-gazelle/blob/3a1235c298b7dc11fa7ba994db4f92587c1aca79/internal/go_repository.bzl#L126
Discussion in
#zig
on Bazel slack: https://bazelbuild.slack.com/archives/C04N6NE1GRM/p1685200818998739?thread_ts=1684869528.116339&cid=C04N6NE1GRMThe text was updated successfully, but these errors were encountered: