]> sourceware.org Git - glibc.git/commitdiff
x86_64: Disable libmvec tests if multiarch not enabled [BZ# 28869]
authorSunil K Pandey <skpgkp2@gmail.com>
Wed, 23 Feb 2022 16:43:45 +0000 (08:43 -0800)
committerSunil K Pandey <skpgkp2@gmail.com>
Wed, 23 Feb 2022 22:59:49 +0000 (14:59 -0800)
This patch disable libmvec math tests if multiarch not enabled.

This fixes [BZ# 28869]

Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
sysdeps/x86_64/fpu/Makefile

index 9fb587cf8fb3a0960d4d1f6444efa587c5ca579f..8278ce104a3d52ed6042c6755ee84aa7152a8217 100644 (file)
@@ -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
This page took 0.048452 seconds and 5 git commands to generate.