...
1.PHONY: all vet
2all: genasm _compat
3
4genasm: avo/avx.go avo/sse.go
5 cd ./avo; go generate gen.go
6
7clean:
8 rm accum_vector_avx_amd64.s
9 rm accum_vector_sse_amd64.s
10 rm _compat
11
12upstream/xxhash.o: upstream/xxhash.h
13 ( cd upstream && make )
14
15_compat: _compat.c upstream/xxhash.o
16 gcc -o _compat _compat.c ./upstream/xxhash.o
17
18vet:
19 GOOS=linux GOARCH=386 GO386=softfloat go vet ./...
20 GOOS=windows GOARCH=386 GO386=softfloat go vet ./...
21 GOOS=linux GOARCH=amd64 go vet ./...
22 GOOS=windows GOARCH=amd64 go vet ./...
23 GOOS=darwin GOARCH=amd64 go vet ./...
24 GOOS=linux GOARCH=arm go vet ./...
25 GOOS=linux GOARCH=arm64 go vet ./...
26 GOOS=windows GOARCH=arm64 go vet ./...
27 GOOS=darwin GOARCH=arm64 go vet ./...
View as plain text