Hi,I've added a SKIP_CHECKS flag to the ovirt-engine build here [1]. Thanks to Roy for the idea [2].TL;DR: you'll save roughly 2 minutes 10 seconds per full compile with SKIP_CHECKS. You'll save more (3 min 10 sec) if you don't need a 'clean'. You'll save the most (about 3 min 20 sec) if you can skip rebuilding GWT.Here are some statistics (3 runs per command, for averages sake)My test machine is aIntel(R) Core(TM) i5-3570 CPU @ 3.40GHz256GB Samsung SSD (old, using SATA)32GB DDR3 @ 1333 MT/s---fresh master checkoutno clean, no gwt, skip checks:make install-dev PREFIX=/home/greg/ovirt-engine BUILD_GWT=0 SKIP_CHECKS=11:04.38 total1:06.04 total1:04.41 totalsame as above, but now change one non-GWT class in the utils projectmake install-dev PREFIX=/home/greg/ovirt-engine BUILD_GWT=0 SKIP_CHECKS=11:05.49 totalOk, pretend we recompiled and our utils class change had an error.Same as above, change the one non-GWT class in the utils project again, and use the resume (-pl) functionality:make install-dev PREFIX=/home/greg/ovirt-engine BUILD_GWT=0 SKIP_CHECKS=1 EXTRA_BUILD_FLAGS="-pl org.ovirt.engine.core:utils"17.958 total (yes, 18 seconds, obviously a world record for any engine build)
[The resume piece is EXTRA_BUILD_FLAGS="-pl org.ovirt.engine.ui:webadmin" -- I personally need to use this more often!]---no clean, no gwt, run checks (but skip unit tests):make install-dev PREFIX=/home/greg/ovirt-engine BUILD_GWT=0 BUILD_UT=0 3:07.66 total3:16.69 total3:14.28 totalclean, no gwt, skip checks:make clean install-dev PREFIX=/home/greg/ovirt-engine BUILD_GWT=0 SKIP_CHECKS=14:17.74 total4:15.76 total4:13.90 totalno clean, gwt (1 permutation for chrome), skip checks:make install-dev PREFIX=/home/greg/ovirt-engine BUILD_GWT=1 SKIP_CHECKS=1 DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=safari"4:25.63 total4:26.71 total4:30.69 totalno clean, gwt (1 permutation for chrome), run checks but skip unit tests:make install-dev PREFIX=/home/greg/ovirt-engine BUILD_GWT=1 BUILD_UT=0 DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=safari"6:44.23 totalAnd the whole enchilada [3] ... clean, gwt (1 permutation for chrome), run checks, run unit tests:11:52.25 total ... wow :)
_______________________________________________Hope this helps you have a faster change-compile-check cycle :)Best wishes,Greg--
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel