[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#572750: ocaml: please allow to build arch=all packages without compiling all of ocaml



Stephane wrote:

>Ralf Treinen a écrit :
>> Calling dpkg-buildpackage -A seems to compile everything, even-though it
>> only produces the arch-independent packages ocaml-mode and ocaml-source.
>> It would be nice to factor the build and install targets into -arch and
>> -indep targets. That would allow to build arch=all packages much more
>> quickly.
>
> Isn't it the case for almost all packages? Is it a common practice to
> handle this option?

Yes, that it is probably the same with most packages. And in cases where
a package compiles in a few seconds it is not problem. It is more
annoying when the package takes some 10 minutes to compile, and when
building the arch=all packages could theoretically be done in a few
seconds. But I agree that it is not a top priority (that's why it is
severity=wishlist), it just bothered me when chasing a bug in the
ocaml-mode package.

> I'd rather rewrite the rules file using dh with overrides, and use
> dh_listpackages to decide what to compile. I am planning to do this (but
> I don't consider it as urgent).

I agree, simplyfying the rules file would probably be more worthwhile.

-Ralf.



Reply to: