On Mon, Sep 09, 2002 at 06:02:55PM +0200, Goswin Brederlow wrote: > Sven LUTHER <[EMAIL PROTECTED]> writes: > > > On Mon, Sep 09, 2002 at 11:57:01AM +0200, Goswin Brederlow wrote: > > > Christian Perrier <[EMAIL PROTECTED]> writes: > > Nice :))) > > > > Saddly, not all ocaml package are that clean. > > autoconf. :)
Yes, but i believe not all ocaml programmers feel confortable with it. I know ocaml use some simple scripts or something. > > > > IMHO, this allows minimal modification of original sources....and it > > > > properly deals with the presence/lack of optimised compilers. I could > > > > also "edit" Makefile.inc on the fly... > > > > > > > > Of course, my package Build-Depends on ocaml-best-compilers as it was > > > > previously written... > > > > > > > > All this works well, though I'm not really an ocaml specialist (I'm > > > > far more a genealogist...:-)) > > > > > > I want to make a binary-all package of the bytecompiled version. Unless > > > I misunderstood other replies here bytecompiled ocaml (with the proper > > > flags) should run on all archs without change. > > > > :))) > > > > If you agree, i will be nextly writing something about this in the > > ocaml_packaging_policy, and we can iron out any other problem you will > > be encountering about it. > > Sure, write it up, I might actually come around to reading the thing. Ok, i will have a first try ready by friday, i hope. > > > For speed reasons I also want to provide a optimised version on archs > > > that support it. The above tests find the right (best) ocamlopt. But > > > how do I know that there is one at all? I don't want to build a deb on > > > archs that don't have ocamlopt. Using arch=i386,alpha,... in the > > > control field would need a change when more archs get a ocamlopt. i > > > would prefer a more automatic way. > > > > Mmm, i thought some day about having a file shipped with the ocaml > > package that list all supported architectures, so you could simply add > > this to the control file (with a varsubst or something such). > > > > But i am not entirely sure if it will work or not. > > > > That said, if you build depend on ocaml-native-compilers, then the > > package will not be build on arches that don't support the native > > compilers, but i guess this is not a solution. > > I think thats the right[tm] way. I need ocamlopt to build so I > Build-depend on it. Any arch that provides it will build the > deb. Archs that don't have it shouldn't get the packages assigned for > building by wanna-build. That should work out fine. Well, but wanna-build or whatever will have a bit more work, trying to look for the build depends, and failing, resulting in a log message, and maybe an automatically sent bug report. That is why i think asking this exact questiono on debian-mentors may show us something we maybe did not see. Would you be so kind and ask it ? I have not much time for it myself right now. Friendly, Sven Luther

