From patchwork Wed Jun 21 14:48:09 2017 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: 778949 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 3wt7Bw3Y4zz9s74 for ; Thu, 22 Jun 2017 00:58:48 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="C3FQCUew"; dkim-atps=neutral Received: from localhost ([::1]:54558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNh5i-0008UW-9U for incoming@patchwork.ozlabs.org; Wed, 21 Jun 2017 10:58:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNgv0-0006nF-55 for qemu-devel@nongnu.org; Wed, 21 Jun 2017 10:47:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNguz-00056q-6N for qemu-devel@nongnu.org; Wed, 21 Jun 2017 10:47:42 -0400 Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:34025) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNguz-000569-0A for qemu-devel@nongnu.org; Wed, 21 Jun 2017 10:47:41 -0400 Received: by mail-wr0-x22a.google.com with SMTP id 77so138150496wrb.1 for ; Wed, 21 Jun 2017 07:47:40 -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=OXyGvWjeMwNuN1c9aDdEQS37B7Bwg75Rl9r0Azr/Dbs=; b=C3FQCUew5NeLBYYYl4ldmV/z9Tr+uSHTHC9BZrlbQPQ89wrkXrtJ+tnmWyMWMIl25W XmItrJyUgX3x3KIOjqilX3G2hyspunhUOMkDGXMT41JgG+sy2UDD/Nrzf9T0M9iDkEz4 brKStMO92HY/mV9lrIPkuKTeLIH+V9Xb38Z1Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OXyGvWjeMwNuN1c9aDdEQS37B7Bwg75Rl9r0Azr/Dbs=; b=JfeLXpbDiny32xhN7GCOoEgZVtS3OW2Sdu+YBcG1UKoJZtx2H9yC/E5aBltrDbehhj jirJxNfto33AaAJDk63ux0k2bvB3S01KbhU58VApyULZ7pEc/OYn2eP+OgXVWOb/krBF ZYze4XGmqrEZALOyIyE/x34+nH8dzX+JafvCrXdOkr2CL0IWoXmYmi8GA97/+uFTGkaH qvM5/lCNI0JkroMD57heG69uTMl+vzjh5GTQEiVgP2SGG4IuMmGbq+q+09VXfNdU9Yi0 M0t5ZBTr5v7yX+TwEyR/N7XIRHTkanFvQLWHxtF2POwNvwCg1Jr4fVWrFJmE0PajqvMW qUxg== X-Gm-Message-State: AKS2vOyAjFY73FB5CqQT/o0j5piYTxpPeobEDTd1+p/ig7ViJjosQFcC 6cxlQ97MhUru4wL1 X-Received: by 10.28.107.87 with SMTP id g84mr7090344wmc.63.1498056459905; Wed, 21 Jun 2017 07:47:39 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 31sm11257951wrd.20.2017.06.21.07.47.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Jun 2017 07:47:36 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 532C43E1055; Wed, 21 Jun 2017 15:48:15 +0100 (BST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Wed, 21 Jun 2017 15:48:09 +0100 Message-Id: <20170621144814.15324-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170621144814.15324-1-alex.bennee@linaro.org> References: <20170621144814.15324-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22a Subject: [Qemu-devel] [PULL 16/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: Fam Zheng , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé 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 Signed-off-by: Alex Bennée 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))