Open jmfriedt opened 1 month ago
Replacing
OPTIONS = -DAVX2 -mavx2 -mfma
with
ifeq ($(shell grep -o avx2 /proc/cpuinfo | head -1),avx2)
OPTIONS = -DAVX2 -mavx2 -mfma
endif
seems to solve the issue (as done later to test ARM64 architecture)
Commit 99c6231 added
OPTIONS = -DAVX2 -mavx2 -mfma
tolib/build/libsdr.mk
, leading towhen executed on non-AVX2 CPUs. A test on the CPU capability when compiling would be nice, e.g. on the Intel(R) Core(TM) i5-3610ME of my Panasonic CF-19 the
/proc/cpuinfo
tellsnot including AVX2 support. I believe this is also valid in
pocket_acq/makefile
,pocket_snap/makefile
andpocket_trk/makefile