From patchwork Sun Oct 29 14:50:23 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: 739052 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp742891wrt; Sun, 29 Oct 2023 07:52:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGeJo7InAIVR5a7On1u2Byc63iGnkQGYQfuvXXd7Bd04d5O7zDUPOoteXH6TNodqEDMhTi9 X-Received: by 2002:aca:1909:0:b0:3b2:df82:812e with SMTP id l9-20020aca1909000000b003b2df82812emr8642404oii.32.1698591173140; Sun, 29 Oct 2023 07:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698591173; cv=none; d=google.com; s=arc-20160816; b=TB+IZ3vozwXjyD9c9OsMQgJ0/93hbe7crBwR+NKE0qvgF42Klc5yNPTtZ7BpazTKPh W+JPgHC5LNuDPOJkzbSeVrxSKKxoz98S+OT/lt2eHHuT7weJaaJMFjneYU6VPwVKghmP 1dTut3cxAbh/RI3Z8OE+GlWCFmXeYahKvkP0LfDt1R+QFu4p74dqepWNlSag1LLpW4cQ 1r2f0zwKnuX4Megb+E8YJjBJZfrD9/nOzLNsISBbLNEg65l4SwBGxrgJTv1sxJoC55BD LrrN21hBsvEOnu72KLK8Hstk9mG6mv3v4e8+9Df6F6JND89rkfSdMkmKY6y2l8pG36PO opDw== 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=clAsXQk4CcruGbOXHReH1yVf9BfUQKuu3xZ4btQvLbE=; fh=xfTKN0dOWXSBe88Qf19pDztkyZ/4+zDTR3+/QiZRr4s=; b=zBgjG7K3IjnFrngtsnqaVR5BXkb+shVYmcrEogpjIIOeAU0nnkRKgyWCXcX8qOrNGS T/k/yOx2N74h+UreTNz8VMB7BOl6VBUsBVOIZQkFYkjy1VgOHg/GJBsXrlrQ0T5Nv3Qv +ffkZgNV0YUjSFVLJhk4bZdxUkTtqJ+rPL+uns6PcPmjP4LOi1y4899FHYpt3FXbR5/z KpcKNvqNOHCLTDQCUJytEZ4PUNHNJQxuoztMvdxDMPrayfZnoVSIpdTpDMfi9N+qKcmR 95YM2uHewrte1KfFZqQBY20LxRvqOcWQcWMv4Wtn/PLP6xBOpe1KJSg38k2Kybfi4yaG mtnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VdmwDwgD; 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 s20-20020a05620a29d400b0077a02ac0bc5si3974627qkp.33.2023.10.29.07.52.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Oct 2023 07:52:53 -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=VdmwDwgD; 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 1qx77l-0007Ss-Nx; Sun, 29 Oct 2023 10:50:45 -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 1qx77k-0007RL-6t for qemu-devel@nongnu.org; Sun, 29 Oct 2023 10:50:44 -0400 Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qx77f-00056N-JT for qemu-devel@nongnu.org; Sun, 29 Oct 2023 10:50:43 -0400 Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2c503dbe50dso53296261fa.1 for ; Sun, 29 Oct 2023 07:50:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698591038; x=1699195838; 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=clAsXQk4CcruGbOXHReH1yVf9BfUQKuu3xZ4btQvLbE=; b=VdmwDwgDmsCvvcEHJayoOIouyPdJCE9Y+srZBBM7oqbs0PJAxf+NLS+wyjPD8TbW0u PGTNCP/ClrTnkenBGWjIsAZNmB3bRsBLytB+qwU2O8x4gxCK5TNLXRm23P5CR/rZF2bh IG9uc14Jvg7CTqMOPSTn3T5v4zGZ+Vpc236HsWOgZmvu/pkLhoVCC6AKM13BMmhwP6U6 0z+Vw+K2IT/yDvcGEvU9lbPVjld4Rz9HpqOK0QdWN3m+Q5GLWO5qrqnNyLzzv7ZEw8eM GgZYG0p7bWp0VD307QUsa+6FhLyMXNct78XeLfHdqlfnfEF5i9FO5iTjJTaqTeor8sFa R8zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698591038; x=1699195838; 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=clAsXQk4CcruGbOXHReH1yVf9BfUQKuu3xZ4btQvLbE=; b=qXYKmXe+r93dB7Jy/bOIXzuOv9qciEW8Sv4xtQTBm5c3IUGX8QY2MjzixZoizoob/a 6sVNuF+XVv/m3tWITAa0f9VIf3QgdBUoV5Sp3xRQYVHikZh/RVeKfeqzouV1h/wBoEh5 wMcgwjng+fhzqmMft83GwbDcYs3n3lUCmDgjsRVAF9kH/AATbt1vy1/YidPSB5pjZA1j xTJ5DKCsCkj4vYAL1mG5W87yLRByaSuzt9zWRtH/PI1X0YjKFpyRJG6Npd8/T6qT565Y TpeaBs+V76QXDdPx4SvlzM39ijYnM6ABHwTXcukhr4axvZcC9VHcOilDn2atlWw/AK4g vKig== X-Gm-Message-State: AOJu0YwXN4TGUInjhEcOYyHmFyMttRr5F2spyZVpnwAb6zKREeIfiAPq A5k3bkfhVQmAIeK0w8Cv7qe8hA== X-Received: by 2002:a2e:965a:0:b0:2c5:130c:d41e with SMTP id z26-20020a2e965a000000b002c5130cd41emr6088153ljh.29.1698591037853; Sun, 29 Oct 2023 07:50:37 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id d12-20020a05600c3acc00b004068495910csm10002000wms.23.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 E8ED95F7A0; 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 09/19] tests/docker: use debian-all-test-cross for hppa Date: Sun, 29 Oct 2023 14:50:23 +0000 Message-Id: <20231029145033.592566-10-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::22e; envelope-from=alex.bennee@linaro.org; helo=mail-lj1-x22e.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-8-alex.bennee@linaro.org> --- configure | 5 +++++ .gitlab-ci.d/container-cross.yml | 6 ------ tests/docker/Makefile.include | 1 - .../dockerfiles/debian-hppa-cross.docker | 19 ------------------- 4 files changed, 5 insertions(+), 26 deletions(-) delete mode 100644 tests/docker/dockerfiles/debian-hppa-cross.docker diff --git a/configure b/configure index 8707bd2e78..0a755c71a0 100755 --- a/configure +++ b/configure @@ -1300,6 +1300,11 @@ probe_target_compiler() { container_cross_prefix=hexagon-unknown-linux-musl- container_cross_cc=${container_cross_prefix}clang ;; + hppa) + container_image=debian-all-test-cross + container_cross_prefix=hppa-linux-gnu- + container_cross_cc=${container_cross_prefix}gcc + ;; i386) container_image=fedora-i386-cross container_cross_prefix= diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index a1dac0a45f..66b8844246 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -40,12 +40,6 @@ hexagon-cross-container: variables: NAME: debian-hexagon-cross -hppa-debian-cross-container: - extends: .container_job_template - stage: containers - variables: - NAME: debian-hppa-cross - loongarch-debian-cross-container: extends: .container_job_template stage: containers diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 82e06d84b3..47e58a248e 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-hppa-cross DOCKER_PARTIAL_IMAGES += debian-m68k-cross debian-mips64-cross DOCKER_PARTIAL_IMAGES += debian-microblaze-cross DOCKER_PARTIAL_IMAGES += debian-mips-cross diff --git a/tests/docker/dockerfiles/debian-hppa-cross.docker b/tests/docker/dockerfiles/debian-hppa-cross.docker deleted file mode 100644 index dd47ffdfa4..0000000000 --- a/tests/docker/dockerfiles/debian-hppa-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-hppa-linux-gnu \ - libc6-dev-hppa-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