Welcome to little lamb

Code » test-hashes » commit e15dc56

project.mk: Don't do blake3-off on 32bits

author Olivier Brunel
2023-01-26 15:47:33 UTC
committer Olivier Brunel
2023-01-26 15:47:33 UTC
parent 89cd877d8f98a246a1064f858181d429376c5a70

project.mk: Don't do blake3-off on 32bits

Since it contains asm code thats 64bits only.

project.mk +4 -2

diff --git a/project.mk b/project.mk
index 565f27e..4563fdd 100644
--- a/project.mk
+++ b/project.mk
@@ -1,10 +1,12 @@
-# binaries: -- don't forget to set meta/deps-bin with all deps & .o files
 BINS = test-sha1-skalibs test-sha256-skalibs test-blake2s-skalibs \
 	   test-sha3-limb test-blake3-limb \
 	   test-sha3-tiny \
 	   test-sha3-unrolled \
 	   test-sha3-nettle \
-	   test-blake3-off test-blake3-off-noopt test-blake3-off-intr
+	   test-blake3-off-noopt test-blake3-off-intr
+ifeq ($(BITS),64)
+BINS += test-blake3-off
+endif
 
 NOOPT_FLAGS = -DBLAKE3_NO_SSE2 -DBLAKE3_NO_SSE41 -DBLAKE3_NO_AVX2 -DBLAKE3_NO_AVX512