From nobody Tue Apr 23 22:18:02 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1602836368; cv=none; d=zohomail.com; s=zohoarc; b=QvXS53itaeDpsNEb0FfEbsOsygf7Mdry2oes0TcCm2pVs71WFuHr3+Nqa/WVbiocQZzNP0lfhrE1K6FPb8uyqAHEPw073yy3+u1A0B0mYBY8K4LDFwiJn6+G/fezDbnGZqyeUlSzLFtyQD90A7IuVSt++kfWqwUBxvingp510gQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602836368; 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=m0vpWTQi7lQcf+oIhIvda/slW9NTohrk35TKxPBDwEI=; b=Sql9v12z7y/eu4sBUe+flD4xu9aOwRQLCIg8QoNtE9MNg/opAP1a0zyvNd/XxVbPdzNXilcmqyj718yV3jQnsVbrGyZK3hGrZPR7BHBE3cj+zaSkmGRNBoN22rD9dZnmaNBQbvMbIjCCx4/JI0ZH3TobslciOktzvK7wgZYWmec= 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 1602836368076699.355307576775; Fri, 16 Oct 2020 01:19:28 -0700 (PDT) Received: from localhost ([::1]:35460 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTKxS-0001j8-Rn for importer@patchew.org; Fri, 16 Oct 2020 04:19:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTKvR-0008RA-Vp for qemu-devel@nongnu.org; Fri, 16 Oct 2020 04:17:21 -0400 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:35484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTKvP-0006G3-Nf for qemu-devel@nongnu.org; Fri, 16 Oct 2020 04:17:21 -0400 Received: by mail-pf1-x435.google.com with SMTP id k8so1052168pfk.2 for ; Fri, 16 Oct 2020 01:17:19 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id d2sm1940343pjx.4.2020.10.16.01.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 01:17:16 -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=m0vpWTQi7lQcf+oIhIvda/slW9NTohrk35TKxPBDwEI=; b=u+7npZBLxsGMiT2qF1qZx4SyyG2nO7QbWx1c8SMCZoQpxdBGvqPQzY+Dz7GVhz7ZUQ U6znREGLqtgDJtPAOc8YDUYn0DOGGUlxRBy9B0CMOXC/Ld5K5mjXiSOp5EjcUP0t2LmE ks759BP19GYuTOUeLYxuaJxE6Zc6JuCwgJ1ji7TrhUihgfVMZvtB4u0OvDaCgK8vCQfc 7ZxSRAcmolofjFxKFrgxIGP53cEfzItDLQKoYvNMXURF266pP5TydLML8ECfMKFw8MW+ V8oWjb0rHY3dJ9MIEKhJdoapxTvCsKtrRE+s2OYA38DsGtHH5stqeNuYM9ThItqgxEFq CAag== 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=m0vpWTQi7lQcf+oIhIvda/slW9NTohrk35TKxPBDwEI=; b=thsq3d7VBB3xeVvHvLDzpggBuFpCgXNAiT/2V3LU+Bj2iaHg2/fYs75aUJ3IJMG6P5 cpFNgg+kOcKSM2rmabpxARf5lMrS4ABG7FYQiLGiGREV8cjjsKEIgmnI+pNg2nE1zbtV Mp1a3oLjoQlao14axn4QC76YJxBiBgoXlFUTKAQPO8swXPQJDYsJ1op1MAGQbEGMx4pr WYz1D8UaexgxgyNZxPnPg6+DK1GsBg/QWVM+/9j+PwsXNqPKpEevvuJyYpdPWsK0Kkgj l7v0cvrW7cGRy/uCG+M2gwKdO2qzfEvUss2tqBZJ6fTkTtXqpzZ+hPzhKrn4fMqfux4i i6Aw== X-Gm-Message-State: AOAM532Ek3qnVMSwWSVfCFevo+aZH+6ELVb5M7hSxoMbab0H1IWjF7eP i0PzA0Eb0mnJcoO2K2Z9qUSe65R0rCAvEoaR X-Google-Smtp-Source: ABdhPJyi105GNHqDkjrPiNC2Kgrh/RVl/O8wxtAwRxemJU58Y6cPNFe9XISR1gtOxpqgJzJzaR1TkA== X-Received: by 2002:a63:e65:: with SMTP id 37mr2142418pgo.445.1602836237645; Fri, 16 Oct 2020 01:17:17 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v5 1/4] docs: Fixes build docs on msys2/mingw Date: Fri, 16 Oct 2020 16:16:55 +0800 Message-Id: <20201016081658.1890-2-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20201016081658.1890-1-luoyonggang@gmail.com> References: <20201016081658.1890-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::435; envelope-from=luoyonggang@gmail.com; helo=mail-pf1-x435.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 Add the perl as the first parameter Signed-off-by: Yonggang Luo --- docs/sphinx/kerneldoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx/kerneldoc.py b/docs/sphinx/kerneldoc.py index 3e87940206..af130d0939 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 ['perl', 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 Tue Apr 23 22:18:02 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1602836389; cv=none; d=zohomail.com; s=zohoarc; b=guWhcO4YMJw7SU99+hgoa5r1wcyOYLxklR/jN1fcXseAYhPK6tYV+oePv2ZRIqGcsR07pQdjjdPH2uWA/5bOpAal7UENmQe6lHvhdLEiSHPRBEwydaZdzvnprSD58b50d5wCqVPFpP7wg2XVFPh9KEmIgNMUD/HsutSNBvSX3Hk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602836389; 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=oOrel6pAkV/C7atKug+trSY8cTbdMTMgCmXz/9nhCTc=; b=bJF4+sKvC8+Eb90tZ7sSHBqBuBGpe0RfH+HrAih/54KYl8+xwyzLrfOA1VX4YW5lfb83In1wOun4XaHVtXo8pYn2Zr5MPen8jm7qcg5a8pVFfdFUybW7ImRk3royx4fV48DuMLuM1Lq/kZh49Ker446MFc740tUGmDWU61cu7fE= 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 1602836389984262.7510579564839; Fri, 16 Oct 2020 01:19:49 -0700 (PDT) Received: from localhost ([::1]:35668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTKxo-0001oR-OM for importer@patchew.org; Fri, 16 Oct 2020 04:19:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTKvT-0008Sm-Fq for qemu-devel@nongnu.org; Fri, 16 Oct 2020 04:17:23 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:39112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTKvR-0006H3-Tn for qemu-devel@nongnu.org; Fri, 16 Oct 2020 04:17:23 -0400 Received: by mail-pf1-x433.google.com with SMTP id n14so1040855pff.6 for ; Fri, 16 Oct 2020 01:17:21 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id d2sm1940343pjx.4.2020.10.16.01.17.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 01:17:19 -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=oOrel6pAkV/C7atKug+trSY8cTbdMTMgCmXz/9nhCTc=; b=cco285He5hIfsca7QMw7/dNq/z5Z/4C9B87DOSFi1JBNBtWIaeeea0uiQLf/i+t/PQ SwDI86tYRpG4CD46sD8f/frfbcwtT2F+Dv/M+QLMxqgW3ZUeQ7psUjyJ8CuGOYrR6EqJ QyRxGp/jzRPFHEzeisJqKOsU8iLcJW3qCGuENlX10Gwz7NyCEO8BfOVEibfpN7SN0bJH PXlQgoaEkKOHptD4w6FFQhU+eI1hluzKcuO+QfY/W6YtoosHoxZgbwBPsNU1+TdF6+mh KQZzmij7XpsG7sYr+wxrklg7ORaookd1ybcRS1mIxsE+frF7P8vnrH6ZYe+jjfXd2P+X tWsA== 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=oOrel6pAkV/C7atKug+trSY8cTbdMTMgCmXz/9nhCTc=; b=gDjS4P3fP8RzQ+nwXtNZPKhkWoXyUpGwSaVyTZNPnrQrHsPI051/jUzapccoVON2t9 x5Nv/XEveFoC9aWf/zW0HW0pSJEEAZfrfJlZ8q53kjaoHj7e1IgVq2Te7PpVxh4ydDY3 E7eReQUf3qr9UCPU15j4jvmiNwC2vb5JP93mmB2rBtZ9s0nhDruypDfm2Jaf0BiVhhH5 CAF2QOA4jpS1NosAJQCs5nlNVUwN3lrp+WZp49ejXICsNH0dkhVII99mQm+dXaJxiI0b qVEmbe5oa/A4Ap7bhWbLh/brA+K7kDQ+jbhsxz7cBhHrwJRevFm5tFtp2RfwpC+2n2Tm 0HPg== X-Gm-Message-State: AOAM532p+W4iOVTK1XKXyiC6SIiYFaK1HCn4Gdr1fdUO/LuY2BbnMsj8 1sWBFBJXxdmv2RijjU1Qyy70aveFqLx88yAR X-Google-Smtp-Source: ABdhPJwfm9Wr/jo7tR9JGgfefM+Y7I4rijgh7UUw2J5skWZVu+GheXq2uGp+6PCtPaWEUQ0d8kzF1Q== X-Received: by 2002:a65:67d6:: with SMTP id b22mr2182766pgs.358.1602836240212; Fri, 16 Oct 2020 01:17:20 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v5 2/4] configure: the docdir option should passed to meson as is. Date: Fri, 16 Oct 2020 16:16:56 +0800 Message-Id: <20201016081658.1890-3-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20201016081658.1890-1-luoyonggang@gmail.com> References: <20201016081658.1890-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::433; envelope-from=luoyonggang@gmail.com; helo=mail-pf1-x433.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 78062fb091..432ea124e1 100755 --- a/configure +++ b/configure @@ -968,7 +968,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" ;; @@ -5710,7 +5710,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 Tue Apr 23 22:18:02 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1602836399; cv=none; d=zohomail.com; s=zohoarc; b=TsWo63o0JAoPDktDGO99OOnEMlCvO4aHQF8Bmfevg3AP7IaLd29IUU9TaKJyKxZYAn/voWdH3IUqbHRaApiWEZg7acLNySXttxSnA6pYH5aOV/woKkP0flaWGXfcLp6cu4Ye/Hw0RBb7s5hGo0PRioF08jQBIAxXigHGd/zSrp4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602836399; 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=+iuDqCfQ9TD+thRmdlugWHvmeQ5sVBKpEDU85P+jH7o=; b=lTdZyJb4H5EbJEov6PRm3GXaLzCtowDSvQOffHVwyji1fb3jfoRga0KG/PWOGYHagc2tJAt9rPVNNVj2KouTXYHElbPPGrLj3sU+iOgimCiFthwiHCqXXzia3WPnvXQtd675uuX+M9CX34tKDAPij4o1gjzUeI1Xch0UqGhwQog= 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 1602836398999431.4351884173208; Fri, 16 Oct 2020 01:19:58 -0700 (PDT) Received: from localhost ([::1]:35896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTKxx-0001u6-Kj for importer@patchew.org; Fri, 16 Oct 2020 04:19:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTKvY-00006r-Ao for qemu-devel@nongnu.org; Fri, 16 Oct 2020 04:17:29 -0400 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:39196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTKvU-0006Ht-FS for qemu-devel@nongnu.org; Fri, 16 Oct 2020 04:17:28 -0400 Received: by mail-pl1-x642.google.com with SMTP id y1so859612plp.6 for ; Fri, 16 Oct 2020 01:17:24 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id d2sm1940343pjx.4.2020.10.16.01.17.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 01:17:21 -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=+iuDqCfQ9TD+thRmdlugWHvmeQ5sVBKpEDU85P+jH7o=; b=uddrMWUu0bYslTRRc8tLS80puPkKCq/N/w8UAtLJpa6kSubf2SNzn/KHHTS0wxPoYN b41e5zYsfXqXwlNP2L/xNg0Ka8SeHWXcNkD2BRjyz4gjeUsgb1J4+64mTTyNF47d53Bn 1vbihqC6OsKgd/+1muhKP107Un86OjOycY05WCerInrCSBPQYuHTyqpPklxH2J501vFF LbAs0K+Eaqsqiyq2NBgCW0EddEun6afpBA5ag7e7DnBdvBs1JVBRGr+M+K4UFTXLmACm CIjEgTBtp31muzwOoChgYbbdumsNH3atzUrYYEV1opX/vGIRGjy5HMoLn7G0d8HCIuWx ti2Q== 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=+iuDqCfQ9TD+thRmdlugWHvmeQ5sVBKpEDU85P+jH7o=; b=fVJ891fe7hohGK9+nasGuxc7gImi69bvroRtyJdy3x9h4rBhxq6db11nGKer/NGD37 5NN22T7rG/gdpF58x+2TmvvCzAnVTNztnvSL1kysdAu0P3j+RP6amVMxT4V1U5gMrDis oc0b3z8dCZtGyOLVOdsviRQv7TyQUDlOUOcKs2bjC6Zdb3LmNB9lEVA+a5bcpu4ngw+W OW7iNhNb763G0yHfc6JFmL/Q9y5OdXlXj0nMxTsMU3UyHVAz9hBE2MvtPnYboitgxuGp 5hr+R1R5++VUEdp7RMo8iJHtZVe4BAmgpM0Hd/DNd2y2p+7zw0JKtYz1vjUT/qEMJkXd mAsA== X-Gm-Message-State: AOAM532rgTNjqO2o8QXonMSLou/dOE/sBGn8bIHTeLr3bh6r8sBg7ek3 dQuZ/+bCtf9MC9jbJ3P6SayKXvNa2L2v3zuB X-Google-Smtp-Source: ABdhPJwgVxpfpD6fwbo2RGYkcAWViUduSECLhR96qshQYpG3uXD5U+Q6DyBE3rVYKMviVC/nKOdprQ== X-Received: by 2002:a17:90a:148:: with SMTP id z8mr2910281pje.173.1602836242558; Fri, 16 Oct 2020 01:17:22 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v5 3/4] meson: Move the detection logic for sphinx to meson Date: Fri, 16 Oct 2020 16:16:57 +0800 Message-Id: <20201016081658.1890-4-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20201016081658.1890-1-luoyonggang@gmail.com> References: <20201016081658.1890-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" Signed-off-by: Yonggang Luo --- configure | 59 +++-------------------------------- docs/meson.build | 4 +-- meson.build | 52 ++++++++++++++++++++++++++---- meson_options.txt | 5 ++- tests/qapi-schema/meson.build | 2 +- 5 files changed, 57 insertions(+), 65 deletions(-) diff --git a/configure b/configure index 432ea124e1..c499c968cb 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" @@ -819,15 +819,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 @@ -1223,9 +1214,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" ;; @@ -4408,45 +4399,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 @@ -6027,9 +5979,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 @@ -6702,7 +6651,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 "NINJA=3D$ninja" >> $config_host_mak @@ -6984,6 +6932,7 @@ NINJA=3D$ninja $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 6cb8fe2882..70e6d59af4 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 /') @@ -1261,14 +1267,48 @@ 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_option =3D get_option('sphinx_build') +if sphinx_build_option =3D=3D '' + sphinx_build =3D find_program(['sphinx-build-3', 'sphinx-build'], + required: get_option('docs')) +else + sphinx_build =3D find_program(sphinx_build_option, required: get_option(= 'docs')) +endif =20 +SPHINX_ARGS =3D [sphinx_build] +# If we're making warnings fatal, apply this to Sphinx runs as well if get_option('werror') SPHINX_ARGS +=3D [ '-W' ] endif =20 +# Check if tools are available to build documentation. +build_docs =3D false +if sphinx_build.found() + # 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 sphinx-build is too old. + run_command('mkdir', ['-p', tmpdir / 'sphinx']) + run_command('touch', [tmpdir / 'sphinx/index.rst']) + sphinx_build_test_out =3D run_command(SPHINX_ARGS + [ + '-c', meson.current_source_dir() / 'docs', + '-b', 'html', tmpdir / 'sphinx', + tmpdir / 'sphinx/out']) + build_docs =3D (sphinx_build_test_out.returncode() =3D=3D 0) +endif + +# Check if not building documentation are possible. +if not build_docs + SPHINX_ARGS =3D [] + if sphinx_build_option !=3D '' + warning('@0@ exists but it is either too old or uses too old a Python = version'.format(sphinx_build_option)) + endif + if get_option('docs').enabled() + error('Install a Python 3 version of python-sphinx') + endif +else + SPHINX_ARGS +=3D ['-Dversion=3D' + meson.project_version(), '-Drelease= =3D' + config_host['PKGVERSION']] +endif + sphinx_extn_depends =3D [ meson.source_root() / 'docs/sphinx/depfile.py', meson.source_root() / 'docs/sphinx/hxtool.py', meson.source_root() / 'docs/sphinx/kerneldoc.py', @@ -1944,7 +1984,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} @@ -2012,7 +2052,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 Tue Apr 23 22:18:02 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1602836548; cv=none; d=zohomail.com; s=zohoarc; b=b6l+bpnS7vIvADVg6+6+nJ3ZrUTGxqEv+PQrsHmheVDwOtzEz9bEywu9aZ+sF5thiitfyqWIFDkuZdvZVAAcw16FOixZj37X9GB3JSg4kQS1+VLf8//hiGj61zQGEGMRLehJC/aw8aJR1BT7LGG57jvuMSRMJxghakXQSAbZHug= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1602836548; 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=+Yzg/5/MuYx1+AWJ3hWDugjik4aJ7ry4dXw1E8ugOz4=; b=lpk06F3aBp1/L0ISiNSIeJJvSY4begoEJkYc5c/V9SmVesYVsrX1tfkDHomooO3ccYXgz0cCmAYN9rBiWt6c8noII/m9YIHPDQ4Z1G6VjFysXlYWDtEnDK8xCbNI3u5VwYMhybhZ/+568ob44wBPmvx4I0xWIwmjB6mXyBRcIdU= 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 1602836548756163.8609442479284; Fri, 16 Oct 2020 01:22:28 -0700 (PDT) Received: from localhost ([::1]:42784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTL0N-0004ye-KX for importer@patchew.org; Fri, 16 Oct 2020 04:22:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTKvb-00007m-1j for qemu-devel@nongnu.org; Fri, 16 Oct 2020 04:17:31 -0400 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]:36614) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTKvY-0006IH-0m for qemu-devel@nongnu.org; Fri, 16 Oct 2020 04:17:30 -0400 Received: by mail-pl1-x643.google.com with SMTP id w21so868059plq.3 for ; Fri, 16 Oct 2020 01:17:26 -0700 (PDT) Received: from localhost.localdomain ([103.94.185.75]) by smtp.googlemail.com with ESMTPSA id d2sm1940343pjx.4.2020.10.16.01.17.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 01:17:24 -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=+Yzg/5/MuYx1+AWJ3hWDugjik4aJ7ry4dXw1E8ugOz4=; b=Q4HfbsXzrnuK1Ti82o0brwBceG7i0ZOIoJqw7LvbagjRMr2syQIUHEtwWReADAe25M YlJXlcXU6ZSZ/5c6sq8jDXH+dd8DTnvh8hDVICTXlwaeZJaeoKQYvxpbEJjAUuIFxkLL Ny+TifIPu0ohkfSBu5jV148f/Y8Y4PZi+tTriCsMkVsBYLc0BHKyzp59HoOu8xwB2tcY +CVEllyruhtlP2/jhpiNpbBQpYBhkY9kycr4nGIXCqcY440dUETb305LOdFuOExrN5IM LGr1YTIWyl8FVCQhCzPJUGcaSPxEq7v4aniQb2MAOGlGkX3+iwegNem1vOasr/MD6945 iNuA== 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=+Yzg/5/MuYx1+AWJ3hWDugjik4aJ7ry4dXw1E8ugOz4=; b=hviPuPiQr6Ut3b0ekShqaslr7HwKgq/UJ7KckSa8DHiXSAFNbY0Vce/pStRfElmGoI 7dejFClx5wjRhrmyuJD3KQVaprwmMICbtPM/1PRTgI52ghySEOZIZHh/1SO0c5I9kbjk /QOCKHnbbQ9ESjssawO8pmu2IF9F8rQ3fkPGAP0LNzKbMBl3KngxyhBkCo6zq96fOw7+ sO+r3yuN869JzxoIGdSdkQxWhAaAJW9YroYfgg2nRgeNOO3GDuxKGbK3ZHUn3QF2ev/C IAprSN8bdOeVZOQOgBl9tI9fv+HXQTXqiVuC2tHyKTpB7znr7Vpx88dmebKRRBRZIqV5 IFaw== X-Gm-Message-State: AOAM530EiOiAGukjsL4/m83Vx3OUjbBx/94m7pDSOAuXsPdeui/iEsc4 eVNVE9pMHgVqu1+OynNiHIyqeqVxbNm4akpG X-Google-Smtp-Source: ABdhPJwZK1SyfCB+3CkftxCh34Iq/4Z7grXc5n46U+qs5YObLS0bNRTcQtboOXrSRrxGZMJP+UyaKw== X-Received: by 2002:a17:902:b789:b029:d3:f9aa:7f27 with SMTP id e9-20020a170902b789b02900d3f9aa7f27mr2748570pls.47.1602836245006; Fri, 16 Oct 2020 01:17:25 -0700 (PDT) From: Yonggang Luo To: qemu-devel@nongnu.org Subject: [PATCH v5 4/4] cirrus: Enable doc build on msys2/mingw Date: Fri, 16 Oct 2020 16:16:58 +0800 Message-Id: <20201016081658.1890-5-luoyonggang@gmail.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20201016081658.1890-1-luoyonggang@gmail.com> References: <20201016081658.1890-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::643; envelope-from=luoyonggang@gmail.com; helo=mail-pl1-x643.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 9ccd2749ce..0481d99bb6 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" @@ -112,6 +111,11 @@ windows_msys2_task: mingw-w64-x86_64-gnutls \ mingw-w64-x86_64-libnfs \ " + 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