public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] benchtests: Only build libmvec benchmarks iff $(build-mathvec) is set
@ 2022-04-05 15:05 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2022-04-05 15:05 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cbc2c56bab4ca6210b299d5457359bf64cd6abb2

commit cbc2c56bab4ca6210b299d5457359bf64cd6abb2
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Mon Apr 4 09:34:14 2022 -0300

    benchtests: Only build libmvec benchmarks iff $(build-mathvec) is set
    
    Checked on x86_64-linux-gnu.

Diff:
---
 sysdeps/x86_64/fpu/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-05 15:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-05 15:05 [glibc] benchtests: Only build libmvec benchmarks iff $(build-mathvec) is set Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).