benchtests: Only build libmvec benchmarks iff $(build-mathvec) is set

Checked on x86_64-linux-gnu.
This commit is contained in:
Adhemerval Zanella 2022-04-04 09:34:14 -03:00
parent 053fe27343
commit cbc2c56bab

View file

@ -75,7 +75,7 @@ ifeq ($(subdir)$(config-cflags-mprefer-vector-width),mathyes)
CFLAGS-branred.c = -mprefer-vector-width=128
endif
ifeq ($(subdir),benchtests)
ifeq ($(subdir)$(build-mathvec),benchtestsyes)
double-vlen4-arch-ext-cflags = -mavx
double-vlen4-arch-ext2-cflags = -mavx2
double-vlen8-arch-ext-cflags = -mavx512f