[COMMITTED] benchtests: Only build libmvec benchmarks iff $(build-mathvec) is set
Commit Message
Checked on x86_64-linux-gnu.
---
sysdeps/x86_64/fpu/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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