Nightly builds

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Nightly builds

ravas
I am willing to follow any steps needed to release Nightly builds. Let me know if I can help.
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds

dxli
right now, we are using a bash script to do nightly building for OSX:

For windows, Armin is worried about virus scan to do similar.

nightly-build.sh
ravas wrote
I am willing to follow any steps needed to release Nightly builds. Let me know if I can help.
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds

dxli
updated to generate logs

nightly-build.sh
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds

LordOfBikes
Administrator
Windows nightly builds are in the final test phase. I'm confident that everything will work before the weekend.

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds

dxli
updated to log activities.

Tue May  5 01:33:06 PDT 2015: repository updated
Tue May  5 01:42:47 PDT 2015: LibreCAD-2015-05-05-8b386bbe.dmg uploaded

it takes less than 10 minutes to build. Impressive!

on my linux box, desktop, quad-core i7, 12GB RAM, it takes more than 20 minutes to build.

nightly-build.sh

Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds

ravas
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.
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds

dxli
for osx, the building script hardcoded "make -j4" in file scripts/build-osx.sh

is there a way to make number of jobs auto?

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.
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds

R. van Twisk
Administrator


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.


Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds

dxli
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.
>
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds

dxli
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.
>
Reply | Threaded
Open this post in threaded view
|

Re: Nightly builds

LordOfBikes
Administrator
Windows nightly builds are working now too, please find them regularly on sf.net files/Windows/NightlyBuilds

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution