]> git.ipfire.org Git - thirdparty/make.git/commit
[SV 14927] Allow parallel builds for archives
authorPaul Smith <psmith@gnu.org>
Tue, 3 Jan 2023 06:57:35 +0000 (01:57 -0500)
committerPaul Smith <psmith@gnu.org>
Tue, 3 Jan 2023 06:57:35 +0000 (01:57 -0500)
commit1ceeb8c64bf2a95bdfc5e5bd221886c6df74f560
tree134ec02d7f337d65d5d880c6738fdff097068699
parent8791d2b38ec916ea4206d5cae3b0036bb440c918
[SV 14927] Allow parallel builds for archives

Compare the timestamp of the object file (if it exists) with the
archived object and if the object file is newer, ensure it's updated
in the archive.

* NEWS: Announce the new capability.
* doc/make.texi (Dangers When Using Archives): Explain how to enable
parallel builds with archives.
* src/remake.c (f_mtime): For archive element files check the mod
time of the object file (if it exists) against the archive object
(if it exists).
* tests/scripts/features/archives: Add tests for this capability.
NEWS
doc/make.texi
src/remake.c
tests/scripts/features/archives