1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 17:31:38 +00:00

Don't use -march=native for keccak

CircleCI has AVX512 support and the compiler will generate instructions that Valgrind doesn't handle.
This commit is contained in:
Thom Wiggers 2019-11-18 13:24:41 +01:00
parent 130189f6fe
commit 1e2aac2e22
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

View File

@ -1,7 +1,7 @@
KeccakP-1600-times4-SIMD256.o: KeccakP-1600-times4-SIMD256.c \
align.h brg_endian.h KeccakP-1600-times4-SnP.h \
KeccakP-1600-unrolling.macros SIMD256-config.h
$(CC) $(CFLAGS) -march=native -c $< -o $@
$(CC) $(CFLAGS) -mavx2 -c $< -o $@
.PHONY: clean
clean: