Bug#747421: camitk: please enable parallel building
Dear Aurélien, did you have any time to consider my objections about activating the parallel build by default? If this is ok with you, I will tag this bug as 'wontfix' for now. Let me know quickly if you have a better idea... Best regards, EP smime.p7s Description: S/MIME Cryptographic Signature
Bug#747421: camitk: please enable parallel building
Dear Aurélien, thank you very much for your bug report. I tried to enable the parallel build in a previous version (3.2.1-1, see changelog), but it failed to build on some plateforms with small amount of RAM. It generated an out of memory error when compiling the medical imaging feature of CamiTK, which is mainly based on ITK (Insight ToolKit) filters, which themselves are intensively based on C++ templates. For instance, on my machine, with -j=9, the compilation needs more than 8Gb of RAM. Since 3.2.2-1 the parallel build is disabled (see also the debian/rules, where I added some comments in the % rule). All plateforms seem to be able to end the build without an error now, although I completely agree with you: it takes a oooggg time. The only way to fix this would be to enable parallel build only when there is enough RAM. I am quite a novice, so here are my questions: * Do you know anyway to estimate the amount of memory needed by a compilation? * Do you know if it is possible to check the available memory in d/r and add some kind of test to enable or not parallel build depending on the answer? Best regards, EP smime.p7s Description: S/MIME Cryptographic Signature
Bug#747421: camitk: please enable parallel building
Source: camitk Version: 3.2.2-2 Severity: wishlist Tags: patch camitk takes some time to build (more than 1 hour on fast architectures), and thus would benefit from parallel building, saving some buildd time. Given the package uses dh and cmake, the change is quite easy: --- camitk-3.2.2/debian/rules +++ camitk-3.2.2/debian/rules @@ -44,7 +44,7 @@ -DCAMITK_DICOM_INCOMPLETE_SUPPORT:BOOL=ON %: - dh $@ + dh $@ --parallel override_dh_auto_configure: dh_auto_configure -- $(CMAKE_EXTRA_FLAGS) Could you please enable parallel building in the next upload? Thanks in advance. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org