-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
77960: build: integrate new cross toolchains w/ Bazel r=mari-crl a=rickystewart 1. Add new toolchains that run on ARM hosts. 2. Add new toolchains that target M1 Mac's. Release note: None Jira issue: CRDB-14852 79257: roachtest: update ORMs under test r=otan a=rafiss fixes #79208 - typeorm: also fixes permission issues - sqlalchemy - pgx - lib/pq - pgjdbc - also use secure mode for pgjdbc test. this lets us test SCRAM functionality. - includes a small error code change: pgwire: use InvalidPassword error code when appropriate Release note: None 79455: dev: add support for `dev generate cgo` r=mari-crl a=rickystewart The contents of these files here is basically cargo-culted from the `Makefile`. I have verified that I can get a build working via the following steps: ./dev generate go cgo ./dev go -- build ./pkg/cmd/cockroach-short We don't exactly mirror the previous contents of the `zcgo_flags.go` files that `make` would create. One difference is that we don't populate the `zcgo_flags` files in `go-libedit` to configure how the C sources are built and linked, so we get the default behavior, which is fine, but means the `go build`-built binary and the Bazel-built binary will be using a different compiled archive (maybe compiled with different flags/ a different configuration/etc.) for the `libedit` sources. With `make`, we address this by putting a `zcgo_flags_extra.go` file in the sources for `go-libedit` right in `vendor`. Post-Bazel we have no reason for `vendor` and have no plans to keep it in the long-term so this is not really suitable. I'm punting on this for now -- the default behavior will probably be "good enough" for most people. Closes #77170. Release note: None Co-authored-by: Ricky Stewart <[email protected]> Co-authored-by: Rafi Shamim <[email protected]>
- Loading branch information
Showing
34 changed files
with
659 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.