Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Select correct branch / version when compiling binaries

Post Reply
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

Select correct branch / version when compiling binaries

Post by thefunkyjoint »

As described on the topic about compiling binaries, i'm using this command :

python3 e:\code\automate\automate-git.py --download-dir=e:\code\chromium_git --branch=5195 --minimal-distrib --client-distrib --force-clean

Problem is, currently Cef4Delphi expects CEF version 105.0.5195.102. Sometimes when i compile the binaries, it will end up compiling a most recent CEF after .102 (103 for instancEe) and Cef4Delphi will generate an exception when starts.

Is there a way to select not only the branch (5195) but also the 'sub-branch' ?
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Select correct branch / version when compiling binaries

Post by salvadordf »

Yes. You need to add the "--checkout" parameter to automate-git.py with the right commit hash.

Read all the details in the last paragraphs of the build tutorial.
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

Re: Select correct branch / version when compiling binaries

Post by thefunkyjoint »

Great, thank you !
Post Reply