From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8409 invoked by alias); 4 Aug 2019 22:39:28 -0000 Mailing-List: contact jit-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Subscribe: Sender: jit-owner@gcc.gnu.org Received: (qmail 8390 invoked by uid 89); 4 Aug 2019 22:39:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.3 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=ran, malcolm, Malcolm, ahead X-Spam-Status: No, score=-6.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,GIT_PATCH_3,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on sourceware.org X-Spam-Level: X-Spam-User: qpsmtpd, 2 recipients X-HELO: hamza.pair.com Received: from hamza.pair.com (HELO hamza.pair.com) (209.68.5.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 04 Aug 2019 22:39:25 +0000 Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id 026A533DE6; Sun, 4 Aug 2019 18:39:24 -0400 (EDT) Received: from anthias.microfocus.com (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 4BF3E33DE1; Sun, 4 Aug 2019 18:39:23 -0400 (EDT) Date: Tue, 01 Jan 2019 00:00:00 -0000 From: Gerald Pfeifer To: David Malcolm cc: jit@gcc.gnu.org, gcc-patches@gcc.gnu.org, Jeff Law Subject: Re: [PATCH] More fixes for update_web_docs_svn for jit docs (PR jit/64257) In-Reply-To: <1423088766.29180.129.camel@surprise> Message-ID: References: <1423074736-47636-1-git-send-email-dmalcolm@redhat.com> <1423077032.29180.125.camel@surprise> <1423088766.29180.129.camel@surprise> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SW-Source: 2019-q3/txt/msg00012.txt.bz2 On Wed, 4 Feb 2015, David Malcolm wrote: >> That was my plan, yes. :-) I just did that and manually ran >> the script, and it seems to work. > Thank you! >> Still, do you think you can add a bit of error handling such >> that an issue like the one we had (cf. >> https://gcc.gnu.org/ml/gccadmin/2015-q1/msg00077.html ) does >> not kill the entire script? A bit of resilience would be good. > Something like the attached? (completely untested, sorry) Yes. Given that this was a while ago (ahem), I went ahead, created a ChangeLog entry, committed the patch on your behalf, updated the version on gcc.gnu.org, and did a test run there. Gerald 2019-08-05 David Malcolm * update_web_docs_svn: Proceed even if the invocation of sphinx fails. Index: update_web_docs_svn =================================================================== --- update_web_docs_svn (revision 274098) +++ update_web_docs_svn (working copy) @@ -190,7 +190,7 @@ done # /usr/bin/sphinx-1.0-build # so we need to override SPHINXBUILD with this when invoking "make". pushd gcc/gcc/jit/docs -make SPHINXBUILD=/usr/bin/sphinx-1.0-build html +make SPHINXBUILD=/usr/bin/sphinx-1.0-build html || true popd cp -a gcc/gcc/jit/docs/_build/html jit mkdir -p $DOCSDIR/jit