From patchwork Mon May 8 22:17:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 9716831 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8988E602A0 for ; Mon, 8 May 2017 22:30:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 76DD326B41 for ; Mon, 8 May 2017 22:30:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67FD926CFC; Mon, 8 May 2017 22:30:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E302B26B41 for ; Mon, 8 May 2017 22:30:53 +0000 (UTC) Received: from localhost ([::1]:33979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7rB6-0001pY-N8 for patchwork-qemu-devel@patchwork.kernel.org; Mon, 08 May 2017 18:30:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36834) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7qzV-0000Kk-Pp for qemu-devel@nongnu.org; Mon, 08 May 2017 18:18:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7qzS-00074b-J4 for qemu-devel@nongnu.org; Mon, 08 May 2017 18:18:53 -0400 Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:32917) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7qzS-00074X-ER for qemu-devel@nongnu.org; Mon, 08 May 2017 18:18:50 -0400 Received: by mail-qt0-x244.google.com with SMTP id a46so11473139qte.0 for ; Mon, 08 May 2017 15:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ZEzVFyyTVn0U6dhgXhf+OYHBLEpPKqa1+LThVgwfh40=; b=UkVRmvSoCFfY9SDEshYvYim7qKavrJ9Y1wFPXG9/ycByXAHHuj3PAFTeIma9GE7iQR T57gOOUpVLGSrw5Jg3GRWx8B2aOqhf+OccqpSe75FzUfQy9ExByi6R/JeoEMoU2Zmn+d PdD2EXUVCMXtlt3VmOIPBec7EToJ2IzFYhU8fm03Dx79FbYM6sU0Qf9k42KfScWSvcii XLR6wokCF0BqeSzkOnTB6IbdppTgrqUegySuYy4BC9om10XLbnudyWO7WRlzQMHrsBcn F8PBOan3P00LAwg0nuNzMQVEUXzGGWFrFq9CXc/vRvYr8zVwWURIx2ZcCVydn/m5CS2o 1iWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=ZEzVFyyTVn0U6dhgXhf+OYHBLEpPKqa1+LThVgwfh40=; b=ZEOWlsPOuhfcAgNWBZjHlUsAPt8c2VwP0YChmc0iLENGbumY3LhtcHugsB6ZHzhWZi 5qM5yPpHE3jE3e97343MkrvS4gCH6g9YT8xYaaHHO2121RBhLHbDmSEfX1MFaIAI92h8 WZv6T19JsVGKK6GI+ubS//jKCBrRusxlqOOHv95h4/0G1m7khK8P5lDuunmM1t+yrFgC 7VnVT9DPBbiilGuFcwhb3ctLQfRr88QuEjgjkOAjK0j86lAlIsFc5uNfmWJNlb761lbU x921dMbfOIkiCx+jgcRWsaHi5nTMJiHNHONu7vvdyi0p0ciw9eXM55gYdRtUm99VLX7h M65Q== X-Gm-Message-State: AN3rC/7w/j1RFSI3At3/IutY5W6AbsUVTCW4NKZ8pKetkVx24PkTmi2g 64RlX43rs2QqfA== X-Received: by 10.200.43.146 with SMTP id m18mr55350416qtm.210.1494281930028; Mon, 08 May 2017 15:18:50 -0700 (PDT) Received: from localhost.localdomain ([138.117.48.226]) by smtp.gmail.com with ESMTPSA id k65sm10157286qkf.18.2017.05.08.15.18.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 May 2017 15:18:49 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , Fam Zheng , Aurelien Jarno , Riku Voipio , Vagrant Cascadian , Michael Tokarev Date: Mon, 8 May 2017 19:17:53 -0300 Message-Id: <20170508221759.15616-16-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170508221759.15616-1-f4bug@amsat.org> References: <20170508221759.15616-1-f4bug@amsat.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::244 Subject: [Qemu-devel] [PATCH v2 15/21] shippable: do not initialize submodules automatically X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP instead do it in the 'ci' target when needed. for mips64el-softmmu target: use dtc submodule if distrib packages are too old. example with outdated libfdt on mips64el-softmmu target (required is >= 1.4.2): # dpkg-query --showformat='${Version}\n' --show libfdt-dev 1.4.0+dfsg-1 shippable output: ---------------- LINK mips64el-softmmu/qemu-system-mips64el ../hw/core/loader-fit.o: In function `load_fit': /root/src/github.com/philmd/qemu/hw/core/loader-fit.c:278: undefined reference to `fdt_first_subnode' /root/src/github.com/philmd/qemu/hw/core/loader-fit.c:286: undefined reference to `fdt_next_subnode' /root/src/github.com/philmd/qemu/hw/core/loader-fit.c:277: undefined reference to `fdt_first_subnode' collect2: error: ld returned 1 exit status Makefile:201: recipe for target 'qemu-system-mips64el' failed make[1]: *** [qemu-system-mips64el] Error 1 Makefile:327: recipe for target 'subdir-mips64el-softmmu' failed make: *** [subdir-mips64el-softmmu] Error 2 Signed-off-by: Philippe Mathieu-Daudé --- .shippable.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.shippable.yml b/.shippable.yml index 1e3ae35dd9..46adfa030f 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -1,4 +1,6 @@ language: c +git: + submodules: false env: global: - LC_ALL=C @@ -19,5 +21,13 @@ build: options: "-e HOME=/root" ci: - unset CC + # some targets require newer up to date packages, for example TARGET_LIST matching + # aarch64*-softmmu|arm*-softmmu|ppc*-softmmu|microblaze*-softmmu|mips64el-softmmu) + # see the configure script: + # error_exit "DTC (libfdt) version >= 1.4.2 not present. Your options:" + # " (1) Preferred: Install the DTC (libfdt) devel package" + # " (2) Fetch the DTC submodule, using:" + # " git submodule update --init dtc" + - dpkg --compare-versions `dpkg-query --showformat='${Version}' --show libfdt-dev` ge 1.4.2 || git submodule update --init dtc - ./configure ${QEMU_CONFIGURE_OPTS} --target-list=${TARGET_LIST} - make -j$(($(getconf _NPROCESSORS_ONLN) + 1))