]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/dist: don't copy arm64 specific files for bootstap build
authorfanzha02 <fannie.zhang@arm.com>
Fri, 19 Jun 2020 03:19:22 +0000 (11:19 +0800)
committerKeith Randall <khr@golang.org>
Fri, 19 Jun 2020 16:41:13 +0000 (16:41 +0000)
This patch avoids copying cmd/compile/internal/ssa/flags_arm64_test.s.

Fixes #39701

Change-Id: I35d0567e2d3455faf28828c55a0b6d66a5be49e2
Reviewed-on: https://go-review.googlesource.com/c/go/+/238679
Run-TryBot: fannie zhang <Fannie.Zhang@arm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/dist/buildtool.go

index d055f468e94720067a9e837c99eb208530f12223..9502dac4eb2bda96a13bc2b7fbf07b03c1cfc6d2 100644 (file)
@@ -115,6 +115,7 @@ var ignorePrefixes = []string{
 // These must not be copied into the bootstrap build directory.
 var ignoreSuffixes = []string{
        "_arm64.s",
+       "_arm64_test.s",
        "_arm64.go",
        "_riscv64.s",
        "_riscv64.go",