From nobody Mon Feb 9 18:05:14 2026 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1602799718; cv=none; d=zohomail.com; s=zohoarc; b=BiDUoGnSj41MC8Um9uarNvlB0Me5080FlpLsPMomJlstERE7U2sNDkkrAn1IAWhgdtxIeTYkLd06hxrYQjs8oki+En9WfrO8CPLKjnT1drYCEoTx4uuRrI9vmGqkMucKfTbxKgdX2QfE4EcXlWm2J2lWcBIBiAKeuNsv8kLqgxU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602799718; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=gD6WMWYQ9CIQ4TmbgB/h0Tt9F/nzYRkxmSRyeiKZIXA=; b=Vs/c7Y5Ia4yfoYFV9aKktGe0RpMhU07TnCuSVJwzKYH6epTB1nSAiebD8Dra8OQRgRR8Cb+okv8aGbYD73s1c3JAWWns4qwNBOFcdJ4ncLU9r7C/HMg8o1+FIBkveDlFiiQ/ZJAFrmnKWgixGvFsNX1T1W9wvReVuojdYHxMujM= 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) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1602799718623338.57306236259535; Thu, 15 Oct 2020 15:08:38 -0700 (PDT) Received: from localhost ([::1]:35706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTBQL-0001O1-EA for importer@patchew.org; Thu, 15 Oct 2020 18:08:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTBOb-0008U2-9c for qemu-devel@nongnu.org; Thu, 15 Oct 2020 18:06:49 -0400 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:52469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTBOZ-00071u-M5 for qemu-devel@nongnu.org; Thu, 15 Oct 2020 18:06:49 -0400 Received: by mail-pj1-x1029.google.com with SMTP id gm14so221800pjb.2 for ; Thu, 15 Oct 2020 15:06:46 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id x10sm261468pfc.88.2020.10.15.15.06.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2020 15:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gD6WMWYQ9CIQ4TmbgB/h0Tt9F/nzYRkxmSRyeiKZIXA=; b=b9fza9BE/U6+owvUqHYymJTbslqBwZRA+u7Qf2e4thvAe6DV2QBbLutr8mTVnxqCPj GagF3Hfwp44dWGk2XAK4x4PPKY4b9H5Lvce4PurHHyS9GbClogBGQjQNhWK19fY3VIOG smREFx2qKaK7HmFvG6G8lNFF46cqXbKDIV41tNDaD1SF26T1HQh3kFsd0MYeiLdTH5ZF EBxPeCtkgvO7hnHaQ8IFhuPBnOi8jOUcGBlmFQOoMNzZW9vXd8mPeSn/mJ06s1y2polX L+WY40WyvN5tCjtJwzoCXz5tTYb+GRCfgbVj0Fz8KD9Ja+aaxLFsoYUddNTiVV7GqXjB IXBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gD6WMWYQ9CIQ4TmbgB/h0Tt9F/nzYRkxmSRyeiKZIXA=; b=TiKqt6jDxn5r51lSddb6DDBkS1iYbjExHMi4Oh69GRiFquIFbBq7GVNk+W4+soSLEG IzIvzYw+Z+lDMXEhqqtSvXj+VVi2j/6uNa3bkcdvYb1zoSCNn2LM9KW39JaquP12wmOn 86IJ2SoY2GVgResto97XMmzbHNmBPBk4/+SJ999Uk5U5by7BXZPR1MhJOk5ZntUz2uTo No1z2pWTZ7qUmLIa+S50HlnJowia+IR2bwOXaCg7Q+kjLNlWggVv/qScbYbEThzPJk2Y AhPpnAUESDUPVjO0939/FZt71P1hRFKI8JkeDpz0dlCXPjWFwQxtd/CefICNbC79wUyD R5JA== X-Gm-Message-State: AOAM53282uviw2+BDE8Rg4oaj+7KzGpYy+iF1mXqgSoLB6AiIg0s2YCt n/ZOEQF+FE8XR+0O8DGDbIHNIMsqZ6zdjTOT X-Google-Smtp-Source: ABdhPJzbylEiQ3UUFHrRNhJaUa7JpXTER8Gv3U2Fcz+f3awphN03qp017ZAkFTnN8wwUeKZcPDEX+Q== X-Received: by 2002:a17:90a:8002:: with SMTP id b2mr799915pjn.47.1602799604756; Thu, 15 Oct 2020 15:06:44 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v4 1/4] docs: Fixes build docs on msys2/mingw Date: Fri, 16 Oct 2020 06:06:23 +0800 Message-Id: <20201015220626.418-2-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20201015220626.418-1-luoyonggang@gmail.com> References: <20201015220626.418-1-luoyonggang@gmail.com> MIME-Version: 1.0 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=2607:f8b0:4864:20::1029; envelope-from=luoyonggang@gmail.com; helo=mail-pj1-x1029.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Yonggang Luo Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Type: text/plain; charset="utf-8" meson didn't support running ../scripts/kernel-do directly Signed-off-by: Yonggang Luo --- docs/conf.py | 2 +- docs/sphinx/kerneldoc.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 00e1b750e2..e584f68393 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -241,7 +241,7 @@ texinfo_documents =3D [ # We use paths starting from qemu_docdir here so that you can run # sphinx-build from anywhere and the kerneldoc extension can still # find everything. -kerneldoc_bin =3D os.path.join(qemu_docdir, '../scripts/kernel-doc') +kerneldoc_bin =3D ['perl', os.path.join(qemu_docdir, '../scripts/kernel-do= c')] kerneldoc_srctree =3D os.path.join(qemu_docdir, '..') hxtool_srctree =3D os.path.join(qemu_docdir, '..') qapidoc_srctree =3D os.path.join(qemu_docdir, '..') diff --git a/docs/sphinx/kerneldoc.py b/docs/sphinx/kerneldoc.py index 3e87940206..3ac277d162 100644 --- a/docs/sphinx/kerneldoc.py +++ b/docs/sphinx/kerneldoc.py @@ -67,7 +67,7 @@ class KernelDocDirective(Directive): =20 def run(self): env =3D self.state.document.settings.env - cmd =3D [env.config.kerneldoc_bin, '-rst', '-enable-lineno'] + cmd =3D env.config.kerneldoc_bin + ['-rst', '-enable-lineno'] =20 filename =3D env.config.kerneldoc_srctree + '/' + self.arguments[0] export_file_patterns =3D [] --=20 2.28.0.windows.1 From nobody Mon Feb 9 18:05:14 2026 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1602799718; cv=none; d=zohomail.com; s=zohoarc; b=JV0M7DNnpp7VFCphpaSj18/QtJsShBOpxkYjwg1jVRQpiisUGNSl7subF7y/QWnHzN2+np242wCP9obDE0KbX1v637vd/Q2TSl38U3pkSfSIAFe1kIt4fEF2FVQg43ly5qL2WNcrCUaQSrMubgfpN0xy/Pu51pX1vHj9DoAeFB4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602799718; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=IkJ+z3wbykhjoUQ4XRK2kASFvDBSvBM63031zcipiFE=; b=KTwP6rTQpig2bo6Vk3+z5Y68S0r7seHF9dZlDDH6f3jiXHNS0E5Qo8XZgvIjSgZmh2WdKefxCfDb0GoHo5KJHq/KTfC6h7FlCRBYzwEd8UC71hFPJH1ArrJx1TxyZUFvzOuxIuaA+Chsm9LXHE5zQN8fi1VD1ZgyO24X2EzkBWY= 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) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 160279971883689.96705416880775; Thu, 15 Oct 2020 15:08:38 -0700 (PDT) Received: from localhost ([::1]:35716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTBQL-0001OF-GI for importer@patchew.org; Thu, 15 Oct 2020 18:08:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTBOc-0008Ub-6B for qemu-devel@nongnu.org; Thu, 15 Oct 2020 18:06:50 -0400 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:41422) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTBOa-000724-OO for qemu-devel@nongnu.org; Thu, 15 Oct 2020 18:06:49 -0400 Received: by mail-pf1-x42e.google.com with SMTP id c20so252688pfr.8 for ; Thu, 15 Oct 2020 15:06:48 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id x10sm261468pfc.88.2020.10.15.15.06.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2020 15:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IkJ+z3wbykhjoUQ4XRK2kASFvDBSvBM63031zcipiFE=; b=dnNNy3EbHKqqUeSBz+Pv46A6X+kobSFvbmZUwzimElGvFw32/zfGIxqrrFluAyhWyU rj95kkGOPoySYu6c9CIJZ2CJxQi09hAHtRuGxqqw9wLh10ES+78v0BN6HWNQqGDgreSo qldvneP41drkIsAxbyjRBa4NFkaY+48PwqwtnO2xFdJCCf2zDjXFbNtHf2BoMTGzSaz4 TQnS5nEgRr/Kg50ej1UXKMepyXCoSnOay70+QykUQ8pjFfiIL6so7ZgM70PAO/SdDBBz i/vPcx2cQmsJQAaavr8azwHvtebfoKAOMJwnn9WgFqVseO2zcteKZQx7sxvPuoZlh2+Y gTvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IkJ+z3wbykhjoUQ4XRK2kASFvDBSvBM63031zcipiFE=; b=GK8WDcxFqOU844tWw4YQ0kIWoZ98QCGtCwaOkykczyW7i0AOSSBx4Z7S7Z7uPa/ouw ljofyZF7yb022//R42zyi+4yW3zEvFLIYyjJRk8Y/jeVqP57Ny1o7jO4jjntbaJRAg9G bwwV2BfuOS94M15PxhoE4mmIhWZ4sb7KjYiATtv5tRNcYD1ngOYGaDZ0FlTnbTGbLZNp Ff+iyH6QAdLkzy4I93lGJmcGgRcumSut7a/rhGztrpwMtkPpycC9eDqVfE0aoEtu7U7I TtfONrwJ7iVEXh61N47+AQ+doOW0UvCFwhwuHBvSfsGRolYC1x8QlrQkkUhL9N5MfBNT ZHPw== X-Gm-Message-State: AOAM5324EWKpwtbC/MPYtmqYnAW5z/aPSnRzto9oZPsMJlvYULiCkQZj XqT7tOspdevvHASmZrW7N2LJNpe3GYeFjvur X-Google-Smtp-Source: ABdhPJyirOgCnZaG0YzxsNUc9LY8UhJL88kk9FCTkVZn58YYGCxj5Ll2h3rswtcsepL7OHXhASSDuQ== X-Received: by 2002:a62:d456:0:b029:152:aa6a:877a with SMTP id u22-20020a62d4560000b0290152aa6a877amr687236pfl.24.1602799607039; Thu, 15 Oct 2020 15:06:47 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v4 2/4] configure: the docdir option should passed to meson as is. Date: Fri, 16 Oct 2020 06:06:24 +0800 Message-Id: <20201015220626.418-3-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20201015220626.418-1-luoyonggang@gmail.com> References: <20201015220626.418-1-luoyonggang@gmail.com> MIME-Version: 1.0 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=2607:f8b0:4864:20::42e; envelope-from=luoyonggang@gmail.com; helo=mail-pf1-x42e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Yonggang Luo Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Yonggang Luo --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index f839c2a557..1ce31f97b4 100755 --- a/configure +++ b/configure @@ -971,7 +971,7 @@ for opt do ;; --with-suffix=3D*) qemu_suffix=3D"$optarg" ;; - --docdir=3D*) qemu_docdir=3D"$optarg" + --docdir=3D*) docdir=3D"$optarg" ;; --sysconfdir=3D*) sysconfdir=3D"$optarg" ;; @@ -5770,7 +5770,6 @@ fi qemu_confdir=3D"$sysconfdir/$qemu_suffix" qemu_moddir=3D"$libdir/$qemu_suffix" qemu_datadir=3D"$datadir/$qemu_suffix" -qemu_docdir=3D"$docdir/$qemu_suffix" qemu_localedir=3D"$datadir/locale" qemu_icondir=3D"$datadir/icons" qemu_desktopdir=3D"$datadir/applications" --=20 2.28.0.windows.1 From nobody Mon Feb 9 18:05:14 2026 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1602799916; cv=none; d=zohomail.com; s=zohoarc; b=Du6wu08nmt+jM393HaphCBtsEMaMKlBA4FWmRcpoYYjrB+XEs3TkxrVHpTmdCDbxXjiM3HiB3OrWs3CmnILEVzoLjDtkapZBMXDiToxb0qKLfnjqYiGqe+IICVQi5Tcjclpp1X/MpYkXBuiN3EllcqaRziRk3SeryKqb1OjOK00= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602799916; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=xgQNuMf4eyuHOOjGjRcahngBQ8E8ZB1Rvp8S5uOAxT0=; b=HyZu28wbzsrVMyd2xHaTQBYU6ALbRHcd1GiwsVuXHogQPVpAvg0dLXRGPBLKu6JN+TAAVJGDwFSMWXEaJErV86qFs91QfAj4DvMjfhXU4+uiPwU+ySpWW6SjOMIcBS4mNWv3fYYb+CxB1weV8ShP58ys9QBJtlQtYc85yVqNl44= 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) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1602799916104615.1180593847093; Thu, 15 Oct 2020 15:11:56 -0700 (PDT) Received: from localhost ([::1]:42174 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTBTV-0004TF-RC for importer@patchew.org; Thu, 15 Oct 2020 18:11:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTBOl-00009D-JH for qemu-devel@nongnu.org; Thu, 15 Oct 2020 18:06:59 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:39027) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTBOg-00072S-DH for qemu-devel@nongnu.org; Thu, 15 Oct 2020 18:06:59 -0400 Received: by mail-pj1-x102f.google.com with SMTP id gv6so239255pjb.4 for ; Thu, 15 Oct 2020 15:06:51 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id x10sm261468pfc.88.2020.10.15.15.06.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2020 15:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xgQNuMf4eyuHOOjGjRcahngBQ8E8ZB1Rvp8S5uOAxT0=; b=dMB4D5IEiv9LverO/p925UMEPmigJQwESmXwHHGWJiDT0qfnCT0vGSSc+vJvfX/zON 1Owjax5gErvXnZs4cLx/8i+TT4l2ifjvsm/dIZZ0rOi/ZXnoPmyxU2ybiqy7YW/aisa6 v18RP/9eWsg3H2aLGWMSE3F8ls/I15de68KS6RbhdPIrOIgQbpbNhOGE2+MGWN+Frf83 iZPYLJpU7m1c/jgN/vhZSpUXni6O9US7sq/jgZpIFnNqyI/RRbVCNrAayEdwzyKs3ZWN Fp8JwHah18bmu/gtyN06uQOXW7/p2/0ddVfWpIAKB4Ju5WT0F4Sl+igL0z2RV08C34j0 apPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xgQNuMf4eyuHOOjGjRcahngBQ8E8ZB1Rvp8S5uOAxT0=; b=tFJGanKqIWOn9+mr64m1pZ6T9d4AFbHRe/texZXwJuvOl6HRF79X5IlFFxlBsD6i5s U4GxT1lJ9FqpaqLdPUXOFVzsIbqqT8SbaX1Wl5ziFpmLUZhJXxeRNOMimbOErNSHQKpd aipPduokdFMo/1zSEk8J/srVEhf7MLjCbZszmwRfjne/0Di/vgyAfnF+Gb7otz74TMCk NbZK7Nr/yQdlRLjSY0fl051RArSsLONwO5WRhAhsqIvLzqtsAIuLflDxB5qvFRRIAanm YCWEiqHDdwzXnH+MRrKmXHTY01L80UJCNdJkG+HJgMUJVmGRgD174NP1EiVoy6wfg30E zt7A== X-Gm-Message-State: AOAM530z8akLAOPonhDRFQh9/C8roPmme0kJF/DgUiZqAwopCA1KAgb4 MUvxSLLgi/DnH4hwYhQZP0fxWyjgbAf6lWqa X-Google-Smtp-Source: ABdhPJycimICZUVmsDC9POHLqy49uGsKUdaKgDpHL07ysUYbwZbpume6Uwjjibeqi62EweaVfXe6zw== X-Received: by 2002:a17:902:cd07:b029:d3:9be0:2679 with SMTP id g7-20020a170902cd07b02900d39be02679mr796578ply.68.1602799609529; Thu, 15 Oct 2020 15:06:49 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v4 3/4] meson: Move the detection logic for sphinx to meson Date: Fri, 16 Oct 2020 06:06:25 +0800 Message-Id: <20201015220626.418-4-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20201015220626.418-1-luoyonggang@gmail.com> References: <20201015220626.418-1-luoyonggang@gmail.com> MIME-Version: 1.0 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=2607:f8b0:4864:20::102f; envelope-from=luoyonggang@gmail.com; helo=mail-pj1-x102f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Yonggang Luo Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Yonggang Luo --- configure | 59 +++------------------------------- docs/meson.build | 4 +-- meson.build | 60 +++++++++++++++++++++++++++++++---- meson_options.txt | 5 ++- tests/qapi-schema/meson.build | 2 +- 5 files changed, 64 insertions(+), 66 deletions(-) diff --git a/configure b/configure index 1ce31f97b4..ff593a8542 100755 --- a/configure +++ b/configure @@ -297,7 +297,7 @@ brlapi=3D"" curl=3D"" iconv=3D"auto" curses=3D"auto" -docs=3D"" +docs=3D"auto" fdt=3D"auto" netmap=3D"no" sdl=3D"auto" @@ -822,15 +822,6 @@ do fi done =20 -sphinx_build=3D -for binary in sphinx-build-3 sphinx-build -do - if has "$binary" - then - sphinx_build=3D$(command -v "$binary") - break - fi -done =20 # Check for ancillary tools used in testing genisoimage=3D @@ -1226,9 +1217,9 @@ for opt do ;; --disable-crypto-afalg) crypto_afalg=3D"no" ;; - --disable-docs) docs=3D"no" + --disable-docs) docs=3D"disabled" ;; - --enable-docs) docs=3D"yes" + --enable-docs) docs=3D"enabled" ;; --disable-vhost-net) vhost_net=3D"no" ;; @@ -4413,45 +4404,6 @@ if check_include linux/btrfs.h ; then btrfs=3Dyes fi =20 -# If we're making warnings fatal, apply this to Sphinx runs as well -sphinx_werror=3D"" -if test "$werror" =3D "yes"; then - sphinx_werror=3D"-W" -fi - -# Check we have a new enough version of sphinx-build -has_sphinx_build() { - # This is a bit awkward but works: create a trivial document and - # try to run it with our configuration file (which enforces a - # version requirement). This will fail if either - # sphinx-build doesn't exist at all or if it is too old. - mkdir -p "$TMPDIR1/sphinx" - touch "$TMPDIR1/sphinx/index.rst" - "$sphinx_build" $sphinx_werror -c "$source_path/docs" \ - -b html "$TMPDIR1/sphinx" \ - "$TMPDIR1/sphinx/out" >> config.log 2>&1 -} - -# Check if tools are available to build documentation. -if test "$docs" !=3D "no" ; then - if has_sphinx_build; then - sphinx_ok=3Dyes - else - sphinx_ok=3Dno - fi - if test "$sphinx_ok" =3D "yes"; then - docs=3Dyes - else - if test "$docs" =3D "yes" ; then - if has $sphinx_build && test "$sphinx_ok" !=3D "yes"; then - echo "Warning: $sphinx_build exists but it is either too old or us= es too old a Python version" >&2 - fi - feature_not_found "docs" "Install a Python 3 version of python-sphin= x" - fi - docs=3Dno - fi -fi - # Search for bswap_32 function byteswap_h=3Dno cat > $TMPC << EOF @@ -6087,9 +6039,6 @@ qemu_version=3D$(head $source_path/VERSION) echo "PKGVERSION=3D$pkgversion" >>$config_host_mak echo "SRC_PATH=3D$source_path" >> $config_host_mak echo "TARGET_DIRS=3D$target_list" >> $config_host_mak -if [ "$docs" =3D "yes" ] ; then - echo "BUILD_DOCS=3Dyes" >> $config_host_mak -fi if test "$modules" =3D "yes"; then # $shacmd can generate a hash started with digit, which the compiler doe= sn't # like as an symbol. So prefix it with an underscore @@ -6794,7 +6743,6 @@ fi echo "ROMS=3D$roms" >> $config_host_mak echo "MAKE=3D$make" >> $config_host_mak echo "PYTHON=3D$python" >> $config_host_mak -echo "SPHINX_BUILD=3D$sphinx_build" >> $config_host_mak echo "GENISOIMAGE=3D$genisoimage" >> $config_host_mak echo "MESON=3D$meson" >> $config_host_mak echo "CC=3D$cc" >> $config_host_mak @@ -7076,6 +7024,7 @@ NINJA=3D${ninja:-$PWD/ninjatool} $meson setup \ -Dgettext=3D$gettext -Dxkbcommon=3D$xkbcommon -Du2f=3D$u2f \ -Dcapstone=3D$capstone -Dslirp=3D$slirp -Dfdt=3D$fdt \ -Diconv=3D$iconv -Dcurses=3D$curses \ + -Ddocs=3D$docs -Dsphinx_build=3D$sphinx_build \ $cross_arg \ "$PWD" "$source_path" =20 diff --git a/docs/meson.build b/docs/meson.build index 0340d489ac..f566809a6a 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -37,7 +37,7 @@ if build_docs input: [files('conf.py'), files(manual / 'conf.py')], depfile: manual + '.d', depend_files: sphinx_extn_depends, - command: [SPHINX_ARGS, '-Ddepfile=3D@DEPFILE@', + command: SPHINX_ARGS + ['-Ddepfile=3D@DEPFILE@', '-Ddepfile_stamp=3D@OUTPUT0@', '-b', 'html', '-d', private_dir, input_dir, output_dir]) @@ -59,7 +59,7 @@ if build_docs input: this_manual, install: build_docs, install_dir: install_dirs, - command: [SPHINX_ARGS, '-b', 'man', '-d', private= _dir, + command: SPHINX_ARGS + ['-b', 'man', '-d', privat= e_dir, input_dir, meson.current_build_dir()]) endif endforeach diff --git a/meson.build b/meson.build index 8156df8b71..8940468208 100644 --- a/meson.build +++ b/meson.build @@ -17,7 +17,13 @@ cc =3D meson.get_compiler('c') config_host =3D keyval.load(meson.current_build_dir() / 'config-host.mak') enable_modules =3D 'CONFIG_MODULES' in config_host enable_static =3D 'CONFIG_STATIC' in config_host -build_docs =3D 'BUILD_DOCS' in config_host + +# Temporary directory used for files created while +# configure runs. Since it is in the build directory +# we can safely blow away any previous version of it +# (and we need not jump through hoops to try to delete +# it when configure exits.) +tmpdir =3D meson.current_build_dir() / 'config-temp' =20 if get_option('qemu_suffix').startswith('/') error('qemu_suffix cannot start with a /') @@ -1235,12 +1241,52 @@ foreach d : hx_headers endforeach genh +=3D hxdep =20 -SPHINX_ARGS =3D [config_host['SPHINX_BUILD'], - '-Dversion=3D' + meson.project_version(), - '-Drelease=3D' + config_host['PKGVERSION']] +sphinx_build =3D not_found +sphinx_build_option =3D get_option('sphinx_build') +if sphinx_build_option =3D=3D '' + sphinx_build =3D find_program('sphinx-build', required: false) +else + sphinx_build =3D find_program(sphinx_build_option, required: false) +endif =20 +SPHINX_TEST_ARGS =3D [] +# If we're making warnings fatal, apply this to Sphinx runs as well if get_option('werror') - SPHINX_ARGS +=3D [ '-W' ] + SPHINX_TEST_ARGS +=3D [ '-W' ] +endif + +build_docs =3D false +docs_option =3D get_option('docs') +# Check if tools are available to build documentation. +if sphinx_build.found() and not docs_option.disabled() + # This is a bit awkward but works: create a trivial document and + # try to run it with our configuration file (which enforces a + # version requirement). This will fail if either + # sphinx-build doesn't exist at all or if it is too old. + run_command('mkdir', ['-p', tmpdir / 'sphinx']) + run_command('touch', [tmpdir / 'sphinx/index.rst']) + sphinx_build_test_out =3D run_command(sphinx_build, SPHINX_TEST_ARGS += [ + '-c', meson.current_source_dir() / 'docs', + '-b', 'html', tmpdir / 'sphinx', + tmpdir / 'sphinx/out']) + if sphinx_build_test_out.returncode() =3D=3D 0 + build_docs =3D true + else + if docs_option.enabled() + if sphinx_build_option !=3D '' + warning('Warning: @0@ exists but it is either too old or uses to= o old a Python version'.format(sphinx_build_option)) + endif + error('Warning: Install a Python 3 version of python-sphinx') + endif + # do not building docs + endif +endif + +SPHINX_ARGS =3D [] +if build_docs + SPHINX_ARGS =3D [sphinx_build] + SPHINX_ARGS +=3D SPHINX_TEST_ARGS + SPHINX_ARGS +=3D ['-Dversion=3D' + meson.project_version(), '-Drelease= =3D' + config_host['PKGVERSION']] endif =20 sphinx_extn_depends =3D [ meson.source_root() / 'docs/sphinx/depfile.py', @@ -1918,7 +1964,7 @@ summary_info +=3D {'QEMU_CFLAGS': config_host['= QEMU_CFLAGS']} summary_info +=3D {'QEMU_LDFLAGS': config_host['QEMU_LDFLAGS']} summary_info +=3D {'make': config_host['MAKE']} summary_info +=3D {'python': '@0@ (version: @1@)'.format(python= .full_path(), python.language_version())} -summary_info +=3D {'sphinx-build': config_host['SPHINX_BUILD']} +summary_info +=3D {'sphinx-build': sphinx_build.found()} summary_info +=3D {'genisoimage': config_host['GENISOIMAGE']} # TODO: add back version summary_info +=3D {'slirp support': slirp_opt =3D=3D 'disabled' ? fals= e : slirp_opt} @@ -1986,7 +2032,7 @@ if config_host.has_key('CONFIG_XEN_BACKEND') summary_info +=3D {'xen ctrl version': config_host['CONFIG_XEN_CTRL_INT= ERFACE_VERSION']} endif summary_info +=3D {'brlapi support': config_host.has_key('CONFIG_BRLAPI= ')} -summary_info +=3D {'Documentation': config_host.has_key('BUILD_DOCS')} +summary_info +=3D {'Documentation': build_docs} summary_info +=3D {'PIE': get_option('b_pie')} summary_info +=3D {'vde support': config_host.has_key('CONFIG_VDE')} summary_info +=3D {'netmap support': config_host.has_key('CONFIG_NETMAP= ')} diff --git a/meson_options.txt b/meson_options.txt index e6cb1e589b..0e3fa7136b 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,8 +1,11 @@ option('qemu_suffix', type : 'string', value: 'qemu', description: 'Suffix for QEMU data/modules/config directories (can = be empty)') +option('docs', type : 'feature', value : 'auto', + description: 'Documentations build support') option('docdir', type : 'string', value : 'doc', description: 'Base directory for documentation installation (can be= empty)') - +option('sphinx_build', type : 'string', value : '', + description: 'Use specified sphinx-build [$sphinx_build] for buildi= ng document (default to be empty)') option('gettext', type : 'boolean', value : true, description: 'Localization of the GTK+ user interface') option('sparse', type : 'feature', value : 'auto', diff --git a/tests/qapi-schema/meson.build b/tests/qapi-schema/meson.build index 1f222a7a13..961b8367a9 100644 --- a/tests/qapi-schema/meson.build +++ b/tests/qapi-schema/meson.build @@ -237,7 +237,7 @@ qapi_doc_out =3D custom_target('QAPI rST doc', # we want it to always really run the QAPI doc # generation code. It also means we don't # clutter up the build dir with the cache. - command: [SPHINX_ARGS, + command: SPHINX_ARGS + [ '-b', 'text', '-E', '-c', meson.source_root() / 'docs', '-D', 'master_doc=3Ddoc-good', --=20 2.28.0.windows.1 From nobody Mon Feb 9 18:05:14 2026 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1602799828; cv=none; d=zohomail.com; s=zohoarc; b=bxdbg4b9fWkQxRJeIczNmrvNjg4ZOByelTEx+Kk6kVWAHFfl6TqhUWv+HdDmT7NWZPlkomRb0MbzS65i59H4PvbzfYCCiJKVghh4IZuAYVEp/mt9LBGKinNPPp3t30JAfTfYUKnwwETumUoBCYbC1vSsu1R4XaMHIKPptm3WYh4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602799828; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=S+jw+88sOrD1wBdO71U4c/3Vn26m+fCHMRsX5Ywl9XU=; b=RNJftrYyV1fXal7xNe39oDAXnOZtKRzZ4owwC/vhQ5cxAsr5R+RxW7DbW0VDhjY03UG4K5LwE1wGTIxnpweqOF9Ro+5FR3bb0jK+xz3e3MJ6LYR+YyaOb+/yFA9BfbObK4lIAp54Yny+Y1LCtHaQGlQRJS09FWsWx5K7o59mRco= 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) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1602799828954549.278530953665; Thu, 15 Oct 2020 15:10:28 -0700 (PDT) Received: from localhost ([::1]:40048 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTBS7-0003QE-Kd for importer@patchew.org; Thu, 15 Oct 2020 18:10:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTBOk-00006l-5Q for qemu-devel@nongnu.org; Thu, 15 Oct 2020 18:06:58 -0400 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:40082) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTBOg-00072c-9w for qemu-devel@nongnu.org; Thu, 15 Oct 2020 18:06:57 -0400 Received: by mail-pl1-x642.google.com with SMTP id d23so127129pll.7 for ; Thu, 15 Oct 2020 15:06:53 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id x10sm261468pfc.88.2020.10.15.15.06.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Oct 2020 15:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S+jw+88sOrD1wBdO71U4c/3Vn26m+fCHMRsX5Ywl9XU=; b=tKPGxUEmiA3XpGDW63d/WVgkDkN1QsrvOqKDlF/+KgBM1T4qMD+AHaHLSQDfpC25F1 aH+6rwcSNe22jTIARXTlJH0WOQ2WjMl8YrpC1/QzgDF+QBlx8wxRP6QE0fao6suRWSSz XACKJ0iDUBcWCKDm73MtjtZlZ5hgJoqkBFIfKbrPMVlGppR/juIAMINFYzS/Zs1Jcjcy 31YnIkOAHotDCDfBNZbSWpF7tE4dCN/VWmyeycfXk7nOXlp4pGi9seWDNiRifYL88El1 uZ7jrk/LvKw0xF68uzCZ82vnAYbAImiIKyHLLId+slLOdFLa3nj18jNFXkpUeQLC6B25 +PCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=S+jw+88sOrD1wBdO71U4c/3Vn26m+fCHMRsX5Ywl9XU=; b=Qj6dG2wVazPdtIPBoBn80nILu3c5c8XFe7UJrb7aV3Nf94qb8D5Vb4k28zDnEpkMpl Jog+cdjJTlI5q3vPqGfQBm4SUsgvhCOtlgWjAVUSuYOcPg/w7ABJvdBiBZ9bdQgzTUra q9mra+ciCd6CmZN3+3zETVgYWGlVJcO5US/0yPPlK2PpXJhYhxCqR/oapOQ7gHgX4C+U odP1in6FsrgG8+JMhB4d0vsj3JM5MHOwazksoimMvQ4wQHEDePZel2fYXLoGg/AsuK9A gXX2JWsmRhgbilTZ3dsV1IRcHPIe5hU/JZuupLTYJ8EgmvjGjOA6kHuKSlCpaDgkdd3P o/pg== X-Gm-Message-State: AOAM5313MUNY6k4ejSYeHE7sfQX3wvdb5y0YaZH+u7vU54uSscqPIQxB 2ZWb6KTgGFz2SjdRI3k1Rb+PY2EHPsHEQxcT X-Google-Smtp-Source: ABdhPJwC+9tv3X1/AqfJWosrwkw9HKDu+WHC/8qAqbMa2bagmnNa42rCNj70etP72zWOjih4undqFQ== X-Received: by 2002:a17:902:7b90:b029:d4:d9e5:e5bf with SMTP id w16-20020a1709027b90b02900d4d9e5e5bfmr770655pll.83.1602799611925; Thu, 15 Oct 2020 15:06:51 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v4 4/4] cirrus: Enable doc build on msys2/mingw Date: Fri, 16 Oct 2020 06:06:26 +0800 Message-Id: <20201015220626.418-5-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20201015220626.418-1-luoyonggang@gmail.com> References: <20201015220626.418-1-luoyonggang@gmail.com> MIME-Version: 1.0 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=2607:f8b0:4864:20::642; envelope-from=luoyonggang@gmail.com; helo=mail-pl1-x642.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, FREEMAIL_FROM=0.001, 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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , Yonggang Luo Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) Content-Type: text/plain; charset="utf-8" Currently rST depends on old version sphinx-2.x. Install it by downloading it. Remove the need of university mirror, the main repo are recovered. Signed-off-by: Yonggang Luo --- .cirrus.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index 99d118239c..f42ccb956a 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -76,7 +76,6 @@ windows_msys2_task: ((Get-Content -path C:\tools\msys64\etc\\post-install\\07-pacman-k= ey.post -Raw) -replace '--refresh-keys', '--version') | Set-Content -Path C= :\tools\msys64\etc\\post-install\\07-pacman-key.post C:\tools\msys64\usr\bin\bash.exe -lc "sed -i 's/^CheckSpace/#Check= Space/g' /etc/pacman.conf" C:\tools\msys64\usr\bin\bash.exe -lc "export" - C:\tools\msys64\usr\bin\bash.exe -lc "grep -rl 'repo.msys2.org/' /= etc/pacman.d/mirrorlist.* | xargs sed -i 's/repo.msys2.org\//mirrors.tuna.t= singhua.edu.cn\/msys2\//g'" C:\tools\msys64\usr\bin\pacman.exe --noconfirm -Sy echo Y | C:\tools\msys64\usr\bin\pacman.exe --noconfirm -Suu --ove= rwrite=3D* taskkill /F /FI "MODULES eq msys-2.0.dll" @@ -111,6 +110,11 @@ windows_msys2_task: mingw-w64-x86_64-curl \ mingw-w64-x86_64-gnutls \ " + bitsadmin /transfer msys_download /dynamic /download /priority FOR= EGROUND ` + https://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-python-sphi= nx-2.3.1-1-any.pkg.tar.xz ` + C:\tools\mingw-w64-x86_64-python-sphinx-2.3.1-1-any.pkg.tar.xz + C:\tools\msys64\usr\bin\bash.exe -lc "pacman --noconfirm -U /c/too= ls/mingw-w64-x86_64-python-sphinx-2.3.1-1-any.pkg.tar.xz" + del C:\tools\mingw-w64-x86_64-python-sphinx-2.3.1-1-any.pkg.tar.xz C:\tools\msys64\usr\bin\bash.exe -lc "rm -rf /var/cache/pacman/pkg= /*" cd C:\tools\msys64 echo "Start archive" --=20 2.28.0.windows.1