From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 D9E823858288 for ; Fri, 31 May 2024 08:18:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D9E823858288 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D9E823858288 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717143541; cv=none; b=OSUokkcNGByC+byyyzOuz1zVkneqdRHaHJ2MhDPs7dUpH4p5e0gEv8L21bnCoZUkT1T/M49FZ4PkmWjAXA9jmROryfbiI9Hg9Nq8TCv5+vnrruiKTZ9omBEgSSzOVdIIEMAGKuZOeCjm8Eu6pjsm+aqO8TwD6tud5zvwgm1PJFo= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717143541; c=relaxed/simple; bh=ZROO45U7DlB8kzfwXSSiPlfuGjcW7ycFhA0YX56PdQQ=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=GsPruJr+SgxG+XIVPg2myi3Ll0TI0UNvRkaeF+IRuKSi+Hlmru7b8MUJEKjkkbKP/Ykkv9neI9kDLEw5Bq4ig1bA9QsCbM1Tu+imZmsXH4RMXlRicsOeistkah/nEW77sgoSlvgdxKH3tk78NnrRpO6YwrZDQskDGC8/MEORI18= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1717143529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GwdaptEsGBmTcC8UMOZFCGXer+F1TvFLZPqC4dA9NDs=; b=isHk+e1Oa8CiThxIrwzqPGkz28LPEMcsWW5/h23DA6NxTCmTXIO2k/SmUJab8hn+oeER6n 8NoilJre/ZpO26eT2+HKZ7UElZMbJWthjEHkDOe/lsg9S+usoBfnZVMFqlmBkXnIM29onB Pb4N5FwD5TOM17g3YkulP/e/PZk05I8= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-498-A9hqETSSOD-NkwRZQ6Vpgw-1; Fri, 31 May 2024 04:18:48 -0400 X-MC-Unique: A9hqETSSOD-NkwRZQ6Vpgw-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4212b505781so3634555e9.0 for ; Fri, 31 May 2024 01:18:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717143525; x=1717748325; 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=GwdaptEsGBmTcC8UMOZFCGXer+F1TvFLZPqC4dA9NDs=; b=dH9tXZZ1Ya/dOrXlulxQYxjhj7qVLZ+4LQPoFTR0uAX51SU3dgXMDuqWQKlZOE8MyL 2I5AY/pRYIZsglxRGjf+myqHb4YtgJOKBE/2+IzGgqtVsU42Y005rMp0cShVtD6vBKKI GZhwf6MssaFgeyTOr+DREJpuQimqTChGDM0G3qJfL3J+JJfFU1VChuvPaqp9p9oNFujH H2E4mZ5ierrKy0suyZlmLbhrymJhLHWYI3MmG/QMjoCVQ5/SdKsyVyg4tITGUqKDRjSt I73wonubHtmLI61szs64liDp4K8koIIQj6vlzgi2ohWiLfHvBfKkl8N0l7h6FLKbJKBc rnjg== X-Gm-Message-State: AOJu0YzxIut5z5ZqxZ6l8IOZun/tk0XcUNtpr+8WFHswJCbxJ2j55+La cBKXpaJbhxkQx36t6iOwzGHOX53FF0i4vDU2nhWHZOhe4TOaIOXTVDG4hnrdIB2/TQHDI3hHHzw LlEBEPg7bk8Hsk6gnL30ENiSS8OEt/aX9kI4gH5peje5dl6lWp/W6wH9sd1UPCVY29SSYPbVNfa GElNZH8qxqMueC+1b7Y/UDrUc6kTyJUZ4olyA6sf4HtuY= X-Received: by 2002:a05:600c:510b:b0:41a:56b7:eb37 with SMTP id 5b1f17b1804b1-4212ddbc921mr8397165e9.20.1717143525321; Fri, 31 May 2024 01:18:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF5I7SRcUF4yI/0zX4VUZ23Q/5tvXog7nS7Rwc7ozugBPnRnzde5d5L8pFr3MY/QHvYN7d9SQ== X-Received: by 2002:a05:600c:510b:b0:41a:56b7:eb37 with SMTP id 5b1f17b1804b1-4212ddbc921mr8396945e9.20.1717143524724; Fri, 31 May 2024 01:18:44 -0700 (PDT) Received: from localhost ([2a00:23c7:c696:e701:85a5:8a0c:1403:2dc]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd066ff17sm1267375f8f.116.2024.05.31.01.18.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 01:18:44 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PATCHv2 0/5] gdb/doc: parallel build fixes and improvements Date: Fri, 31 May 2024 09:18:37 +0100 Message-Id: X-Mailer: git-send-email 2.25.4 In-Reply-To: References: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: After feedback on the v1 series I merged the first patch. I've now rewritten the commit message for what was the second patch to better explain why this change is fine. I've added some additional fixes I found, these are the new patches #2 and #3, then the final two patches are unchanged from v1 (and already got approved). The goal of this series is to fix 'make -j20 -C gdb/doc all-doc', but I've also fixed some doc rebuild issues that currently exist with our releases. For testing, as well as a parallel build of 'all-doc' in a git checkout, I've also been creating a GDB release tar file, unpacking that into an empty directory and doing the usual configure, make, 'make install' process to ensure that works fine. The things I'm checking for in this last step are: 1. From a freshly unpacked GDB release, by default we don't build the man or info pages when doing make and 'make install', we just install the copies in the source tree. 2. If I then 'touch gdb/doc/*.texinfo' in the unpacked release tree and then 'make install' the info and man pages are successfully rebuilt using the GDBvn.texi and version.subst files in the source tree. 3. If I 'touch gdb/doc/version.subst' then 'make install' we correctly recreate GDBvn.texi in the build directory and then rebuild the docs using this new file. 4. And finally, if I 'touch bfd/version.h' then 'make install' we correctly rebuild version.subst into the build directory and then rebuild everything using this file. Steps 2, 3, and 4 don't currently work with previous GDB releases. In V2: - Patch #1: the content of this patch is unchanged from v1, however the commit message is completely rewritten. I believe the change I made was good, but my previous justification was completely wrong! - Patches #2 and #3: these patches are completely new in v2. - Patches #4 and #5: these are completely unchanged from v1 where they were already approved. Further feedback is of course welcome, but if you want to skip looking at these, that's fine too. Thanks, Andrew --- Andrew Burgess (5): gdb/doc: don't try to copy GDBvn.texi from the source tree gdb/doc: allow for version.subst in the source tree gdb/doc: also look in srcdir when running TEXI2POD gdb/doc: fix parallel build of refcard related targets gdb/doc: fix parallel build of pdf and dvi files gdb/configure | 33 +++++++++++- gdb/configure.ac | 21 ++++++++ gdb/doc/Makefile.in | 121 ++++++++++++++++++++++++-------------------- 3 files changed, 118 insertions(+), 57 deletions(-) base-commit: 40acbd34527648e0c375b965b16ab5b7f2ecae6c -- 2.25.4