[bug #68054] Per-target valid-for TTL to suppress rebuild if target is recent

Yair <[email protected]> Mon, 16 Feb 2026 18:32:38 -0500 (EST)
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
--8323329-1714636915-1771284758=:1087645
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

URL:=0A  <https://savannah.gnu.org/bugs/?68054>=0A=0A                 Summa=
ry: Per-target valid-for TTL to suppress rebuild if=0Atarget is recent=0A  =
                 Group: make=0A               Submitter: yairlenga=0A      =
         Submitted: Mon 16 Feb 2026 11:32:34 PM UTC=0A                Sever=
ity: 3 - Normal=0A                Priority: 5 - Normal=0A              Item=
 Group: Enhancement=0A                  Status: None=0A                 Pri=
vacy: Public=0A             Assigned to: None=0A             Open/Closed: O=
pen=0A         Discussion Lock: Unlocked=0A       Component Version: 4.4.1=
=0A        Operating System: Any=0A           Fixed Release: None=0A       =
    Triage Status: None=0A=0A=0A    _______________________________________=
________________=0A=0AFollow-up Comments:=0A=0A=0A-------------------------=
------------------------------=0ADate: Mon 16 Feb 2026 11:32:34 PM UTC By: =
Yair <yairlenga>=0AThis patch adds a per-target attribute valid-for=3DTIME =
which suppresses rebuild=0Aof a target if its timestamp is newer than the s=
pecified age.=0A=0AExample:=0A=0A=0Abig.data: private valid_for=3D5m=0Abig.=
data: /path/to/big.txt=0A    create_big_data < $< > $@=0A=0A=0A=0AIf valid_=
for attribute indicate that big.data should not be rebuilt, if it was=0Acre=
ated in the last 5 minutes. This can be used to avoid expensive remake,=0Aw=
hen input timestamp is update frequently, without significant change to the=
=0Adata.=0A=0ALikewise, the valid-max option can be used to force rebuildin=
g of targets=0Abased on time. This can be used to force periodic update whe=
n actual=0Adependency list is not complete, etc.=0A=0AThis is an opt-in fea=
ture and does not change default rebuild semantics.=0A=0AThe patch was post=
ed to bug-make:=0Ahttps://lists.gnu.org/archive/html/bug-make/2026-02/msg00=
011.html=0A=0A=0A=0A=0A=0A=0A    __________________________________________=
_____________=0AFile Attachments:=0A=0AName: 0001-Add-support-valid-for-and=
-valid-max.patch Size: 6.8KiB=0A=0A<https://file.savannah.gnu.org/file/0001=
-Add-support-valid-for-and-valid-max.patch?file_id=3D58253>=0A=0A=0A=0A    =
AGPL NOTICE=0A=0AThese attachments are served by Savane. You can download t=
he corresponding=0Asource code of Savane at=0Ahttps://savannah.gnu.org/sour=
ce/savane-0ce18f920e65bfe617d234583dbb0a207f4283fb.tar.gz=0A=0A    ________=
_______________________________________________=0A=0AReply to this item at:=
=0A=0A  <https://savannah.gnu.org/bugs/?68054>=0A=0A_______________________=
________________________=0AMessage sent via Savannah=0Ahttps://savannah.gnu=
.org/=0A
--8323329-1714636915-1771284758=:1087645
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaZOpFgAKCRCqLAuaBUf3
Tu/+AP9GBCXM/xO8HHguxTOm2lP/dXSFcBc9br0lrnSDahRjsQD/Yu3ImULxwSZw
cIzyFVoKSB+xJGwsV4JtHO7wNvJ12Ao=
=0W1N
-----END PGP SIGNATURE-----

--8323329-1714636915-1771284758=:1087645--