public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/siddhesh/gai-cleanup2] x86_64: Disable libmvec tests if multiarch not enabled [BZ# 28869]
@ 2022-03-01  2:39 Siddhesh Poyarekar
  0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2022-03-01  2:39 UTC (permalink / raw)
  To: glibc-cvs

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

commit 1153f7158608cfa3e7372e03bb82566a3dab1a19
Author: Sunil K Pandey <skpgkp2@gmail.com>
Date:   Wed Feb 23 08:43:45 2022 -0800

    x86_64: Disable libmvec tests if multiarch not enabled [BZ# 28869]
    
    This patch disable libmvec math tests if multiarch not enabled.
    
    This fixes [BZ# 28869]
    
    Reviewed-by: H.J. Lu <hjl.tools@gmail.com>

Diff:
---
 sysdeps/x86_64/fpu/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sysdeps/x86_64/fpu/Makefile b/sysdeps/x86_64/fpu/Makefile
index 9fb587cf8f..8278ce104a 100644
--- a/sysdeps/x86_64/fpu/Makefile
+++ b/sysdeps/x86_64/fpu/Makefile
@@ -24,6 +24,8 @@ libmvec-support += \
     $(addprefix svml_s_,$(addsuffix $(l),$(libmvec-funcs))))
 endif
 
+# Do not run libmvec tests if multiarch not enabled.
+ifneq ($(multi-arch),no)
 # Variables for libmvec tests.
 ifeq ($(subdir)$(build-mathvec),mathyes)
 libmvec-tests += double-vlen2 double-vlen4 double-vlen4-avx2 \
@@ -112,3 +114,4 @@ $(objpfx)bench-double-%.c: $(bench-libmvec-deps)
 	$(PYTHON) $(..)sysdeps/x86_64/fpu/scripts/bench_libmvec.py $(basename $(@F)); } > $@-tmp
 	mv -f $@-tmp $@
 endif
+endif


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

only message in thread, other threads:[~2022-03-01  2:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01  2:39 [glibc/siddhesh/gai-cleanup2] x86_64: Disable libmvec tests if multiarch not enabled [BZ# 28869] Siddhesh Poyarekar

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).