From patchwork Sun Oct 29 14:50:22 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: 739053 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp742984wrt; Sun, 29 Oct 2023 07:53:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFJC7lRipml+tByH4N13RdMSexTFP+fey1C+jNy48nghEG2wTiHrxNk4FpfTQQk1YS6M7cl X-Received: by 2002:a05:6214:194f:b0:66d:6526:d605 with SMTP id q15-20020a056214194f00b0066d6526d605mr11318960qvk.63.1698591189550; Sun, 29 Oct 2023 07:53:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698591189; cv=none; d=google.com; s=arc-20160816; b=o285N8ki9QoQffjAAtT6A8ZAwR1a7SJV+H+4st9Q9ZYBMW2atEDsmFne0KVZu/yTKo de7pnIQ+1MA0Ff3OBKCVORoQzSR3krHPVas/OAV/0Jeby083/tofR61qI07SH6y/lXgN ERJnBwpFwmlfDlLyIqd6T4HU2e02P33Aat66V6TUuOSSYxAMyv0rmDurcxae/xO38PVC 7LUHkKWoZlsnmghXCO4yr/pK/5q1adLw7+/Em+vXevVO1Zpo15WtgRIW9SzIwCpWIRT7 HRvqO7pwXNk6Ao9imxiEfryFtNo9FYTiWGNmI6Vs78YEUrM02FHsTdKNS347ayDelgfj 7X0w== 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=8g/FbTw3THTTUQ2gaTYnZE7pK1Vxfzs6kl2uSd8zVl0=; fh=xfTKN0dOWXSBe88Qf19pDztkyZ/4+zDTR3+/QiZRr4s=; b=KMElZqYh7hxwg/s9xxHX5e4V5mIS6VKtb4PaNp1WRI0u4BJQi4N1a8H/yE2/T6bVSe TK+oi4zyhkJ/AXOhP/fhiDO6B2RbdhJRB+H99U06+7FqezNBTxsXJgm7zdjTbCjR7Iqn 3/NWCyKUAgNaFcVIbSLyJ6QKAvvFQpRb8/eEG9ROEvY72F+eoDTEsnBaNLpzk+wBMyxt q4ZAUJh3Q48WAFi5tRGEPvQnn10/W06hSJtyMDSsiy5RrptlgIMtvCTF77WSLsFqC0/Q EGPAnY4JhLq5wc85TmehJcS9m/AymKbrKWueQgPmgzM6vAUraofvExL7DfWpXXsbWFFr ViPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J0WPVcGV; 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 f12-20020a0562141d2c00b0065d124684b0si1859362qvd.340.2023.10.29.07.53.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Oct 2023 07:53:09 -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=J0WPVcGV; 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 1qx77n-0007Un-0D; Sun, 29 Oct 2023 10:50:47 -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 1qx77i-0007QV-NQ for qemu-devel@nongnu.org; Sun, 29 Oct 2023 10:50:42 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qx77f-00056L-6J for qemu-devel@nongnu.org; Sun, 29 Oct 2023 10:50:42 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-408425c7c10so29082905e9.0 for ; Sun, 29 Oct 2023 07:50:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698591037; x=1699195837; 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=8g/FbTw3THTTUQ2gaTYnZE7pK1Vxfzs6kl2uSd8zVl0=; b=J0WPVcGVeTkADfqomhuaVMEXh1e5Wg7/AHt8nSd0Tx9WSms/ZcnhviELcBH1iL6bUW +PY883OfIM5sDhrmsaMLyxRaJr4IjC3k/6ncjRbLJtvZbjU8RN6wjj18j8r7phonvqVy aIsBIERATdUMYNjCfpcL6hP/fsIaFC6ZyRAuVlEmnwtEd5P2ot5nw2v+eMg2Hv/Ir0tE 6nVoUEFEkFoYhYEg2nK0oHqP9vDu6exyaJ+p8Zq8osR7uuBXeipeMSKFXwwBuRHiL/gB VmhEdsLZtkOjvzYSzBPexwFXMazAshd3x8kTy90cDn7dY0bH36J8NckM7qTtasQfMIdD 2/fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698591037; x=1699195837; 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=8g/FbTw3THTTUQ2gaTYnZE7pK1Vxfzs6kl2uSd8zVl0=; b=oxpdHLals6jbrsiz+o3+gsFRQOKn4xDe04yAfwIdfOwihSSpcM7oiX2lW7ef8DF1sC /P1cFw0vM6cc7imHmZOPmq3T3endZ69QEc0yWAAIU124PxrOENz3lQge785eWN5d4xnj JndkLgvY1R228n0EHrEYd7eP1PdBMXdn8SjZYgdLz8n85fx04+7w0rxr2YyuetABWQwS 0RWGfkV6n45+G4slX1e7vyJjBTcrbZdB1wcTU0Mv8/WPUMa2+KgfZ0mEGEEBOjva46XQ tuvnUdDGqFsO4BhueLhk8Vpn7VX+M8xRQA92iowevued1aS8xKqYlSVac18QQnQ6BcMM OlgA== X-Gm-Message-State: AOJu0Yxzom1kORTd9wX5Tyjmyhh27IYV28SKNr8zPOiJOrJYKQObzuU5 nqAgqySRxBQlvBlGsT0xxsCeig== X-Received: by 2002:a05:600c:4e94:b0:408:febf:831f with SMTP id f20-20020a05600c4e9400b00408febf831fmr6032418wmq.28.1698591037579; Sun, 29 Oct 2023 07:50:37 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id t13-20020a5d534d000000b0032d9548240fsm6116589wrv.82.2023.10.29.07.50.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 07:50:36 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id D303E655DF; Sun, 29 Oct 2023 14:50:34 +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 08/19] tests/docker: use debian-all-test-cross for power Date: Sun, 29 Oct 2023 14:50:22 +0000 Message-Id: <20231029145033.592566-9-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::32a; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32a.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. Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20231028103311.347104-7-alex.bennee@linaro.org> --- 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 3e6d741f62..a1dac0a45f 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -82,12 +82,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 f61d97102f..82e06d84b3 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-m68k-cross debian-mips64-cross DOCKER_PARTIAL_IMAGES += debian-microblaze-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