New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build: restructure build process on Mac to make it more flexible and allow CI support #1821
Conversation
This allows to build BOINC on a Mac CI system as well as on a developers computer. See script headers for documentation. The short version is: * run ./3rdParty/buildMacDependencies.sh to compile all dependency libraries into 3rdParty/buildCache/mac (can be configured with --cache_dir) * run ./mac_build/buildMacBOINC-CI.sh to compile all BOINC components using the build cache (--cache_dir can be used here too) There are options for building debug versions but they are not very well tested. Currently you can't selectively build single targets using this.
We currently build every BOINC component in one go on Mac. This is kind of intended as the build capacity for OSX on Travis CI is capped at 128 builds at the same time right now and extra builds will only add to the already full queue.
Conflicts: .travis.yml (new mingw build added)
Fixes some copy and paste bugs reported by Charlie Fenton. Added ScreenSaver target aka screensaver coordinator which was missing from the CI build script.
from Charlie Fenton
Also supress error message if xcpretty is not available. reported by Charlie Fenton
The last remaining work (besides merging master back in and fixing the conflict) is to add a |
Retained Travis changes for Linux that happened in the meantime. Conflicts: .travis.yml
By default stdout is printed on screen. For CI builds this is cluttering the log. Note: /dev/stdout is not POSIX but is available on MacOS and popular Linux distributions.
@christian: shouldn't there be a "shift" statement after every case in the "case $key in" blocks of your commit aaec0f9? Without that, I believe that the "while" statement will never exit if there are any arguments other than -prefix or --prefix.
|
@CharlieFenton No there is a general |
I have reviewed your changes and approve of them. As far as I am concerned, they are ready to be merged into GIT master.
|
This allows to build BOINC on a Mac CI system as well as on a developers computer. See script headers for documentation.
The short version is:
There are options for building debug versions but they are not very well tested. Currently you can't selectively build single targets using this.
We currently build every BOINC component in one go on Mac. This is kind of intended as the build capacity for OSX on Travis CI is capped at 128 builds at the same time right now and extra builds will only add to the already full queue.