summaryrefslogtreecommitdiff
path: root/vendor/github.com/zeebo/xxh3/Makefile
diff options
context:
space:
mode:
authorFelix Hanley <felix@userspace.com.au>2025-08-28 01:38:06 +0000
committerFelix Hanley <felix@userspace.com.au>2025-08-28 01:38:06 +0000
commit02e6f97cd04cbcd7505e1da9a781df4321463640 (patch)
tree08d3d2317cdab4885d7c9830ed7983fecfb9fb4a /vendor/github.com/zeebo/xxh3/Makefile
parentfaa33e32b5e967fdfeac96bfc39ed3d94f9514ac (diff)
downloadcaddy-02e6f97cd04cbcd7505e1da9a781df4321463640.tar.gz
caddy-02e6f97cd04cbcd7505e1da9a781df4321463640.tar.bz2
Attempt to stop AI bots using Anubis
Diffstat (limited to 'vendor/github.com/zeebo/xxh3/Makefile')
-rw-r--r--vendor/github.com/zeebo/xxh3/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/vendor/github.com/zeebo/xxh3/Makefile b/vendor/github.com/zeebo/xxh3/Makefile
new file mode 100644
index 0000000..8bd78c4
--- /dev/null
+++ b/vendor/github.com/zeebo/xxh3/Makefile
@@ -0,0 +1,27 @@
+.PHONY: all vet
+all: genasm _compat
+
+genasm: avo/avx.go avo/sse.go
+ cd ./avo; go generate gen.go
+
+clean:
+ rm accum_vector_avx_amd64.s
+ rm accum_vector_sse_amd64.s
+ rm _compat
+
+upstream/xxhash.o: upstream/xxhash.h
+ ( cd upstream && make )
+
+_compat: _compat.c upstream/xxhash.o
+ gcc -o _compat _compat.c ./upstream/xxhash.o
+
+vet:
+ GOOS=linux GOARCH=386 GO386=softfloat go vet ./...
+ GOOS=windows GOARCH=386 GO386=softfloat go vet ./...
+ GOOS=linux GOARCH=amd64 go vet ./...
+ GOOS=windows GOARCH=amd64 go vet ./...
+ GOOS=darwin GOARCH=amd64 go vet ./...
+ GOOS=linux GOARCH=arm go vet ./...
+ GOOS=linux GOARCH=arm64 go vet ./...
+ GOOS=windows GOARCH=arm64 go vet ./...
+ GOOS=darwin GOARCH=arm64 go vet ./... \ No newline at end of file