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: 106091 Delivered-To: patch@linaro.org Received: by 10.182.29.35 with SMTP id g3csp1862743obh; Wed, 21 Jun 2017 07:59:37 -0700 (PDT) X-Received: by 10.55.87.198 with SMTP id l189mr41280255qkb.187.1498057176954; Wed, 21 Jun 2017 07:59:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498057176; cv=none; d=google.com; s=arc-20160816; b=PvC8nLlBpOGE0f7qNQj1mEW7VktUPTTchZu3lbKQjgAvvaSoraAX6K5V3vnvuZ+5Gu 7tYbmfyiWRtEjBa2uMZfnaM+NWSqgZcEi8/kS082CFMFKLy1h9u7bee1YovIbC2noZpz K2HI++IB0a1NazE4wi52LpSq7X8JU9nNwC9h3nUY1Heo0UPrbqQ55kw8SDsPmZGkvU9w Oe6UsbnL2TzkcOwytFIoWJAjJZ+7VsTEJulgOpdxfPHXK+gTA9zwkzBwXMzlZajSS/Cy dzkGmVIwqZaWj1xYPsdqwtti4ph8Eu7Os2ZsizmV4WpBLf+W2dPNAu5PXuRZUd0WwmVX VR/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=OXyGvWjeMwNuN1c9aDdEQS37B7Bwg75Rl9r0Azr/Dbs=; b=VfkdReqbhsFMg7qTBa7/OB559X0otipnKVtRsjjpwgGjKQzKsjkfK/p1CiX0Abrjg/ qAS8QRGj73iC0YZsWs8staHlPL0N1F/fBaC2fFAm3SF9iKlfF3rTftn7t0NumQ+wZopo cKSD5PVlcXsIsC/nx8LpslrYzNYzwVa2UeQiuzpclkEE+xatrHwDKWDNK8Z1DvU5oOsq emL39qfG2wQxHjZ0tRaVKgHumK7XIHe8i6+GutNApsUf4wE1+CIncBUovGcED3Fv/gRz ybCfiyfDah1ZubgRtTRNbjTSl0VYS/Ii9Ti7pnPyzQqXCgLYksKj2AVCx0i4krtmv2pC ratA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=C3FQCUew; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id p35si14980924qkp.165.2017.06.21.07.59.36 for (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 21 Jun 2017 07:59:36 -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; dkim=fail header.i=@linaro.org header.b=C3FQCUew; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:54561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNh6U-0000c0-Cr for patch@linaro.org; Wed, 21 Jun 2017 10:59:34 -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_Benn=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_Benn=C3=A9e?= , qemu-devel@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.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 -- 2.13.0 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))