sweet: upgrade go-build When building the Istio benchmark (istioctl/cmd/istioctl), the harness invoked go build with its working directory set to the istioctl/cmd/istioctl package without providing an explicit -o output path. This appears after we upgrade the build targets. Udpates golang/go#80564. Change-Id: If99a47449e0e35495f2ea0ed80f4e755afc416a4 Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/805680 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
diff --git a/sweet/benchmarks/go-build/main.go b/sweet/benchmarks/go-build/main.go index 5934706..70ca0c0 100644 --- a/sweet/benchmarks/go-build/main.go +++ b/sweet/benchmarks/go-build/main.go
@@ -66,7 +66,7 @@ name := "GoBuild" + strings.Title(filepath.Base(pkgPath)) - cmdArgs := []string{goTool, "build"} + cmdArgs := []string{goTool, "build", "-o", filepath.Join(tmpCacheDir, "target.bin")} // Build a command comprised of this binary to pass to -toolexec. selfPath, err := filepath.Abs(os.Args[0])
diff --git a/sweet/harnesses/go-build.go b/sweet/harnesses/go-build.go index 37734aa..f22ee03 100644 --- a/sweet/harnesses/go-build.go +++ b/sweet/harnesses/go-build.go
@@ -32,7 +32,7 @@ return gitShallowClone( outDir, "https://github.com/kubernetes/kubernetes", - "v1.22.1", + "v1.36.2", ) }, }, @@ -43,7 +43,7 @@ return gitShallowClone( outDir, "https://github.com/istio/istio", - "1.11.1", + "1.30.0", ) }, }, @@ -55,7 +55,7 @@ outDir, "https://go.googlesource.com/pkgsite", "master", - "0a8194a898a1ceff6a0b29e3419650daf43d8567", + "95d18f84b8d26222de17dcd0ed885623fab0e8a3", ) }, }, @@ -71,7 +71,7 @@ outDir, "https://github.com/microsoft/typescript-go", "main", - "1fffa1c05909adddbf2db7e14afeb8f63ed1e12c", + "7da5af557158a4d4b6b6826ac1e0ccd393b1a89b", ) }, },