From patchwork Tue Oct 31 14:43:54 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: 739577 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp1688217wrt; Tue, 31 Oct 2023 07:47:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHCk63yQjLwhdSEdcQU+r0FDXw/EQV5MapdIaR//PxRlwewrvqyORv/6kJ9GH57Ikq8FQ5d X-Received: by 2002:ad4:5e87:0:b0:66d:2785:a2b0 with SMTP id jl7-20020ad45e87000000b0066d2785a2b0mr14909425qvb.29.1698763636178; Tue, 31 Oct 2023 07:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698763636; cv=none; d=google.com; s=arc-20160816; b=I9SgRAxe4rxDdAtwwE3jVFvnDJlP39RjFMoFraJNTSSz9z++7IQkGulI53Z2Dj8p+L deFWPAYxCWWOXWHAHccSr6nbjvsSZFcd693BaItikjE5S4jvPWTxnrqNrO4voeIeBgCg Th4CFHC9C0HoVs3jPrOdQMkiQHBwJDZknqgEueJpLVo98WV7OiNwWbl597QiV90zF1sV S0wIYixKJjVigNfddhT0PTMOhNSoE8mWX8gOixfLh4IqBL3oC8YeFZ9723gdXTCzSav3 +Zp5BVVR4W5NM1rG3yrWq+L5a2dWPYfrqo2kJB8kgYam4pcibhClJxHZG5DgMsqaUGyT 8gfA== 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=zcyv0RYN9JSVoQBV0y0IqvvxryTWpI+BdywLMNyX2vM=; fh=LultvDE5KmYCspChf6UrcXF0J+sB9F86yHHmgOA3JH0=; b=Cm2kUzBpNO7CJf/RVKDu+Pcp3KOkob88QOuzgLiLArpcLLISVHbDsvx9LKpxhzkmN9 NV5EoBEP/IPl6+Z/FNJavjojG7yG6vQPeYTczIeL7JAIns9E4sN66vmMPVar3P2cEIMk Qo0vxgNRYnP+qpJzueS9RWZHuGf0tCRwbAVx7AonjY/9SAlJMMWlM9eSCt9817xbjAox 9+B8PQZ3Yrv8T8jWFFtxgDSG8Hcoci0HUC+9j7Zr51VhDc1nDKPZRpQX7iDT93W/SJ4c 699aG6SOJ0jyh6We4hAAMOgrO5lGr2EEs5GRSCpQk8uAVWXQKrQNVXM0DGekzetpDNP2 XLtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DIKdI1As; 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 dk13-20020a056214092d00b0066d10e104cdsi1180330qvb.363.2023.10.31.07.47.15 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Oct 2023 07:47:16 -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=DIKdI1As; 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 1qxpyc-0004ro-7P; Tue, 31 Oct 2023 10:44:18 -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 1qxpyZ-0004pZ-F9 for qemu-devel@nongnu.org; Tue, 31 Oct 2023 10:44:15 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxpyX-0002Bb-M2 for qemu-devel@nongnu.org; Tue, 31 Oct 2023 10:44:15 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-32d9d8284abso3643249f8f.3 for ; Tue, 31 Oct 2023 07:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698763452; x=1699368252; 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=zcyv0RYN9JSVoQBV0y0IqvvxryTWpI+BdywLMNyX2vM=; b=DIKdI1Asyx9CPZXDGS6qNz1sjP0cPztllb+D2TXz3yspKCYBTn2M+ge1ULpyODv73+ 8vBLA3JNYxqGkAzrnIpqMQs+pkRzbVfRoRwKkwY4AsFm3Q8pFwsYEkMxRD6v/1XQqfWy Usv5mPFZjdAitd6EjB5YCp7CUuBi4XYMxeFktshigzGiqYVV0lYDhpYFvI5S5EWhuOJ2 BoiXov4H+B1w/DKbFVY0DWg9bdI1JFCCWOSrhfNfS95zhtPEE2hLDOOBcdiOxksORrlz zwOxkLO/JHn2Bhh6OGNc7guonLdie1V8mP1Q3slLCRSpphBv4SW4XLCJkzrSA5UwFrVm fZBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698763452; x=1699368252; 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=zcyv0RYN9JSVoQBV0y0IqvvxryTWpI+BdywLMNyX2vM=; b=RhBfHpngML2J9MPCDi4i5TPv6JvCWSZ0mjvzFnXf/SYsMr/2uGfTmkvpbpYJWFyy5B SCrb5Iae2a8uvBezfGiUmeg6EnbJex+boLCKcCP2A0DMp9QD3OEpmqnL8bo7+hK8/hLh BzjFBrd8OwpooP03pw6NA4esPergDh3gqaOr5GEqUNRKKi+mr5FFF/UtkxrKllOkUq98 7JivgvBxigY2NJ94PQ6/Srv0V0z3CD0RnOb3g9gsSffzl6wOFhjYQlw1CJlV9oWJ4x6w shEjPHRtN0da4rRUlkgO5+ry1XbiwJxC0uqYV7Rg661+KJD9+EhVSJTPSWKSeuoy8fWO hiTQ== X-Gm-Message-State: AOJu0YxXIOHA3mA5BY8Dbr1WvZNZuax/czQ5fg71+NEKP0lZUtDMuexa PQpy29uq2Rxsd3FAImkYLUNagA== X-Received: by 2002:a5d:4c45:0:b0:32d:a2d6:4058 with SMTP id n5-20020a5d4c45000000b0032da2d64058mr9422563wrt.62.1698763452299; Tue, 31 Oct 2023 07:44:12 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id w12-20020a5d544c000000b0031c52e81490sm1668986wrv.72.2023.10.31.07.44.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 07:44:10 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id ED46465712; Tue, 31 Oct 2023 14:44:02 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal , Paolo Bonzini , Jiaxun Yang Subject: [PULL 12/19] tests/docker: use debian-all-test-cross for mips Date: Tue, 31 Oct 2023 14:43:54 +0000 Message-Id: <20231031144401.1238210-13-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231031144401.1238210-1-alex.bennee@linaro.org> References: <20231031144401.1238210-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.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, T_SCC_BODY_TEXT_LINE=-0.01 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: <20231029145033.592566-13-alex.bennee@linaro.org> diff --git a/configure b/configure index 2dddc3c82d..791c48c4e4 100755 --- a/configure +++ b/configure @@ -1330,6 +1330,10 @@ probe_target_compiler() { container_image=debian-all-test-cross container_cross_prefix=mips64-linux-gnuabi64- ;; + mips) + container_image=debian-all-test-cross + container_cross_prefix=mips-linux-gnu- + ;; nios2) container_image=debian-nios2-cross container_cross_prefix=nios2-linux-gnu- diff --git a/.gitlab-ci.d/container-cross.yml b/.gitlab-ci.d/container-cross.yml index df5eb3ccb6..053330d6f4 100644 --- a/.gitlab-ci.d/container-cross.yml +++ b/.gitlab-ci.d/container-cross.yml @@ -52,12 +52,6 @@ mips64el-debian-cross-container: variables: NAME: debian-mips64el-cross -mips-debian-cross-container: - extends: .container_job_template - stage: containers - variables: - NAME: debian-mips-cross - mipsel-debian-cross-container: extends: .container_job_template stage: containers diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 5831744a39..dfa9617bb9 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -123,7 +123,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-mips-cross DOCKER_PARTIAL_IMAGES += debian-nios2-cross DOCKER_PARTIAL_IMAGES += debian-riscv64-test-cross DOCKER_PARTIAL_IMAGES += debian-sparc64-cross diff --git a/tests/docker/dockerfiles/debian-mips-cross.docker b/tests/docker/dockerfiles/debian-mips-cross.docker deleted file mode 100644 index 2cbc568ed1..0000000000 --- a/tests/docker/dockerfiles/debian-mips-cross.docker +++ /dev/null @@ -1,19 +0,0 @@ -# -# Docker mips 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-mips-linux-gnu \ - libc6-dev-mips-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