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

bazel,dev: provide opt-out for building w/ nogo #80317

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

rickystewart
Copy link
Collaborator

Now we provide --//build/toolchains:nogo_disable as an option which
will force nogo checks OFF even if you have globally configured
lintonbuild. This can be used by end users for builds but primarily I
want a way to force builds to finish faster when nogo checks are not
particularly useful: namely, when building dev for the first time (via
the dev script) and when building the bazel-remote binary. Also have
dev build infer when passing nogo_disable will be OK and pass it in
when appropriate.

Release note: None

@rickystewart rickystewart requested a review from a team as a code owner April 21, 2022 17:32
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Now we provide `--//build/toolchains:nogo_disable` as an option which
will force `nogo` checks OFF even if you have globally configured
`lintonbuild`. This can be used by end users for builds but primarily I
want a way to force builds to finish faster when `nogo` checks are not
particularly useful: namely, when building `dev` for the first time (via
the `dev` script) and when building the `bazel-remote` binary. Also have
`dev build` infer when passing `nogo_disable` will be OK and pass it in
when appropriate.

Release note: None
Copy link
Member

@rail rail left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 5 of 5 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @rickystewart)

@rickystewart
Copy link
Collaborator Author

TFTR :)

bors r=rail

@craig
Copy link
Contributor

craig bot commented Apr 26, 2022

Build succeeded:

@craig craig bot merged commit 8944fd0 into cockroachdb:master Apr 26, 2022
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

Successfully merging this pull request may close these issues.

3 participants