From patchwork Sun Oct 29 14:50:28 2023 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: 739060 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp743061wrt; Sun, 29 Oct 2023 07:53:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHBgmaOgVqrXY8EWr2I0dWLAj5dl+4R7uG6KE1Un01Idxg7ATy/P6EkXBcW+PP5RJCuZAeA X-Received: by 2002:a05:6214:1d2f:b0:671:fb5a:4adb with SMTP id f15-20020a0562141d2f00b00671fb5a4adbmr2424068qvd.14.1698591209820; Sun, 29 Oct 2023 07:53:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698591209; cv=none; d=google.com; s=arc-20160816; b=lRcuLy4sNXsMbmbtofeLS9GyC9LVKxierxDcVvpT1nByNk6ZV2WMqywsVZvPJ0b9LU PRriXqe6pDC0wdzZm+JSnvy9d1wCDhOZerxWFOPuo1J/U50S2XM3vVSeszx2eqRJMmtI THZdOVuNXID5cSzIZlhwW98gESMnzVYS3Owm+Wxr2wjZkvfhOVusWdulJbjO2uIG7xYn K7hSmRLU6yAmhH/Elz2EdG9kbnbiqYgFAAqNmPHeBgAa55pqErKC/jP1yjy5umpxCYq5 kXUmj9kz5ZAgGmu0geeBT+I+fhSHvb/dtom0XXbgoJkv1ohfAXEQ0wIhVs5+vMqGoMff clQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=lNw5GGlG5jDwwccWpxKsbka+eHh936VBHjbQTGFkmKY=; fh=xfTKN0dOWXSBe88Qf19pDztkyZ/4+zDTR3+/QiZRr4s=; b=BK66aR771juScZccLUW631elT/Q7w49eHzlWMXWijRgmQ5D6sXglj2awc5bV76km+v 8yCq7LtxXGZM2oXFI8Gpv3wTreZzsTCE+BbRZ1KJDFBZGt6eqIijuTLZmgSYDBAQoK86 NdaqnQ0v0WzvrWebuWBTZMt1q1pvawV1dRGK1ygHrI8wK+T17KGQ4bEWtavZS0+WfRm1 uGwDZ+fWSBMF0ZDCUPlDj5010gBVUgmXCkQ826m3e925QTqFbCsaa3RtuqOvvqmJuyuh eJ2nWbzMVwICmOBaV1j2+/qXBS0D2sB9W5WL9SZ1XKYqnVpW79ByHh22GhVP6W2q1kpH gLqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="HNCsj/MT"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d7-20020a05620a240700b00778fcee30dcsi4125921qkn.173.2023.10.29.07.53.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Oct 2023 07:53:29 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="HNCsj/MT"; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qx77r-0007bT-Tu; Sun, 29 Oct 2023 10:50:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qx77o-0007Wd-JA for qemu-devel@nongnu.org; Sun, 29 Oct 2023 10:50:48 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qx77j-00058V-AJ for qemu-devel@nongnu.org; Sun, 29 Oct 2023 10:50:48 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-4083dbc43cfso24461015e9.3 for ; Sun, 29 Oct 2023 07:50:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698591042; x=1699195842; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=lNw5GGlG5jDwwccWpxKsbka+eHh936VBHjbQTGFkmKY=; b=HNCsj/MTd7p7N5+2DDj27AZ8V8OMurQ/RBOiW/lsQjDQXEgIdEke4t8UjjSLYWaAlS C5GZ2mhK3IebrOuU8G715gdlGAPYr1k0xDY2/8sbO0OdFEcLEANxE98kVsKD7tdGkV5U xlaiBtEJ0UfNyD+MtPg1l/uTXXvyp/gj/9h6QvkAydruChRAZRhajXLeAPbtNMQCq1gU tXNHfzEtK5NJWmuqf5mH/mmw4ZCP05oFl9VvasvGgw2LdGCzxZgAjLwZip324VNQaKou l0h2pP+GNvnUregHpUYJbtmV1wEAK5umgORX5QEr8tTgRkgzXsqjB6ICaFJfMefAifP/ rdLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698591042; x=1699195842; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lNw5GGlG5jDwwccWpxKsbka+eHh936VBHjbQTGFkmKY=; b=p/1YOCxyFTNRGQmVxKHSCG+B1R3u5ZqdXGMGg8zBWBfCFGDnW6s0Y48DtMrQdQrAij NEXn1x5wiGavX5YrMzaQTe8DXjo0+pesV9jlCIhTucVl8AU9gUgadAmGYwrDUxoAEE4h j2YOK3tdfHVxfWdlUjvZGZY5Ju2vknysBgpgjx+WX7v1uYwD28ypXCwABoJeYipeA02P SWN60e13hxHHqHhilGEdynpFCbVVh4DVMC+sxhxBC9dnAubNeR3zAt44iAaa2NKtzM0L Di9Jc70Oet8C7giT3xiFreLeGDuWyMu2dr1WxfvxvkYgxlAyDthPRQkJVk29vvbYF/F6 r/Sw== X-Gm-Message-State: AOJu0YykKPnesNE8284x0Cox2FyZAQLviufet9g+qhkVEAV+R9Ck4+wv fzUX12ayQm+yt4hKeif6Y+CBlg== X-Received: by 2002:a05:600c:4684:b0:409:231e:2a69 with SMTP id p4-20020a05600c468400b00409231e2a69mr6062827wmo.28.1698591041926; Sun, 29 Oct 2023 07:50:41 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id er14-20020a05600c84ce00b004064cd71aa8sm6708969wmb.34.2023.10.29.07.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 07:50:40 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 738A15F7A4; Sun, 29 Oct 2023 14:50:35 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Richard Henderson , Paolo Bonzini , Mahmoud Mandour , Wainer dos Santos Moschetta , Brad Smith , Aleksandar Rikalo , Kyle Evans , Aurelien Jarno , Jiaxun Yang , qemu-arm@nongnu.org, Peter Maydell , Thomas Huth , Warner Losh , "Edgar E. Iglesias" , Eduardo Habkost , =?utf-8?q?Alex_Benn=C3=A9e?= , Beraldo Leal , Brian Cain , Alexandre Iooss Subject: [PATCH v2 14/19] tests/docker: use debian-all-test-cross for sparc64 Date: Sun, 29 Oct 2023 14:50:28 +0000 Message-Id: <20231029145033.592566-15-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231029145033.592566-1-alex.bennee@linaro.org> References: <20231029145033.592566-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x330.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Maintaining two sets of containers for test building is silly. While it makes sense for the QEMU cross-compile targets to have their own fat containers built by lcitool we might as well merge the other random debian based compilers into the same one used on gitlab. Signed-off-by: Alex Bennée Message-Id: <20231028103311.347104-13-alex.bennee@linaro.org> Reviewed-by: Richard Henderson --- v2 - s/debian-test-cross/debian-all-test-cross/ --- configure | 4 ++++ .gitlab-ci.d/container-cross.yml | 6 ------ tests/docker/Makefile.include | 1 - .../dockerfiles/debian-sparc64-cross.docker | 19 ------------------- 4 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 tests/docker/dockerfiles/debian-sparc64-cross.docker diff --git a/configure b/configure index 20247bc149..0b9d6a8863 100755 --- a/configure +++ b/configure @@ -1356,6 +1356,10 @@ probe_target_compiler() { container_image=debian-legacy-test-cross container_cross_prefix=sh4-linux-gnu- ;; + sparc64) + container_image=debian-all-test-cross + container_cross_prefix=sparc64-linux-gnu- + ;; tricore) container_image=debian-tricore-cross container_cross_prefix=tricore- diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index 98940d0f3b..463ac493ad 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -79,12 +79,6 @@ s390x-debian-cross-container: variables: NAME: debian-s390x-cross -sparc64-debian-cross-container: - extends: .container_job_template - stage: containers - variables: - NAME: debian-sparc64-cross - tricore-debian-cross-container: extends: .container_job_template stage: containers diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index dc55ecf001..cd4688bf07 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -124,7 +124,6 @@ docker-image-debian-nios2-cross: $(DOCKER_FILES_DIR)/debian-toolchain.docker \ # These images may be good enough for building tests but not for test builds DOCKER_PARTIAL_IMAGES += debian-microblaze-cross DOCKER_PARTIAL_IMAGES += debian-nios2-cross -DOCKER_PARTIAL_IMAGES += debian-sparc64-cross DOCKER_PARTIAL_IMAGES += debian-xtensa-cross DOCKER_PARTIAL_IMAGES += fedora-cris-cross diff --git a/tests/docker/dockerfiles/debian-sparc64-cross.docker b/tests/docker/dockerfiles/debian-sparc64-cross.docker deleted file mode 100644 index 1ef735f223..0000000000 --- a/tests/docker/dockerfiles/debian-sparc64-cross.docker +++ /dev/null @@ -1,19 +0,0 @@ -# -# Docker cross-compiler target -# -# This docker target builds on the Debian Bullseye base image. -# -FROM docker.io/library/debian:11-slim - -RUN export DEBIAN_FRONTEND=noninteractive && \ - apt-get update && \ - apt-get install -y eatmydata && \ - eatmydata apt-get dist-upgrade -y && \ - eatmydata apt-get install --no-install-recommends -y \ - gcc-sparc64-linux-gnu \ - libc6-dev-sparc64-cross -# As a final step configure the user (if env is defined) -ARG USER -ARG UID -RUN if [ "${USER}" ]; then \ - id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi