We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f14554 commit 3a92abeCopy full SHA for 3a92abe
Makefile
@@ -123,7 +123,13 @@ ${BENCH_PATH} bench-deps:
123
rm -rf ${BENCH_PATH}
124
mkdir ${BENCH_PATH}
125
go clean -testcache
126
- cd ${BENCH_PATH} && git clone https://go.googlesource.com/perf && cd perf && go install ./cmd/benchstat
+ # It is unable to build a latest version of benchstat with go 1.13. So
127
+ # we need to switch to an old commit.
128
+ cd ${BENCH_PATH} && \
129
+ git clone https://go.googlesource.com/perf && \
130
+ cd perf && \
131
+ git checkout 91a04616dc65ba76dbe9e5cf746b923b1402d303 && \
132
+ go install ./cmd/benchstat
133
rm -rf ${BENCH_PATH}/perf
134
135
.PHONY: bench
0 commit comments