about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-04-04 09:34:14 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-04-05 12:01:10 -0300
commitcbc2c56bab4ca6210b299d5457359bf64cd6abb2 (patch)
treebea9fe54ea4853d26d8b125cb02d51ff93143696 /sysdeps
parent053fe273434056f551ed8f81daf750db9dab5931 (diff)
downloadglibc-cbc2c56bab4ca6210b299d5457359bf64cd6abb2.tar.gz
glibc-cbc2c56bab4ca6210b299d5457359bf64cd6abb2.tar.xz
glibc-cbc2c56bab4ca6210b299d5457359bf64cd6abb2.zip
benchtests: Only build libmvec benchmarks iff $(build-mathvec) is set
Checked on x86_64-linux-gnu.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/fpu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/x86_64/fpu/Makefile b/sysdeps/x86_64/fpu/Makefile
index 8278ce104a..24af49e068 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