From nobody Tue Nov 26 20:22:31 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1704216224; cv=none; d=zohomail.com; s=zohoarc; b=k5XuN6JI46l1D0rF+LxdUwogk6KuA36tH38hO5BMnBhduhshW1p4//VWAP8svgpYUPnUOEnBxMfZKHcxrYHgrY67VgPV/zTk9hEqTtgx/hL3J4Msb9RknT3rniNXIzcNZmW5yrHj1L40AyLqdFukklrcKUfBKOMZx+ozsjl2HaA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1704216224; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=SAoj0TA4KqBMNcpSaaSjXBSSHdPTkOJM7O7ccsF3S+M=; b=IgUI6+dcoIaoOwgJj4yjn+zHe2H6mk8QNtA/76FQklT6R/546xhbiTnr6kSqm5aqUeBTPmKawy1UK8m/XbiHQvV21M3JFYSTpZ5Klpd2xZDNzVoHbFTEI8+LaUl6dLQ9qxDLNGnz1xcPJhQ5+7fxn5MGT2Jh9yk9ASl85ZDHbKw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1704216224456112.07077196793591; Tue, 2 Jan 2024 09:23:44 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKiTl-0003rl-Rl; Tue, 02 Jan 2024 12:23:02 -0500 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 1rKiTe-0003rH-Es for qemu-devel@nongnu.org; Tue, 02 Jan 2024 12:22:55 -0500 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKiTb-0007mN-FJ for qemu-devel@nongnu.org; Tue, 02 Jan 2024 12:22:54 -0500 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-556275957ccso1966575a12.0 for ; Tue, 02 Jan 2024 09:22:50 -0800 (PST) Received: from m1x-phil.lan (sal63-h02-176-184-16-71.dsl.sta.abo.bbox.fr. [176.184.16.71]) by smtp.gmail.com with ESMTPSA id s20-20020a056402015400b005530cb1464bsm16098188edu.15.2024.01.02.09.22.47 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 02 Jan 2024 09:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704216169; x=1704820969; 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=SAoj0TA4KqBMNcpSaaSjXBSSHdPTkOJM7O7ccsF3S+M=; b=t8MjPiUmqrAbP1+XM+OGyi7HRCU7kyU+xsNtjX5OgyDYhDz3ODtGWQkScBhjuIEiPm DlFRFK4PgYbqOcMlD1Wt0Z2yJ1Vvu9SNht2pNBR5zbUoCujI8ldxDHCxk3+LoOtL3fWh Nf3afZcFkYcqyNEpuBNlQUCnSK4/JilSteBgB6NLpSEbUxmGPRvInx7iCp1ckMOUlFWS ORTjaTikbTyG1gAJVTb301x5m0Lno/r2PJnifw9hJCuH91trOAxSHJxrAY7DcQZGzhZT wOh34mTFVIhzohhqvC73lYPLhyMKBPRSzdrXyDYmiwJE59zyNxCAsmvS3wuEIBAihCfN VP1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704216169; x=1704820969; 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=SAoj0TA4KqBMNcpSaaSjXBSSHdPTkOJM7O7ccsF3S+M=; b=fwNSt9DILfh/kKyR9jCU0wuJCESoebgUem3G4Z467phQ3zuka0rlLFKQ6SIu+YksvW DdEzDesFk1oRXbZMjUrxLZWMV7AP0OkSRwmPi84sAlmoDk8VPNo2diGHy1pq+YYX260s Kfj7LK17ghWQ/er4y9bwTKo+mWqGeD9ZV7RC10V92fBQ3OlvD8Q3Gl4RjIa5m/p3uR+7 AmKYu4EeH6WIPOfpp2bExNvzJCTVhBUfoQzi/QYmoxSEuAMdEnvn8HLJyrlwwcmetAwS xwa7FzJD0i9qJ+9R7cb3AKVLp49j9VoMKKOccWkG+coeuH6xWvcAEFbExz+vvNJ3Tes7 NtNg== X-Gm-Message-State: AOJu0Ywj/ySU7rYezH+1br5hciQ6YIlGz4CerEB5jLIN8eFA1Z7Cyz6e 19fjIG5Gail2DE6BwIXMHYZO0Va6EQ+Wv5vmVs6Vhcrz9Ro= X-Google-Smtp-Source: AGHT+IH7qCwiEfi6NLNQXPinXjj0XPypl3KAAt0Ia/O6sccWpZ6AFiGDYllof/wSrRYnMk28r44Shg== X-Received: by 2002:a50:9fcd:0:b0:556:6abd:c301 with SMTP id c71-20020a509fcd000000b005566abdc301mr1026365edf.68.1704216169436; Tue, 02 Jan 2024 09:22:49 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Zhiguo Wu , Wainer dos Santos Moschetta , Thomas Huth , Bibo Mao , Song Gao , Xiaojuan Yang , Beraldo Leal , WANG Xuerui , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Xianglai Li , Tianrui Zhao Subject: [PATCH 1/2] gitlab: Introduce Loongarch64 runner Date: Tue, 2 Jan 2024 18:22:38 +0100 Message-ID: <20240102172239.69452-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240102172239.69452-1-philmd@linaro.org> References: <20240102172239.69452-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=philmd@linaro.org; helo=mail-ed1-x52b.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1704216226063100003 Full build config to run CI tests on a Loongarch64 host. Forks might enable this by setting LOONGARCH64_RUNNER_AVAILABLE in their CI namespace settings, see: https://www.qemu.org/docs/master/devel/ci.html#maintainer-controlled-job-va= riables Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Song Gao Tested-by: Song Gao --- docs/devel/ci-jobs.rst.inc | 6 ++++++ .gitlab-ci.d/custom-runners.yml | 1 + .../openeuler-22.03-loongarch64.yml | 21 +++++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 .gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64= .yml diff --git a/docs/devel/ci-jobs.rst.inc b/docs/devel/ci-jobs.rst.inc index 4c39cdb2d9..b821a33112 100644 --- a/docs/devel/ci-jobs.rst.inc +++ b/docs/devel/ci-jobs.rst.inc @@ -189,6 +189,12 @@ used as a gitlab-CI runner, you can set this variable = to enable the tests that require this kind of host. The runner should be tagged with both "centos_stream_8" and "x86_64". =20 +LOONGARCH64_RUNNER_AVAILABLE +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +If you've got access to a Loongarch64 host that can be used as a gitlab-CI +runner, you can set this variable to enable the tests that require this +kind of host. The runner should be tagged with "loongarch64". + CCACHE_DISABLE ~~~~~~~~~~~~~~ The jobs are configured to use "ccache" by default since this typically diff --git a/.gitlab-ci.d/custom-runners.yml b/.gitlab-ci.d/custom-runners.= yml index 8e5b9500f4..152ace4492 100644 --- a/.gitlab-ci.d/custom-runners.yml +++ b/.gitlab-ci.d/custom-runners.yml @@ -32,3 +32,4 @@ include: - local: '/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml' - local: '/.gitlab-ci.d/custom-runners/ubuntu-22.04-aarch32.yml' - local: '/.gitlab-ci.d/custom-runners/centos-stream-8-x86_64.yml' + - local: '/.gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml' diff --git a/.gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml b/= .gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml new file mode 100644 index 0000000000..86d18f820e --- /dev/null +++ b/.gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml @@ -0,0 +1,21 @@ +openeuler-22.03-loongarch64-all: + extends: .custom_runner_template + needs: [] + stage: build + tags: + - oe2203 + - loongarch64 + rules: + - if: '$CI_PROJECT_NAMESPACE =3D=3D "qemu-project" && $CI_COMMIT_BRANCH = =3D~ /^staging/' + when: manual + allow_failure: true + - if: "$LOONGARCH64_RUNNER_AVAILABLE" + when: manual + allow_failure: true + script: + - mkdir build + - cd build + - ../configure + || { cat config.log meson-logs/meson-log.txt; exit 1; } + - make --output-sync -j`nproc --ignore=3D40` + - make --output-sync -j`nproc --ignore=3D40` check --=20 2.41.0 From nobody Tue Nov 26 20:22:31 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1704216238; cv=none; d=zohomail.com; s=zohoarc; b=hrtA6QoNdAfDwaFK3pCqLSpJrMY22+RZTEB2/muxB56gMaCYSkpPfEkvUjG70/C0khDms6DGHtzZNBLdGqBqostrAyLDzD/1wb++2bH1cZ9TWQYZWeeB1GcSA8eL9wWR1zlV4Kz5dLFngp2FjyG+8vuKkAnJqCcIBwDrfFfV0eo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1704216238; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=c5PyjOrlqLt2tikWKlViCXX5DS0iRmJvOYnTmLkzlec=; b=hTL7vV3WYjJMZvrKQwL8EemCn+cXzVtBDbQtdrrFlDd1NlIFUKzpPjucDi8Jt7k88fk+dUzci4gMnhqRKIW9q1e+I4jjq5zLBRsdhFG5b6o5QuK3kcxx24R/n73JlaeESvpseMH8juvJFlNaV0mhboJrr+khvGPrgu7NlIiK9Z0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1704216238584238.06776030242747; Tue, 2 Jan 2024 09:23:58 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rKiU1-0003vL-Fq; Tue, 02 Jan 2024 12:23:17 -0500 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 1rKiTk-0003rn-Fh for qemu-devel@nongnu.org; Tue, 02 Jan 2024 12:23:00 -0500 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rKiTi-0007uL-AA for qemu-devel@nongnu.org; Tue, 02 Jan 2024 12:22:59 -0500 Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-55539cac143so6234707a12.0 for ; Tue, 02 Jan 2024 09:22:56 -0800 (PST) Received: from m1x-phil.lan (sal63-h02-176-184-16-71.dsl.sta.abo.bbox.fr. [176.184.16.71]) by smtp.gmail.com with ESMTPSA id u23-20020aa7d0d7000000b005533a9934b6sm16141640edo.54.2024.01.02.09.22.53 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 02 Jan 2024 09:22:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704216175; x=1704820975; 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=c5PyjOrlqLt2tikWKlViCXX5DS0iRmJvOYnTmLkzlec=; b=zM2Az9qFn3Vr6+dNOURPtoNPdFma5yJ8Mldp4jU7EPzCceDyVCPOq2LRCBwaJJ0eYp Pmf8MLerarz6+9o3dau+zqBD1ATbdNqb7aL68Ni6tDqvGHX14d3GCSqCUJybPhtbTfAS pr0onalQLaT9KkwjU93PNIU6u41qfrif1D8Ow4IPZiiGW130DimncjBWI+fn/K8zqDry eweC3F4g8AhYdul4OQEkpt48RuWS7dnBcoRQ/o04+w0D9/p79DCc59R5Jm1BFNO71ZRl /SnkCMS9iaBytQDoYUCdiTMSRbxVwwARO5Zu3Ichqh/vBaUMGgUwHKvIikJKbkPYpSYF QbnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704216175; x=1704820975; 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=c5PyjOrlqLt2tikWKlViCXX5DS0iRmJvOYnTmLkzlec=; b=GTv8tixhUnCUYGsiuhkER81OnOFScddbx6yMqRjxrOq8eI2gqK6aTNhGI3mXSFammZ vokz1MMVL1wCPnWErxEmHvxG6mm1JrSu8AIjAi6cNGGsopp2PgdbcntcVDoM1DD4fWeC JjCUYOb9X1AtX1hzaVvN/cD9kFoVEw++XhxwY3IOxbfSmzNTHBi3EU+ekEi/+Z2T7aS3 0c/wQ5BvL/CrXiep0elZNUVUNT/vKAjKOBhpaC0cxAeP8hEL9fFJoeLAoZ9XHedZsRmR RVRuQnVKYTlDgFf39K3AG2dVP6C/H4ekdhenMwfe/hFcfrg+TId/wQxBQduFlFfg95Im 9DUw== X-Gm-Message-State: AOJu0YwhqeDlq/0yCZhKHc/ySVaGK47T0ez1WKTf5SwHzMRvQFA+lGoW ICH3o6LEZBcRP1jMrurj7mEVJCLyCgw2HX+OqBjhvTj8mbw= X-Google-Smtp-Source: AGHT+IE6r/vF1oL4Rvqvx2mFrqOJytyhC0g5lGFpotPsKf4IIyu43xiUxzET8whHT71PPAhUBvzocg== X-Received: by 2002:a50:d6d8:0:b0:554:4c3a:f7db with SMTP id l24-20020a50d6d8000000b005544c3af7dbmr10913987edj.28.1704216175697; Tue, 02 Jan 2024 09:22:55 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Zhiguo Wu , Wainer dos Santos Moschetta , Thomas Huth , Bibo Mao , Song Gao , Xiaojuan Yang , Beraldo Leal , WANG Xuerui , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Xianglai Li , Tianrui Zhao Subject: [NOTFORMERGE PATCH 2/2] gitlab: Add Loongarch64 KVM-only build Date: Tue, 2 Jan 2024 18:22:39 +0100 Message-ID: <20240102172239.69452-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240102172239.69452-1-philmd@linaro.org> References: <20240102172239.69452-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=philmd@linaro.org; helo=mail-ed1-x52d.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1704216239899100003 Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- Used to test https://lore.kernel.org/qemu-devel/20231228084051.3235354-1-zh= aotianrui@loongson.cn/ --- .../openeuler-22.03-loongarch64.yml | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml b/= .gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml index 86d18f820e..60674b8d0f 100644 --- a/.gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml +++ b/.gitlab-ci.d/custom-runners/openeuler-22.03-loongarch64.yml @@ -19,3 +19,25 @@ openeuler-22.03-loongarch64-all: || { cat config.log meson-logs/meson-log.txt; exit 1; } - make --output-sync -j`nproc --ignore=3D40` - make --output-sync -j`nproc --ignore=3D40` check + +openeuler-22.03-loongarch64-kvm: + extends: .custom_runner_template + needs: [] + stage: build + tags: + - oe2203 + - loongarch64 + rules: + - if: '$CI_PROJECT_NAMESPACE =3D=3D "qemu-project" && $CI_COMMIT_BRANCH = =3D~ /^staging/' + when: manual + allow_failure: true + - if: "$LOONGARCH64_RUNNER_AVAILABLE" + when: manual + allow_failure: true + script: + - mkdir build + - cd build + - ../configure --enable-kvm --disable-tcg + || { cat config.log meson-logs/meson-log.txt; exit 1; } + - make --output-sync -j`nproc --ignore=3D40` + - make --output-sync -j`nproc --ignore=3D40` check --=20 2.41.0