https://travis-ci.org/tweenk/inkscape/builds/109310104
The build takes 15 minutes with Clang and 21 minutes with GCC, so we have considerable headroom (the limit for OSS projects is 50 minutes).
I have the dependencies figured out for OSX, but a configure fix is needed, because the glibmm shipped by homebrew is already C++11-only.
Best regards, Krzysztof
On Feb 15, 2016 06:24, "Krzysztof Kosiński" <tweenk.pl@...400...> wrote:
The build takes 15 minutes with Clang and 21 minutes with GCC, so we have considerable headroom (the limit for OSS projects is 50 minutes).
I'm not installing gentoo here but the average inkscape build time is around 20 minutes, so that seems about right.
OT: why is the build time so long? I'm not installing gentoo here but waiting 20 minutes for a compile is pretty bad.
Man I can't even make a joke about gentoo without screwing it up :S
emerge shame On Feb 15, 2016 10:06, "Liam White" <inkscapebrony@...400...> wrote:
On Feb 15, 2016 06:24, "Krzysztof Kosiński" <tweenk.pl@...400...> wrote:
The build takes 15 minutes with Clang and 21 minutes with GCC, so we have considerable headroom (the limit for OSS projects is 50 minutes).
I'm not installing gentoo here but the average inkscape build time is around 20 minutes, so that seems about right.
OT: why is the build time so long? I'm not installing gentoo here but waiting 20 minutes for a compile is pretty bad.
2016-02-15 7:06 GMT-08:00 Liam White <inkscapebrony@...400...>:
On Feb 15, 2016 06:24, "Krzysztof Kosiński" <tweenk.pl@...400...> wrote:
The build takes 15 minutes with Clang and 21 minutes with GCC, so we have considerable headroom (the limit for OSS projects is 50 minutes).
OT: why is the build time so long? I'm not installing gentoo here but waiting 20 minutes for a compile is pretty bad.
Because you're not supposed to do highly parallel builds inside Travis VMs. I think the scheduling is set up so that the VM effectively has 1.5 cores.
The current setup does make -j2. I could try make -j4 to see whether it improves the compilation time. make -j ends with memory exhaustion, since it uses the number of cores from host hardware, and the VM doesn't have enough memory to run that many copies of a compiler.
Best regards, Krysztof
After the C++11 configure fix is applied, Inkscape compiles on OSX (via Travis), but linking fails due to missing iconv functions in libuemf/uemf_utf.c.
https://travis-ci.org/tweenk/inkscape/jobs/109569116
2016-02-15 21:55 GMT-08:00 Krzysztof Kosiński <tweenk.pl@...400...>:
2016-02-15 7:06 GMT-08:00 Liam White <inkscapebrony@...400...>:
On Feb 15, 2016 06:24, "Krzysztof Kosiński" <tweenk.pl@...400...> wrote:
The build takes 15 minutes with Clang and 21 minutes with GCC, so we have considerable headroom (the limit for OSS projects is 50 minutes).
OT: why is the build time so long? I'm not installing gentoo here but waiting 20 minutes for a compile is pretty bad.
Because you're not supposed to do highly parallel builds inside Travis VMs. I think the scheduling is set up so that the VM effectively has 1.5 cores.
The current setup does make -j2. I could try make -j4 to see whether it improves the compilation time. make -j ends with memory exhaustion, since it uses the number of cores from host hardware, and the VM doesn't have enough memory to run that many copies of a compiler.
Best regards, Krysztof
participants (2)
-
Krzysztof Kosiński
-
Liam White