DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ferruh Yigit <ferruh.yigit@intel.com>
To: dev@dpdk.org, Thomas Monjalon <thomas@monjalon.net>
Cc: Bruce Richardson <bruce.richardson@intel.com>
Subject: [dpdk-dev] [PATCH v3 3/3] build: reduce indentation in meson check
Date: Thu,  2 May 2019 14:35:27 +0100	[thread overview]
Message-ID: <20190502133527.87937-3-ferruh.yigit@intel.com> (raw)
In-Reply-To: <20190502133527.87937-1-ferruh.yigit@intel.com>

Just syntax change to reduce indentation, no functional change.

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
---
 config/x86/meson.build | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/config/x86/meson.build b/config/x86/meson.build
index 0a7bed75e..bb23771b4 100644
--- a/config/x86/meson.build
+++ b/config/x86/meson.build
@@ -4,11 +4,9 @@
 # get binutils version for the workaround of Bug 97
 if not is_windows
 	ldver = run_command('ld', '-v').stdout().strip()
-	if ldver.contains('2.30')
-		if cc.has_argument('-mno-avx512f')
-			machine_args += '-mno-avx512f'
-			message('Binutils 2.30 detected, disabling AVX512 support as workaround for bug #97')
-		endif
+	if ldver.contains('2.30') and cc.has_argument('-mno-avx512f')
+		machine_args += '-mno-avx512f'
+		message('Binutils 2.30 detected, disabling AVX512 support as workaround for bug #97')
 	endif
 	if ldver.contains('2.31') and cc.has_argument('-mno-avx512f')
 		machine_args += '-mno-avx512f'
-- 
2.20.1

  parent reply	other threads:[~2019-05-02 13:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-10 14:00 [dpdk-dev] [PATCH 1/2] build: fix meson binutils workaround Ferruh Yigit
2019-04-10 14:00 ` Ferruh Yigit
2019-04-10 14:00 ` [dpdk-dev] [PATCH 2/2] build: fix crash by disabling AVX512 with binutils 2.31 Ferruh Yigit
2019-04-10 14:00   ` Ferruh Yigit
2019-04-16 15:39 ` [dpdk-dev] [PATCH v2 1/2] build: fix meson binutils workaround Ferruh Yigit
2019-04-16 15:39   ` Ferruh Yigit
2019-04-16 15:39   ` [dpdk-dev] [PATCH v2 2/2] build: fix crash by disabling AVX512 with binutils 2.31 Ferruh Yigit
2019-04-16 15:39     ` Ferruh Yigit
2019-04-16 15:47     ` Bruce Richardson
2019-04-16 15:47       ` Bruce Richardson
2019-04-16 15:47   ` [dpdk-dev] [PATCH v2 1/2] build: fix meson binutils workaround Bruce Richardson
2019-04-16 15:47     ` Bruce Richardson
2019-05-02 13:35   ` [dpdk-dev] [PATCH v3 1/3] " Ferruh Yigit
2019-05-02 13:35     ` Ferruh Yigit
2019-05-02 13:35     ` [dpdk-dev] [PATCH v3 2/3] build: fix crash by disabling AVX512 with binutils 2.31 Ferruh Yigit
2019-05-02 13:35       ` Ferruh Yigit
2019-05-02 13:35     ` Ferruh Yigit [this message]
2019-05-02 13:35       ` [dpdk-dev] [PATCH v3 3/3] build: reduce indentation in meson check Ferruh Yigit
2019-05-02 13:44     ` [dpdk-dev] [dpdk-stable] [PATCH v3 1/3] build: fix meson binutils workaround Ferruh Yigit
2019-05-02 13:44       ` Ferruh Yigit
2019-05-02 15:48       ` Thomas Monjalon
2019-05-02 15:48         ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190502133527.87937-3-ferruh.yigit@intel.com \
    --to=ferruh.yigit@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).