From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 772043857C4A; Tue, 5 Apr 2022 15:05:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 772043857C4A Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc] benchtests: Only build libmvec benchmarks iff $(build-mathvec) is set X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/master X-Git-Oldrev: 053fe273434056f551ed8f81daf750db9dab5931 X-Git-Newrev: cbc2c56bab4ca6210b299d5457359bf64cd6abb2 Message-Id: <20220405150505.772043857C4A@sourceware.org> Date: Tue, 5 Apr 2022 15:05:05 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2022 15:05:05 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cbc2c56bab4ca6210b299d5457359bf64cd6abb2 commit cbc2c56bab4ca6210b299d5457359bf64cd6abb2 Author: Adhemerval Zanella 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