[bug #65533] gmake-4.4.1 has a performance regression: at least the nwchem project now builds much slower

Carter Olsen <[email protected]> Tue, 20 Jan 2026 18:03:36 -0500 (EST)
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
Follow-up Comment #17, bug #65533 (group make):

This may or may not be the issue, but I was able to attach a debugger to make
and see why it kept reaching the find_directory() function. I found that
*most* of the time, it was because it was searching for a file on VPATH.

I did some digging and found that we currently have 256 directories listed in
VPATH. It seems as though many of our makefiles define recipes like:


mydir/%.o : %.c
    $(build-c-obj)


This causes the VPATH to be searched. Do you think this could be why we are
seeing such a performance degradation?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65533>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaXAJyAAKCRCqLAuaBUf3
TliQAP4iHNho6HuwoNyiQmDiG0pmd3XPx8dSBc+UHqUAyta7JwEAqKvv9oC0+1Fo
wqD4PrbM2GPiUGfqrfPAD8XxL9DuiAI=
=Tx2q
-----END PGP SIGNATURE-----