-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
dev: recommendation to put dev configuration in .bazelrc.user
file conflicts with cross builds
#76094
Labels
A-build-system
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-dev-inf
Comments
rickystewart
added
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
A-build-system
T-dev-inf
labels
Feb 4, 2022
rickystewart
changed the title
dev: before cross builds, temporarily move the
dev: recommendation to put dev configuration in Feb 7, 2022
.bazelrc.user
file.bazelrc.user
file conflicts with cross builds
Let's just have |
rickystewart
added a commit
to rickystewart/cockroach
that referenced
this issue
Feb 9, 2022
1. We bind-mount an empty file over `.bazelrc.user` so that user configuration doesn't interfere with or break cross builds. 2. Add a new `whereis` executable. It's basically just `realpath` except portable. 3. Update how `dev cache` finds the location of the `bazel-remote` binary: now we use `bazel run --run_under=whereis`, which doesn't require doing any funny stuff with `cquery`. 4. Allow cross-building `cmake` and `go_test` targets, using `realpath` to find where test and binary targets are placed. Closes cockroachdb#76094. Closes cockroachdb#76260. Release note: None
rickystewart
added a commit
to rickystewart/cockroach
that referenced
this issue
Feb 9, 2022
1. We bind-mount an empty file over `.bazelrc.user` so that user configuration doesn't interfere with or break cross builds. 2. Add a new `whereis` executable. It's basically just `realpath` except portable. 3. Update how `dev cache` finds the location of the `bazel-remote` binary: now we use `bazel run --run_under=whereis`, which doesn't require doing any funny stuff with `cquery`. 4. Allow cross-building `cmake` and `go_test` targets, using `realpath` to find where test and binary targets are placed. Closes cockroachdb#76094. Closes cockroachdb#76260. Release note: None
craig bot
pushed a commit
that referenced
this issue
Feb 11, 2022
76274: backup: redact incremental storage URIs r=dt a=dt Release note: none. 76320: dev: various improvements to `--cross` compilation r=rail a=rickystewart 1. We bind-mount an empty file over `.bazelrc.user` so that user configuration doesn't interfere with or break cross builds. 2. Add a new `whereis` executable. It's basically just `realpath` except portable. 3. Update how `dev cache` finds the location of the `bazel-remote` binary: now we use `bazel run --run_under=whereis`, which doesn't require doing any funny stuff with `cquery`. 4. Allow cross-building `cmake` and `go_test` targets, using `realpath` to find where test and binary targets are placed. Closes #76094. Closes #76260. Release note: None Co-authored-by: David Taylor <[email protected]> Co-authored-by: Ricky Stewart <[email protected]>
RajivTS
pushed a commit
to RajivTS/cockroach
that referenced
this issue
Mar 6, 2022
1. We bind-mount an empty file over `.bazelrc.user` so that user configuration doesn't interfere with or break cross builds. 2. Add a new `whereis` executable. It's basically just `realpath` except portable. 3. Update how `dev cache` finds the location of the `bazel-remote` binary: now we use `bazel run --run_under=whereis`, which doesn't require doing any funny stuff with `cquery`. 4. Allow cross-building `cmake` and `go_test` targets, using `realpath` to find where test and binary targets are placed. Closes cockroachdb#76094. Closes cockroachdb#76260. Release note: None
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-build-system
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-dev-inf
Generally this file will contain configuration that we don't want for a cross build.
Epic CRDB-8036
The text was updated successfully, but these errors were encountered: