Compiler.app
Compiler.app is an automation tool aiming to be an easy one click solution setting up a magic lantern development environment on a mac. Main purpose is to get fast access into som basic functions such as changing branches, compile on a platform, module etc. Hopefully this also will encourage newcomers to get straight into compiling and testing. The tool can be used even if you already have a development environment installed.
Sourcehttps://bitbucket.org/Dannephoto/ml_compiler-git/src/master/Downloadhttps://bitbucket.org/Dannephoto/ml_compiler-git/downloads/ml-compiler.dmgHowto:- Download Compiler.app then Double click Compiler.app and follow instructions(link above)
(Bypass gatekeeper by holding down ctrl when clicking the application the first time) - To change or add a repository just drag your magic-lantern repository onto Compiler.app
Most of the stuff is a continuation of what is brought into this
thread by dfort. Bigger part of dfort quick installation script is included into Compiler.app.
(license gpl)
Example usage:Here are some steps if you want to use my fork and the branch used for bleeding edge eosm:
Once you double clicked compiler.app and installed all dependencies do this:
1 - Download my repository. In terminal do:
hg clone https://Dannephoto@bitbucket.org/Dannephoto/magic-lantern magic-lantern_dannephoto
This will download my repo and rename it to magic-lantern_dannephoto. It should land in your user folder
2 - Drag the repository named
magic-lantern_dannephoto onto Compiler.app. Once the menu opens choose:
(b) branches3 - You´ll see at the top that your branch right now is:
current branch: default.
What you want is to be in:
current branch: crop_rec_4k_mlv_snd_isogain_1x3_presetsThe top of source tree should look like this right now:
1 crop_rec_4k_mlv_snd_isogain_1x3_presets
2 digic6-dumper
3 recovery
4 crop_rec_4k_mlv_snd_isogain_1x3_presets_EOSM2
5 crop_rec_4k_5D2_rd_stuff
4 - So to get there simply print
1 at the bottom since the branch you want is the first one(hg source tree always keeps latest first) like this:
Please enter your selection number below and press enter:1
If it a the top looks like this all has worked:
current branch: crop_rec_4k_mlv_snd_isogain_1x3_presets5 - Now go back to:
(m) main6 - To compile select platform first in main menu:
(p) platform7 - select 17 for eosm:
17 EOSM.2028 - Choose c for compiling and just wait until it´s done. When ready Compiler.app will open up the platform folder that you compiled from:
(c) compile