1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 15:39:07 +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 committed by Kris Kwiatkowski
parent 7da91aa360
commit 296177e079

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: