Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
57030: execgen: permit customization of template path r=jordanlewis a=jordanlewis Closes #56982 This commit adds a new argument to execgen, -template, which allows customization of the file path of the input template for a given output file. Here's an example of how to run execgen with cutomized paths: ``` execgen -template path/to/template_tmpl.go path/to/eventual/generated/code.eg.go > path/to/wherever/you/want/to/write/the/file.eg.o ``` The second argument is important because it is used as an argument to `goimports`, which needs to the actual, eventual path that the generated code will live at. Note that it doesn't actually need to *write* to that filepath - just needs to know what the name will be, eventually. Release note: None 57039: bazel: add freebsd support r=irfansharif a=irfansharif Fixes #56013. We're picking up bazel-contrib/rules_foreign_cc/pull/387 (included in our new fork at [cockroachdb/rules_foreign_cc](https://github.com/cockroachdb/rules_foreign_cc/)). We've also picked up Oliver's PR adding autoconf support (bazel-contrib/rules_foreign_cc/pull/432); we were pointing to Oliver's own fork previously to pick up those changes. Release note: None --- @knz, wanna try this branch out and see if it works? If not, I should probably spin up a freebsd AMI next once someone shows me how. Co-authored-by: Jordan Lewis <[email protected]> Co-authored-by: irfan sharif <[email protected]>
- Loading branch information