From patchwork Wed Apr 6 20:29:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: David Malcolm X-Patchwork-Id: 1614129 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=ejHBkpxn; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KYbj14FHmz9sFv for ; Thu, 7 Apr 2022 06:29:40 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 601053858413 for ; Wed, 6 Apr 2022 20:29:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 601053858413 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1649276978; bh=8yJKG/6ZOAkdlyR38ePnLBK3aB2e+hluY0WxdQpQQEo=; h=Subject:To:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ejHBkpxnovTSumlDqOSHlECGUDbBDy+i6oWAyeeYOAAwA7Q1eZxL7lsJbtTyn7sjF HrT5qE5mgqeXEzm7fz/zjuubYpbeiHpqFZHWGFRg6teCFjpU4GNpT43LqKOjDsfGHN ZrLNtnX+kby/II9/i/qiY3B01RRMSqo62AHfJJWA= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id A00913858C50 for ; Wed, 6 Apr 2022 20:29:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A00913858C50 Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-64-oodZ3JLNOWyGGIw5VVBZJw-1; Wed, 06 Apr 2022 16:29:15 -0400 X-MC-Unique: oodZ3JLNOWyGGIw5VVBZJw-1 Received: by mail-qk1-f197.google.com with SMTP id h8-20020a05620a244800b00699fb28d5e4so222937qkn.22 for ; Wed, 06 Apr 2022 13:29:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=8yJKG/6ZOAkdlyR38ePnLBK3aB2e+hluY0WxdQpQQEo=; b=aT6BeZb15W1/Tyr7jPraRGmvC8QJ5ca/LwGKRhz3BugEbQlBOuhkmmFI80kaTns1Ck OgnOPXKHZqnjuL1ocolzm8yhkdZSmEUBC9zske8OWUdxix4/hu8nvbs9rDF6MAmxq3JB JVAhz/tQPWnbugv5fTh9iXcjqUqQHCRLsRYteUNFMkrxUmJRqZgoHgfl0ghY/MAZfoKF V/YariT5CgBofNxlOt1ygM2v3FpDNyWyB+P+zhBcSL6/DE6ZiT4/6v37FiTYLenCXlSq 9tQerDlayx6/qCabsSOgTeu0OkVO1rO9xGNiUEiznYuEz3LO3pcLjR/9V/FNHnAKX8Wn URpw== X-Gm-Message-State: AOAM530vSr1Eh04wAmfmaClCibi3i1IP54HTF0LhjigqeSQ6CLAB98Rr eVRvu72CHPgX4kLDUgaPQQ2uUkhaaAlnkvfnQysXVh1+UbuoE+yvxC40So5S7rmq5t31yt8XcY9 M0XzjqewpDrrJPxxM9A== X-Received: by 2002:a05:620a:709:b0:67d:db18:b62b with SMTP id 9-20020a05620a070900b0067ddb18b62bmr6903040qkc.2.1649276954538; Wed, 06 Apr 2022 13:29:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzc2Pcy8mpXrJCAAMWlS7+iKZB64XN11D7F4WNULOCyEZOfUoHllSHsp2cR4GIMOyLZtHsG4A== X-Received: by 2002:a05:620a:709:b0:67d:db18:b62b with SMTP id 9-20020a05620a070900b0067ddb18b62bmr6903035qkc.2.1649276954312; Wed, 06 Apr 2022 13:29:14 -0700 (PDT) Received: from t14s.localdomain (c-73-69-212-193.hsd1.nh.comcast.net. [73.69.212.193]) by smtp.gmail.com with ESMTPSA id bl22-20020a05620a1a9600b00680da570a5dsm11459082qkb.61.2022.04.06.13.29.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 13:29:13 -0700 (PDT) Message-ID: <9c59a2ceb8827d92b645c67bdcb59997c1a02919.camel@redhat.com> Subject: [committed] jit: fix location of .png files for "make jit.pdf" [PR102824] To: Eric Gallager Date: Wed, 06 Apr 2022 16:29:12 -0400 In-Reply-To: References: <20220401132734.234720-1-dmalcolm@redhat.com> User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: David Malcolm via Gcc-patches From: David Malcolm Reply-To: David Malcolm Cc: jit@gcc.gnu.org, gcc-patches Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" On Fri, 2022-04-01 at 12:26 -0400, Eric Gallager wrote: > On Fri, Apr 1, 2022 at 9:28 AM David Malcolm via Gcc-patches > wrote: > > > > Further jit doc fixes, which fix links to > > gcc_jit_function_type_get_param_type and gcc_jit_struct_get_field. > > > > I also regenerated libgccjit.texi (not included in the diff below). > > > > Tested with "make html" and with a bootstrap. > >  Could you test with `make pdf` and `make dvi` too, to see if this > fixes 102824? > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102824 The following seems to fix "make pdf" "make jit.dvi" is still failing after this; it seems to be looking for .eps files for the images. From c9a22b67954f4cd46a739bfe1ddedd544dbfc133 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Thu, 31 Mar 2022 12:04:54 -0400 Subject: [committed] jit: fix location of .png files for "make jit.pdf" [PR102824] "make jit.pdf" seems to be looking in gcc/jit/docs/_build/texinfo/libgccjit-figures for the .png files, but they were in the source tree in: gcc/jit/docs/_build/texinfo Fix "make jit.pdf" via: git mv \ gcc/jit/docs/_build/texinfo/*.png \ gcc/jit/docs/_build/texinfo/libgccjit-figures Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu. Manually verified that it fixes "make jit.pdf"; the generated libgccjit.pdf seems to correctly contain the images. Pushed to trunk as r12-8031-g790e9814454662. gcc/jit/ChangeLog: PR jit/102824 * docs/_build/texinfo/factorial.png: Move to... * docs/_build/texinfo/libgccjit-figures/factorial.png: ...here. * docs/_build/texinfo/factorial1.png: Move to... * docs/_build/texinfo/libgccjit-figures/factorial1.png: ...here. * docs/_build/texinfo/sum-of-squares.png: Move to... * docs/_build/texinfo/libgccjit-figures/sum-of-squares.png: ...here. * docs/_build/texinfo/sum-of-squares1.png: Move to... * docs/_build/texinfo/libgccjit-figures/sum-of-squares1.png: ...here. Signed-off-by: David Malcolm --- .../texinfo/{ => libgccjit-figures}/factorial.png | Bin .../texinfo/{ => libgccjit-figures}/factorial1.png | Bin .../{ => libgccjit-figures}/sum-of-squares.png | Bin .../{ => libgccjit-figures}/sum-of-squares1.png | Bin 4 files changed, 0 insertions(+), 0 deletions(-) rename gcc/jit/docs/_build/texinfo/{ => libgccjit-figures}/factorial.png (100%) rename gcc/jit/docs/_build/texinfo/{ => libgccjit-figures}/factorial1.png (100%) rename gcc/jit/docs/_build/texinfo/{ => libgccjit-figures}/sum-of-squares.png (100%) rename gcc/jit/docs/_build/texinfo/{ => libgccjit-figures}/sum-of-squares1.png (100%) diff --git a/gcc/jit/docs/_build/texinfo/factorial.png b/gcc/jit/docs/_build/texinfo/libgccjit-figures/factorial.png similarity index 100% rename from gcc/jit/docs/_build/texinfo/factorial.png rename to gcc/jit/docs/_build/texinfo/libgccjit-figures/factorial.png diff --git a/gcc/jit/docs/_build/texinfo/factorial1.png b/gcc/jit/docs/_build/texinfo/libgccjit-figures/factorial1.png similarity index 100% rename from gcc/jit/docs/_build/texinfo/factorial1.png rename to gcc/jit/docs/_build/texinfo/libgccjit-figures/factorial1.png diff --git a/gcc/jit/docs/_build/texinfo/sum-of-squares.png b/gcc/jit/docs/_build/texinfo/libgccjit-figures/sum-of-squares.png similarity index 100% rename from gcc/jit/docs/_build/texinfo/sum-of-squares.png rename to gcc/jit/docs/_build/texinfo/libgccjit-figures/sum-of-squares.png diff --git a/gcc/jit/docs/_build/texinfo/sum-of-squares1.png b/gcc/jit/docs/_build/texinfo/libgccjit-figures/sum-of-squares1.png similarity index 100% rename from gcc/jit/docs/_build/texinfo/sum-of-squares1.png rename to gcc/jit/docs/_build/texinfo/libgccjit-figures/sum-of-squares1.png