From e082001f7c7c8ce0d20aebad4e6d6f22d3bf854c Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 8 Nov 2023 16:18:14 +0100 Subject: Moved documentation around, improved configure.sh --- configure.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.sh') diff --git a/configure.sh b/configure.sh index 44774cd..9a790ca 100755 --- a/configure.sh +++ b/configure.sh @@ -1,5 +1,8 @@ #!/bin/sh +cc -mavx2 utils/detect-immintrin.c && detected="AVX2" && rm a.out +TYPE=${TYPE-"$detected"} + STD="-std=c99" WFLAGS="-pedantic -Wall -Wextra -Wno-unused-parameter -Wno-unused-function" [ "$TYPE" = "AVX2" ] && AVX="-mavx2" -- cgit v1.3