gh-115992: Generate build dependencies using gcc facility#115993
gh-115992: Generate build dependencies using gcc facility#115993smontanaro wants to merge 22 commits intopython:mainfrom
Conversation
|
Note that I am asymptotically approaching dependency generation Nirvana. The latest update picks up Modules (but also duplicates some Modules which were found in the first go-round). It's an iterative process. I'd rather have something mostly complete out there for people to play with an comment on than aim for perfection on the first try. |
|
The latest update to |
Solved by not checking the dependency files into Git. Instead, they are generated as the last step of configure. |
…but more easily solved now)
|
I gave up trying to shoehorn Module dependencies into this PR. It's just such a nightmare. I'm really surprised we still use Modules/Setup. Does anyone actually build a fully statically linked executable anymore? (My apologies to the people who have turned that aspect of the build system into a labor of love.) |
|
Things went wacky, and I have yet to figure out why. Closing this PR until I get a) more consistent results, and/or b) when I get failures, I can explain them. |
This PR adds a pair of dependency files,
Makefile.deps.LinuxandMakefile.deps.Darwinas well as a new regen target,regen-depsfor keeping them up-to-date.This is just a proposal. I expect some discussion and some pushback on the idea. I still think it worth exploring, even in the end it doesn't fly.