Re:Redo: A recursive, general-purpose build system
by Too on Wednesday December 29, 2021 @02:09AM
(#29722648)
The http_archive has a sha256-attribute to deal with the "random". You could add multiple urls to point to your local mirror as well. It's a way to pin external dependencies and get reproducible builds without checking in a big blob into your git. pkg-config in my experience is less reproducible and tends to pollute and be affected by system environment, unless you have some build guru who can setup chroot in your project.
[ Parent
| on HN ]
Re:Redo: A recursive, general-purpose build system
by floatboth on Wednesday December 29, 2021 @04:45AM
(#29723340)
Oh I didn't mean "random" as in "could change". In fact "random" was about the unspecified .so blob, not the http archive.
> pkg-config in my experience is less reproducible
But this is what I mean, you only want full reproducibility in a "corporate" environment. In a FOSS desktop environment you often specifically want to use whatever the system has.