From patchwork Sun May 21 03:29:50 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: 765026 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wVndt48Fwz9rxm for ; Sun, 21 May 2017 13:41:38 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="otQUJHSc"; dkim-atps=neutral Received: from localhost ([::1]:36204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCHkO-0001lg-8C for incoming@patchwork.ozlabs.org; Sat, 20 May 2017 23:41:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCHZs-0001eb-5r for qemu-devel@nongnu.org; Sat, 20 May 2017 23:30:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCHZr-0007NQ-7C for qemu-devel@nongnu.org; Sat, 20 May 2017 23:30:44 -0400 Received: from mail-oi0-x243.google.com ([2607:f8b0:4003:c06::243]:36836) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dCHZr-0007NE-2M for qemu-devel@nongnu.org; Sat, 20 May 2017 23:30:43 -0400 Received: by mail-oi0-x243.google.com with SMTP id w138so18047968oiw.3 for ; Sat, 20 May 2017 20:30:42 -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=otQUJHScdxtWSD/nLr3BLeQT9kbhzqc6u/7mFAyczDUszypjHRU3xTHnHDD7GdEfJd KirRPbhbsguzU4aQ/4Lv9YVZ3DwyOXesKbMINvfhr8+QXsCAWke8FP/fykQMN3ARadT4 Sz24kpSAQjMU7R+VnevOZk5Uuhhg+8VL9z3nmFQMzItFw7frjqUPXi4ELodECkLws2uG RkV2pznslq9p9U0g71Wucg5UdPvJ7Qm7q+/7zZs30oFG1J2nPTpgbwWF/Kn65iz/Pmxx aSzMUYwWCHl7isOoQGXMqh1T7EfTXGHY6h9mgCp0BVQewDQspdmObMvYDi5C42NfZOeb LIJw== 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=ZHOm6EDYXk9otBiqTpqjVE8GW0QibpfNz/GBehahf3ML8dr9BK1SWcE+J7+WBVK+4G wxYwQ/akvCBogDpLsG6cqanM0wf0GhEPACTV+TNiGhVT/ZIvpdsaEJt4rj+dqAiPWmUG gwQHREOYtrayj9Itw/c2U37A/jQD8EIhRg9tK9MYqb9vJRCqPHDm1d7Cpryd/v8Qgvhp f/35vEWKRKsBaup48ZOf9Hy++9Awde4oMUPdI2ZRmC3iwl6M5dmgRBoR44dAMmTk9coC TnINW+5s/ze8IhSD0eL0/lWqC1oxTbnWkBEpbQeuM8asmFOzag8xX1kqaHGRjp5H7mVW 2KgA== X-Gm-Message-State: AODbwcAD4jCTzgxbmeDqQYNwzIvOFjT1PCAKKz7Q5vovK0rlcSwSxL5n cAwulGmAiInNYQ== X-Received: by 10.202.114.74 with SMTP id p71mr7958482oic.201.1495337442495; Sat, 20 May 2017 20:30:42 -0700 (PDT) Received: from yoga.attlocal.net (162-231-236-127.lightspeed.miamfl.sbcglobal.net. [162.231.236.127]) by smtp.gmail.com with ESMTPSA id u23sm6499219otg.31.2017.05.20.20.30.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 May 2017 20:30:41 -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: Sun, 21 May 2017 00:29:50 -0300 Message-Id: <20170521032956.27446-19-f4bug@amsat.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170521032956.27446-1-f4bug@amsat.org> References: <20170521032956.27446-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:4003:c06::243 Subject: [Qemu-devel] [PATCH v3 18/24] 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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é Reviewed-by: Alex Bennée --- .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))