mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
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>
This commit is contained in:
parent
cf97591313
commit
1153f71586
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user