Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Conversation

@burmudar
Copy link
Contributor

For some bazel targets we want bazel to detect the host cc and use it. This puts the --incompatible_enable_cc_toolchain_resolution flag behind a config setting one has to opt into to use with --config incompat-zig-linux-amd64.

I also extracted some of the bazelrc to selectively add the CI bazelrc, so that it is easier to run these scripts locally.

Test plan

  • green ci
  • executed the symbols and server scripts locally

@burmudar burmudar requested review from davejrt and jhchabran May 24, 2023 13:25
@burmudar burmudar self-assigned this May 24, 2023
@cla-bot cla-bot bot added the cla-signed label May 24, 2023
@sourcegraph-bot
Copy link
Contributor

sourcegraph-bot commented May 24, 2023

Codenotify: Notifying subscribers in CODENOTIFY files for diff 556e5c5...04b239d.

Notify File(s)
@keegancsmith cmd/symbols/build-bazel.sh

@burmudar burmudar enabled auto-merge (squash) May 25, 2023 14:30
@burmudar burmudar merged commit 7e6ca20 into main May 25, 2023
@burmudar burmudar deleted the wb/app/bazel branch May 25, 2023 14:48
burmudar added a commit that referenced this pull request May 25, 2023
burmudar added a commit that referenced this pull request May 25, 2023
#52364)" (#52457)

Main is blocked because of this commit

This reverts commit 7e6ca20.

## Test plan
none - this is a revert
<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->
burmudar added a commit that referenced this pull request May 28, 2023
ErikaRS pushed a commit that referenced this pull request Jun 22, 2023
For some bazel targets we want bazel to detect the host cc and use it.
This puts the `--incompatible_enable_cc_toolchain_resolution` flag
behind a config setting one has to opt into to use with `--config
incompat-zig-linux-amd64`.

I also extracted some of the bazelrc to selectively add the CI bazelrc,
so that it is easier to run these scripts locally.

## Test plan
* green ci
* executed the symbols and server scripts locally
<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->
ErikaRS pushed a commit that referenced this pull request Jun 22, 2023
#52364)" (#52457)

Main is blocked because of this commit

This reverts commit 7e6ca20.

## Test plan
none - this is a revert
<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants