Login  Register

Re: Nightly builds

Posted by dxli on May 09, 2015; 11:07pm
URL: https://forum.librecad.org/Nightly-builds-tp5711446p5711482.html

template for README.md for OSX nightly builds:

README.template

and bash script:
nightly-build.sh

dxli wrote
Thanks!

I will commit this change.

BTW, just tested on my laptop:

with "make -j8"

real 4m22.354s
user 30m46.488s
sys 2m26.179s

R. van Twisk wrote
> On May 5, 2015, at 7:39 PM, dxli [via LibreCAD] <[hidden email]> wrote:
>
> for osx, the building script hardcoded "make -j4" in file scripts/build-osx.sh
>
> is there a way to make number of jobs auto?

make -j

If you don't specify the number of jobs with -j then it will find it out itself.

>
> ravas wrote
> If you add -j to the make arguments in Qt creator it will reduce the build time by just that amount.
> It was taking like 27-8 minutes before, now it takes 7-8 minutes and uses 100% cpu.
>