From: Stefan Weil <sw@weilnetz.de>
To: QEMU Developer <qemu-devel@nongnu.org>
Cc: Peter Maydell <peter.maydell@linaro.org>, Stefan Weil <sw@weilnetz.de>
Subject: [Qemu-devel] [PATCH] configure: Don't run AVX optimization requirement check on Mac OS X
Date: Sat, 18 Jun 2016 21:49:09 +0200 [thread overview]
Message-ID: <1466279349-28865-1-git-send-email-sw@weilnetz.de> (raw)
The test currently only works with ELF and requires readelf,
but OS X does not use ELF binaries.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
configure | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/configure b/configure
index 10cb212..89ffd28 100755
--- a/configure
+++ b/configure
@@ -1778,6 +1778,11 @@ fi
##########################################
# avx2 optimization requirement check
+# This check currently only works for hosts with ELF,
+# so don't run it on Darwin.
+
+if [ "$darwin" != "yes" ] ; then
+
cat > $TMPC << EOF
#pragma GCC push_options
#pragma GCC target("avx2")
@@ -1797,6 +1802,8 @@ if compile_object "" ; then
fi
fi
+fi # "$darwin" != "yes"
+
#########################################
# zlib check
--
2.1.4
next reply other threads:[~2016-06-18 19:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-18 19:49 Stefan Weil [this message]
2016-06-18 20:45 ` [Qemu-devel] [PATCH] configure: Don't run AVX optimization requirement check on Mac OS X Peter Maydell
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=1466279349-28865-1-git-send-email-sw@weilnetz.de \
--to=sw@weilnetz.de \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/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).