From: Adhemerval Zanella Date: Mon, 4 Apr 2022 12:34:14 +0000 (-0300) Subject: benchtests: Only build libmvec benchmarks iff $(build-mathvec) is set X-Git-Tag: glibc-2.36~404 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cbc2c56bab4ca6210b299d5457359bf64cd6abb2;p=thirdparty%2Fglibc.git benchtests: Only build libmvec benchmarks iff $(build-mathvec) is set Checked on x86_64-linux-gnu. --- diff --git a/sysdeps/x86_64/fpu/Makefile b/sysdeps/x86_64/fpu/Makefile index 8278ce104a3..24af49e0680 100644 --- a/sysdeps/x86_64/fpu/Makefile +++ b/sysdeps/x86_64/fpu/Makefile @@ -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