Policy 4.9.1 does not say how many parallel threads debian/rules should use in the absence of DEB_BUILD_OPTIONS. By default, all my Ada packages detect the number of cores in the build host and use one thread per core. This is appropriate in all situations I have encountered so far, especially for large packages like polyorb.
In the case of polyorb, I agree that hardcoding -j4 is not such a good idea; not only because most Debian buildds have fewer than 4 cores but also because most have insufficient memory to accommodate all 4 compiler threads without swapping. Also when new build hosts with more than 4 cores and loads of RAM become common, the build would become suboptimal. The hardcoded -j4 is from upstream; we whould patch it so that debian/rules tells it how many threads to use. Also debian/rules should use one thread per core by default and the number of threads specified in DEB_BUILD_OPTIONS if specified. Note to Kurt: my home machine has 2 cores but Xavier routinely uses 4- or 8-core boxes; I don't recall about Reto but I suspect he has similarly large machines :) -- Ludovic Brenta. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org