summaryrefslogtreecommitdiff
path: root/vendor/github.com/zeebo/blake3/Makefile
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-16 18:52:30 +0100
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-16 18:52:30 +0100
commit6f5ccf435585e43a00e3cc50f4bcefac36ada818 (patch)
treeba368d27464b79b1e5d010c0662fd3e340bf108e /vendor/github.com/zeebo/blake3/Makefile
parentadd go-runners to readme (diff)
downloadgotosocial-6f5ccf435585e43a00e3cc50f4bcefac36ada818.tar.xz
update dependencies
Diffstat (limited to 'vendor/github.com/zeebo/blake3/Makefile')
-rw-r--r--vendor/github.com/zeebo/blake3/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/zeebo/blake3/Makefile b/vendor/github.com/zeebo/blake3/Makefile
new file mode 100644
index 000000000..f98f0f093
--- /dev/null
+++ b/vendor/github.com/zeebo/blake3/Makefile
@@ -0,0 +1,11 @@
+asm: internal/alg/hash/hash_avx2/impl_amd64.s internal/alg/compress/compress_sse41/impl_amd64.s
+
+internal/alg/hash/hash_avx2/impl_amd64.s: avo/avx2/*.go
+ ( cd avo; go run ./avx2 ) > internal/alg/hash/hash_avx2/impl_amd64.s
+
+internal/alg/compress/compress_sse41/impl_amd64.s: avo/sse41/*.go
+ ( cd avo; go run ./sse41 ) > internal/alg/compress/compress_sse41/impl_amd64.s
+
+.PHONY: test
+test:
+ go test -race -bench=. -benchtime=1x