tpoechtrager / osxcross

Mac OS X cross toolchain for Linux, FreeBSD, OpenBSD and Android (Termux)
GNU General Public License v2.0
2.87k stars 326 forks source link

Allow to pin dependencies #371

Open darosior opened 1 year ago

darosior commented 1 year ago

The various scripts will at the moment always pull the master branch of each of the projects. This introduces a way to fetch a specific commit per project with minimal changes.

Specifying a specific commit for the project you use is useful for (at least):

It might not be relevant for all project pulled in the scripts (for instance i'm not sure about darling)?

darosior commented 1 year ago

I wonder if it's not cleaner to pass a new argument to get_sources, the revision, and git checkout there instead of passing commit hashes as branches.