From patchwork Mon Apr 25 14:46:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Douglas Goldstein X-Patchwork-Id: 8929501 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CB235BF29F for ; Mon, 25 Apr 2016 14:48:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 043D1200E7 for ; Mon, 25 Apr 2016 14:48:38 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D563201F2 for ; Mon, 25 Apr 2016 14:48:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auhmM-0006Am-Ch; Mon, 25 Apr 2016 14:46:26 +0000 Received: from mail6.bemta6.messagelabs.com ([85.158.143.247]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1auhmK-0006Ae-EA for xen-devel@lists.xen.org; Mon, 25 Apr 2016 14:46:24 +0000 Received: from [85.158.143.35] by server-1.bemta-6.messagelabs.com id 6C/22-18833-FBD2E175; Mon, 25 Apr 2016 14:46:23 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEIsWRWlGSWpSXmKPExsVyMXThat19unL hBl0TrSyWfFzM4sDocXT3b6YAxijWzLyk/IoE1owlq08wFuwSqjj95gdjA+MHvi5GLg4hgcmM Es++H2UEcVgE2pklGh6vYupi5OSQEHjHIvFrTQSEHSNxfM8iFgi7WmLzixY2EFtIQEHi94RDT BCTpjBJHH9ygRUkwSagIfHk1wywIhEBaYlrny8zgtjMAs+YJPbPEAWxhQVMJR7t+ckMYrMIqE ocuNXNDmLzCjhI7Lt6AqieA2iZnMSC9z4TGPkWMDKsYlQvTi0qSy3SNdZLKspMzyjJTczM0TU 0MNPLTS0uTkxPzUlMKtZLzs/dxAgMEwYg2MHY8c/pEKMkB5OSKK+kgly4EF9SfkplRmJxRnxR aU5q8SFGGQ4OJQleCR2gnGBRanpqRVpmDjBgYdISHDxKIryBIGne4oLE3OLMdIjUKUZLji2/r 61l4vi08Q6Q3Db13lomIZa8/LxUKXHeB9pADQIgDRmleXDjYFF1iVFWSpiXEehAIZ6C1KLczB JU+VeM4hyMSsK8H0Gm8GTmlcBtfQV0EBPQQZcPyYIcVJKIkJJqYPQ4krlDi1EmWSBN0ujhEa3 SG8wd+d4S6/YGJGaU1XPkXvCVmv5Q47/Ej5xbM5dNYc+VfGwRdG3S72dhfYeetT8NmxG3XSSr KHvPQuaTR+Ikr6RaqCrOz522qCX64cn/vQ8nMy5L0XL8N9V9/nIbjhT5pyHsFcv/3st5Zbhj4 WzPeF+Tn0ppBkosxRmJhlrMRcWJAG5dD+alAgAA X-Env-Sender: cardoe@cardoe.com X-Msg-Ref: server-3.tower-21.messagelabs.com!1461595582!10629368!1 X-Originating-IP: [209.85.161.171] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 8.34; banners=-,-,- X-VirusChecked: Checked Received: (qmail 2589 invoked from network); 25 Apr 2016 14:46:22 -0000 Received: from mail-yw0-f171.google.com (HELO mail-yw0-f171.google.com) (209.85.161.171) by server-3.tower-21.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 25 Apr 2016 14:46:22 -0000 Received: by mail-yw0-f171.google.com with SMTP id o66so215504126ywc.3 for ; Mon, 25 Apr 2016 07:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cardoe.com; s=google; h=from:to:cc:subject:date:message-id; bh=ddtQqVDR9Y5GWRkv0CFLfyn5KajJuZA93NThtYSOAZc=; b=PA7cEDcgToxRkEgvdPqMsuarSSod6QnoaHCITfH9N+7ZvAmQcO/RA5rV3kuSq/suff yWUxff8iqNuabHr649iJi+P0sHLu/i4m6ocas3glMipFnUTL4Cgat3zq7DvFvjGv9K4R sQRjBLZea4mgAFF+y2gTrb1JAVobGSuN8ghLQ= 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; bh=ddtQqVDR9Y5GWRkv0CFLfyn5KajJuZA93NThtYSOAZc=; b=MAmx0E13/dz8IQD44vLrfNkP+MDcgnj7f2wVvDQ5QNIiQURg6FKHFkFARBIvPDL9bi lw/TJn/9gDyf7kMxn6D9i2dYUfVER6JW/vMNS7zWXFKAMHdCpDrxrjyuw2TtV+P54VI4 0T2xcram3Vov0jKJDNYbLBnEFtReTEWYk5d6uUjwPubhvRcCL04A5gM5vrsJk5gMMdLv Jpi79vdePmPRhydsziVHl4Pqkl4REeQRmaDVRwfKDMnR5GWTtZpbbKbFAOwUpxgT54+E UADS5UYoGAMTir1n5ExLdOii32YjgLS7Zbkfv36kiUg6zFDFjvHptmx5knR2jH/OpCPN BuVg== X-Gm-Message-State: AOPr4FV8Y2RtJSYpnVu6HqiYpPrGtzcYXwPo6pplwKyCRF5q1ZB3GQkZ1jTazDctE2GhXg== X-Received: by 10.129.112.76 with SMTP id l73mr21306703ywc.142.1461595581779; Mon, 25 Apr 2016 07:46:21 -0700 (PDT) Received: from swanson.lan (c-68-46-196-185.hsd1.al.comcast.net. [68.46.196.185]) by smtp.gmail.com with ESMTPSA id q132sm7443402ywc.21.2016.04.25.07.46.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 25 Apr 2016 07:46:20 -0700 (PDT) From: Doug Goldstein To: xen-devel@lists.xen.org Date: Mon, 25 Apr 2016 09:46:18 -0500 Message-Id: <1461595578-7014-1-git-send-email-cardoe@cardoe.com> X-Mailer: git-send-email 2.7.3 Cc: Stefano Stabellini , Wei Liu , George Dunlap , Ian Jackson , Tim Deegan , Jan Beulich , Andrew Cooper , Doug Goldstein Subject: [Xen-devel] [PATCH] travis: enable building of the tools X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP For native (non-cross compiles) we now only require bcc, ld86, as86 for building rombios, we can build the toolstack sans rombios and using the system SeaBIOS due to known build issues. At the same time capture the output of the configure scripts to help with tracking down future build issues. This does not enable building of the toolstack with clang for now due to multiple failures. Signed-off-by: Doug Goldstein Acked-by: Andrew Cooper Reviewed-by: Wei Liu --- .travis.yml | 8 ++++---- scripts/travis-build | 31 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 4 deletions(-) create mode 100755 scripts/travis-build diff --git a/.travis.yml b/.travis.yml index 741a8ab..0eea94e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -75,18 +75,18 @@ addons: - gcc-5 - g++-5 - clang-3.8 + - seabios # we must set CXX manually instead of using 'language: cpp' due to # travis-ci/travis-ci#3871 before_script: - export CXX=${CC/cc/++} - export CXX=${CXX/clang/clang++} script: - - ( [ "x${RANDCONFIG}" = "xy" ] && ( make -C xen randconfig ) - || exit 0 ) - - ( ./configure --disable-tools --disable-stubdom --enable-docs && - make dist ) + - ./scripts/travis-build after_script: - cat xen/.config + - cat tools/config.log + - cat docs/config.log notifications: irc: channels: diff --git a/scripts/travis-build b/scripts/travis-build new file mode 100755 index 0000000..b553f20 --- /dev/null +++ b/scripts/travis-build @@ -0,0 +1,31 @@ +#!/bin/bash -ex + +# random config or default config +if [[ "${RANDCONFIG}" == "y" ]]; then + make -C xen randconfig +else + make -C xen defconfig +fi + +# build up our configure options +cfgargs=() +cfgargs+=("--disable-stubdom") # more work needed into building this +cfgargs+=("--disable-rombios") +cfgargs+=("--enable-docs") +cfgargs+=("--with-system-seabios=/usr/share/seabios/bios.bin") + +if [[ "${XEN_TARGET_ARCH}" == "x86_64" ]]; then + cfgargs+=("--enable-tools") +else + cfgargs+=("--disable-tools") # we don't have the cross depends installed +fi + +# Due to multiple build failures and the desire to get more +# build testing (GCC only) enabled this is disabled +if [[ "${clang}" == "y" ]]; then + cfgargs+=("--disable-tools") +fi + +./configure "${cfgargs[@]}" + +make dist