go/cmd
Cherry Mui d56532ab0e cmd/compilebench: make it work without installed .a's
Currently compilebench relies on installed .a files for std and
cmd, as it runs the compiler and linker directly. For the upcoming
Go 1.20, compiled .a files will not be installed. Don't rely on
them. Instead, build importcfg file and pass it to the compiler
and the linker.

Verified that this approach still works with previous versions of
Go (1.19 and 1.18).

For golang/go#47257.

Change-Id: Ie0eb9541fb995649e5b68d4481a5acfbdfe8f2a7
Reviewed-on: https://go-review.googlesource.com/c/tools/+/448118
Reviewed-by: Michael Pratt <mpratt@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-11-10 18:37:12 +00:00
..
auth cmd/auth/cookieauth: delete unreachable os.Exit 2022-07-25 18:11:01 +00:00
benchcmp cmd: gofmt 2022-04-12 17:38:38 +00:00
bundle cmd/bundle: quote command-line arguments in output 2022-10-26 18:58:11 +00:00
callgraph cmd/callgraph: add test of -algo=vta 2022-06-02 22:22:06 +00:00
compilebench cmd/compilebench: make it work without installed .a's 2022-11-10 18:37:12 +00:00
cover cmd: gofmt 2022-04-12 17:38:38 +00:00
digraph cmd/digraph: fix typo 2022-06-25 13:13:44 +00:00
eg cmd: avoid printing redundant newlines 2021-11-08 18:39:25 +00:00
file2fuzz cmd: gofmt 2022-04-12 17:38:38 +00:00
fiximports cmd: gofmt 2022-04-12 17:38:38 +00:00
getgo cmd/getgo: exec main from TestMain instead of running 'go build' in tests 2022-03-04 20:37:47 +00:00
go-contrib-init all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00
godex cmd: gofmt 2022-04-12 17:38:38 +00:00
godoc cmd/godoc: expand skips in TestWeb 2022-05-04 21:37:12 +00:00
goimports cmd: gofmt 2022-04-12 17:38:38 +00:00
gomvpkg cmd: avoid printing redundant newlines 2021-11-08 18:39:25 +00:00
gorename cmd: gofmt 2022-04-12 17:38:38 +00:00
gotype cmd: gofmt 2022-04-12 17:38:38 +00:00
goyacc cmd: gofmt 2022-04-12 17:38:38 +00:00
guru all: fix a few function names on comments 2022-10-10 13:22:38 +00:00
html2article copyright: test that all files in the repo have copyright notices 2021-01-11 22:19:46 +00:00
present cmd: gofmt 2022-04-12 17:38:38 +00:00
present2md cmd: gofmt 2022-04-12 17:38:38 +00:00
signature-fuzzer cmd: gofmt 2022-04-12 17:38:38 +00:00
splitdwarf all: remove redundant type conversion 2022-09-07 17:33:19 +00:00
ssadump cmd/ssadump: disable run mode with runtime package 2022-10-11 20:40:41 +00:00
stress cmd: gofmt 2022-04-12 17:38:38 +00:00
stringer cmd/stringer: use explicit NeedX values instead of deprecated LoadSyntax 2022-06-22 16:23:22 +00:00
toolstash all: replace deprecated egrep with grep -E 2022-09-23 13:31:09 +00:00