Skip to content

Conversation

@smontanaro
Copy link
Contributor

@smontanaro smontanaro commented Feb 27, 2024

This PR adds a pair of dependency files, Makefile.deps.Linux and Makefile.deps.Darwin as well as a new regen target, regen-deps for 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.

@smontanaro
Copy link
Contributor Author

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.

@smontanaro
Copy link
Contributor Author

The latest update to Makefile.deps.Darwin highlights a problem. I updated my Homebrew installation which updated OpenSSL from 3.2.0_1 to 3.2.1. The version number is encoded in the dependencies. Not sure quite what to do there...

@smontanaro
Copy link
Contributor Author

The latest update to Makefile.deps.Darwin highlights a problem. I updated my Homebrew installation which updated OpenSSL from 3.2.0_1 to 3.2.1. The version number is encoded in the dependencies. Not sure quite what to do there...

Solved by not checking the dependency files into Git. Instead, they are generated as the last step of configure.

@smontanaro
Copy link
Contributor Author

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.)

@smontanaro
Copy link
Contributor Author

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.

@smontanaro smontanaro closed this Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant