From patchwork Sat Oct 28 10:33:00 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: 738930 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp301277wrt; Sat, 28 Oct 2023 03:34:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGbHNYg3jKwv6cYA0/CKuWJ3M1/VldcrmhtvqFvSxqMohegvzHePJiiHJj8xc1PvjgUE25J X-Received: by 2002:a05:6214:e4c:b0:66d:1624:2203 with SMTP id o12-20020a0562140e4c00b0066d16242203mr6063860qvc.20.1698489287765; Sat, 28 Oct 2023 03:34:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698489287; cv=none; d=google.com; s=arc-20160816; b=lsUDBK0eEbPBGTOBx8r2ZDAWtQXyk0SyJmAtcNc5yY9PgTbHgRE5dqGFXO8VBKVv2t au2ESIc0YYRWpc8naDGlINcv/j1FHTzmDIz3ijHJrRdfeo3rBUkWwkh5NQdhO1twgLCP QLuGLVY03Aqnn3z9R8fLI1vr4DjW8ZiNna7QlIL30YB/lsHgx32KNqsUnXNOB6UWuYgj aiIgyDlP1e6nKUtFcrRDlKxnho22yqWtGCTctllYNHtR0OHVC41eIKfRXNjPu6zIavXf M+aFIk+XxTfp5kFMw+RZ8pKPQYRG9EMIbSB4SQKlCJ8fXRJAWXPO7rNIRSfs8qigreBj /MVg== 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=81A+fTHfkK/i+u7qQsM4s5VTWm7Z9pz42133Nfe8nnY=; fh=Li0NIah2CDds17dcf3NMv/o5ja0S+f9u+iV0vQ5eMRg=; b=a7x32N46aYCxVBzjm0U85lfJEwgc9Rhz6yGB5ODDcvFLcg92O/2IIMGeDgwhkDkH3M FFV0x0JnIUke+RnQqpnLY8hwCW4xZuksvRIX8n4xkZsfECejoQlz54o8NUzltcGRy16d ULNPMd9dpb+cR8qQVXBh05xA3zPh84d/jzzaqrQL7/XFe3BHOCRJMiKt/4DTfeAYZD2b Cbcim899bKsQbGPvvwCfMPHUt90yXq+OyXshn28CqFlaLdV3ixZbiOpOk3gH+f5GZSIC ilmcqkTEbkwOeGzH65NHWXj2Gq+nK49Gojkjro87F8ngTojgMmi5JlPIvLrHsQ2+069C 399w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R+N8xND+; 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 v15-20020a0ccd8f000000b0065623cd1f57si2178386qvm.464.2023.10.28.03.34.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Oct 2023 03:34:47 -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=R+N8xND+; 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 1qwgdB-0006Ab-Di; Sat, 28 Oct 2023 06:33:25 -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 1qwgd9-000696-Vl for qemu-devel@nongnu.org; Sat, 28 Oct 2023 06:33:23 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qwgd5-00039O-TX for qemu-devel@nongnu.org; Sat, 28 Oct 2023 06:33:23 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-40859c46447so19686705e9.1 for ; Sat, 28 Oct 2023 03:33:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698489195; x=1699093995; 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=81A+fTHfkK/i+u7qQsM4s5VTWm7Z9pz42133Nfe8nnY=; b=R+N8xND++dg8mOHUh/tSqliS+L7LAlC6rR9GOLBytBKO80Ms93FJ8pSURVE84c/2Z8 Gn919OU7wG7AtJezD28u2nGrzS9/7DV0nDuVhJq2BEHkcofq5skah8oPnp/UY9WDCbDU 64i2PdESFTeoejxNlzGLdq5tVX0hPcru/0UuwWeVWbXqTE78LFkdAgNUpt6eq9MjN6YL zNMFlsvj2dXIbNM0fqwnYvA/jcaBxVU3ON3ptAndM6a8q3V65XTWv9Q5wkRZuk/1GWNK /khSBuxhKwMpSLwxch2dinOUtFwTJaDU3N1KEI8g0wuqDqeyNFw9kjjmSUelcST+iWeS 0auw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698489195; x=1699093995; 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=81A+fTHfkK/i+u7qQsM4s5VTWm7Z9pz42133Nfe8nnY=; b=M6sMF2G7OjwIAci1DKaU43+k/ctLca7jhzr0MnWyFJwdg9ttXWWKhzwYI+1trGKpSE Aadtxv9pfzoMVVFBvIts2HMWdHpXrVl6bQF8DzrYWnoe4JN4ENQfGghUbpM9m+ftye4M S6RA9XHCDTIfK2q9ve2H+YOe5SlF/crb9zwZPnn2z5u6EAaa/aXzFGuJsXKJPYVJ5Hxx D178y3J8iP1Yi/qssm1gKzXL4mb5SIL6/SU1EGFypjBE9WZrnzYZBO+f89fnmqa9n7Vt bqlKKDqX+Hl4X+ba+0LDpGRDwpDrISsE69SX/GFzkgvRDk2cY5EJdUJY4ZIQSp3V4nY6 p6Tg== X-Gm-Message-State: AOJu0Ywgi+tXaeJqJmrpUHPcbeceS6UGzSdXX5tVPtpeDM62gTe22yLK XW1RjyhH2CbH3NuL4NcLn9Oesw== X-Received: by 2002:a05:600c:4452:b0:405:1ba2:4fcb with SMTP id v18-20020a05600c445200b004051ba24fcbmr4221321wmn.16.1698489194908; Sat, 28 Oct 2023 03:33:14 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id c9-20020a7bc849000000b00405d9a950a2sm7076142wml.28.2023.10.28.03.33.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 03:33:14 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 96E265F79E; Sat, 28 Oct 2023 11:33:12 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , Mahmoud Mandour , Brian Cain , Paolo Bonzini , Warner Losh , Eduardo Habkost , Alexandre Iooss , "Edgar E. Iglesias" , Kyle Evans , qemu-arm@nongnu.org, Aleksandar Rikalo , Aurelien Jarno , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= , Richard Henderson , Wainer dos Santos Moschetta , Peter Maydell , Brad Smith , Jiaxun Yang , Thomas Huth Subject: [PATCH 06/17] tests/docker: use debian-all-test-cross for power Date: Sat, 28 Oct 2023 11:33:00 +0100 Message-Id: <20231028103311.347104-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231028103311.347104-1-alex.bennee@linaro.org> References: <20231028103311.347104-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32f.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 Reviewed-by: Richard Henderson --- configure | 4 ++-- .gitlab-ci.d/container-cross.yml | 6 ----- tests/docker/Makefile.include | 1 - .../debian-powerpc-test-cross.docker | 23 ------------------- 4 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 tests/docker/dockerfiles/debian-powerpc-test-cross.docker diff --git a/configure b/configure index 37d1b10b87..8707bd2e78 100755 --- a/configure +++ b/configure @@ -1325,12 +1325,12 @@ probe_target_compiler() { container_cross_prefix=nios2-linux-gnu- ;; ppc) - container_image=debian-powerpc-test-cross + container_image=debian-all-test-cross container_cross_prefix=powerpc-linux-gnu- container_cross_cc=${container_cross_prefix}gcc ;; ppc64|ppc64le) - container_image=debian-powerpc-test-cross + container_image=debian-all-test-cross container_cross_prefix=powerpc${target_arch#ppc}-linux-gnu- container_cross_cc=${container_cross_prefix}gcc-10 ;; diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index 61f23561b7..ec56990bc5 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -76,12 +76,6 @@ mipsel-debian-cross-container: variables: NAME: debian-mipsel-cross -powerpc-test-cross-container: - extends: .container_job_template - stage: containers - variables: - NAME: debian-powerpc-test-cross - ppc64el-debian-cross-container: extends: .container_job_template stage: containers diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 654f24b188..356986d687 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -122,7 +122,6 @@ docker-image-debian-nios2-cross: $(DOCKER_FILES_DIR)/debian-toolchain.docker \ $(call debian-toolchain, $@) # These images may be good enough for building tests but not for test builds -DOCKER_PARTIAL_IMAGES += debian-powerpc-test-cross DOCKER_PARTIAL_IMAGES += debian-hppa-cross DOCKER_PARTIAL_IMAGES += debian-loongarch-cross DOCKER_PARTIAL_IMAGES += debian-m68k-cross debian-mips64-cross diff --git a/tests/docker/dockerfiles/debian-powerpc-test-cross.docker b/tests/docker/dockerfiles/debian-powerpc-test-cross.docker deleted file mode 100644 index 23779413d3..0000000000 --- a/tests/docker/dockerfiles/debian-powerpc-test-cross.docker +++ /dev/null @@ -1,23 +0,0 @@ -# -# Docker powerpc/ppc64/ppc64le 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-powerpc-linux-gnu \ - libc6-dev-powerpc-cross \ - gcc-10-powerpc64-linux-gnu \ - libc6-dev-ppc64-cross \ - gcc-10-powerpc64le-linux-gnu \ - libc6-dev-ppc64el-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