From patchwork Tue Mar 22 12:53:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 64173 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp2044598lbc; Tue, 22 Mar 2016 05:55:39 -0700 (PDT) X-Received: by 10.140.134.144 with SMTP id 138mr50260253qhg.63.1458651339454; Tue, 22 Mar 2016 05:55:39 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id y68si15536353qhb.112.2016.03.22.05.55.39 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 22 Mar 2016 05:55:39 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dkim=fail header.i=@linaro.org Received: from localhost ([::1]:36026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiLqV-0004mj-0o for patch@linaro.org; Tue, 22 Mar 2016 08:55:39 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiLoX-0001zh-3E for qemu-devel@nongnu.org; Tue, 22 Mar 2016 08:53:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aiLoU-0006AK-Gl for qemu-devel@nongnu.org; Tue, 22 Mar 2016 08:53:37 -0400 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:35224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aiLoU-0006AD-95 for qemu-devel@nongnu.org; Tue, 22 Mar 2016 08:53:34 -0400 Received: by mail-wm0-x22c.google.com with SMTP id l68so151411623wml.0 for ; Tue, 22 Mar 2016 05:53:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8dsNU/OWQkg8UPTBJIlcxQ3Fj7eIkV3+WJOiQeH1eaQ=; b=MB+DHe9F05U6F+ezjI+pI0eTYHw7bw5c6KoQboSKN8c3rw+RQZ06YN96mtEhUhxkhv HuTsGbsqqUwvvTW92U/aulazrfLDEkyGCjlXBdn2a0QWWpL79ivBODN6EDWBEh6qDRYJ IJADX2TzWQOemq9dobQRqAivvCws79ayWThao= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8dsNU/OWQkg8UPTBJIlcxQ3Fj7eIkV3+WJOiQeH1eaQ=; b=bEsyUiWJq1GqffPqnjd7R80/Y2sMfz3nyOISeUXG6Cm+lAENwgKaDnvtKsojo7Ks8V WZFx3+HAaJSiN26Kf8uoBQP1ZzGkz5agRyh/IK/KdujDOfN1JdBsuHqwZzYJvMrmhfdd 8MA/AvMwnAZkCL5PuHBgtxuOP+msUdMb89WUj+R3HDCPgrFhgtyOEBg/Jm8yft0CtAs/ Vx/PzSQatTQVe0THTSidAuo/Twe5UgA54Zr5H8kR1xfxFFb4PUkziswPYWLAKQmwpJ6i 6pdbd/MyF2dqkEj0X+mX2dwIVkGt2m489VuzSiXjY3vhLqKLGUiIPqHKs/1CNciUlLJb h8nA== X-Gm-Message-State: AD7BkJJWbyKsrIkM82et6m4yYmmZCq/qMmw+2fylSaHbeGiIwMppQEcBKydtqPH0nuLgkGXR X-Received: by 10.28.49.3 with SMTP id x3mr19460181wmx.4.1458651213439; Tue, 22 Mar 2016 05:53:33 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y62sm17285776wmg.12.2016.03.22.05.53.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 Mar 2016 05:53:31 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id C65323E044B; Tue, 22 Mar 2016 12:53:29 +0000 (GMT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Tue, 22 Mar 2016 12:53:14 +0000 Message-Id: <1458651195-21176-3-git-send-email-alex.bennee@linaro.org> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1458651195-21176-1-git-send-email-alex.bennee@linaro.org> References: <1458651195-21176-1-git-send-email-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22c Cc: peter.maydell@linaro.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , david@gibson.dropbear.id.au Subject: [Qemu-devel] [PATCH v1 2/3] .travis.yml: enable OSX builds X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Travis has support for OSX builds. Making the setup work cleanly involves a little hacking about with the .travis.yml file but rather than make it too messy I've pushed all the "brew" install stuff into a support script called ./scripts/macosx-brew.sh. Currently only the default ./configure ${CONFIG} is built as I'm not sure what extra coverage would come from the other build stanzas. Signed-off-by: Alex Bennée --- .travis.yml | 4 ++++ scripts/macosx-brew.sh | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100755 scripts/macosx-brew.sh -- 2.7.3 diff --git a/.travis.yml b/.travis.yml index 18c04af..3f77bfa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,6 +53,7 @@ git: # we want to do this ourselves submodules: false before_install: + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./scripts/macosx-brew.sh ; fi - wget -O - http://people.linaro.org/~alex.bennee/qemu-submodule-git-seed.tar.xz | tar -xvJ - git submodule update --init --recursive before_script: @@ -83,3 +84,6 @@ matrix: - env: CONFIG="--with-coroutine=gthread" TEST_CMD="" compiler: gcc + - env: CONFIG="" + os: osx + compiler: clang diff --git a/scripts/macosx-brew.sh b/scripts/macosx-brew.sh new file mode 100755 index 0000000..fc0d588 --- /dev/null +++ b/scripts/macosx-brew.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# +# Install MacOSX dependancies +# +brew update +brew install libffi +brew install gettext +brew install pkg-config +brew install glib +brew install autoconf +brew install automake +brew install pixman