Re: both native bytecode

2004-10-28 Thread Claudio Sacerdoti Coen
[ silent lurking as usual ] (in particular I could do that for the coq package which is quite big and takes a long time to build). Notice that it will only work if there are no C bindings in the package, There is no C in the current version of Coq and there will be no C in the next

Re: both native bytecode

2004-10-27 Thread Sven Luther
On Wed, Oct 27, 2004 at 02:53:00PM +0200, Berke Durak wrote: On Wed, Oct 27, 2004 at 03:47:15PM +0300, George Danchev wrote: Err, make builds bytecode versions ; make opt builds native versions named .opt. Have you checked this ? Ah, sorry ;-) I've corrected this in the same

Re: both native bytecode

2004-10-27 Thread George Danchev
On Wednesday 27 October 2004 15:53, Berke Durak wrote: On Wed, Oct 27, 2004 at 03:47:15PM +0300, George Danchev wrote: Err, make builds bytecode versions ; make opt builds native versions named .opt. Have you checked this ? Ah, sorry ;-) I've corrected this in the same version 1.0.1,

Re: both native bytecode

2004-10-27 Thread Berke Durak
I'd suggest: make builds the native code - ara xara make bt builds the bytecode - ara.bt xara.bt Sounds reasonable, just keep in mind that some arches do not have a native code compiler, and that the package should fall back on building bytecode in this case. Friendly, Sven

Re: both native bytecode

2004-10-27 Thread Sven Luther
On Wed, Oct 27, 2004 at 07:32:00PM +0300, George Danchev wrote: On Wednesday 27 October 2004 16:17, Berke Durak wrote: I'd suggest: make builds the native code - ara xara make bt builds the bytecode - ara.bt xara.bt Sounds reasonable, just keep in mind that some arches do not

Re: both native bytecode

2004-10-27 Thread Samuel Mimram
Hello, I have a few comments on your control file, I might be wrong since I don't really know ara : * if you don't need the Graphics or Tk modules, you should depend on the -nox versions of the packages (in particular for ara which does not require X, I guess). Anyway you don't need to depend

Re: both native bytecode

2004-10-27 Thread Sven Luther
On Wed, Oct 27, 2004 at 07:21:45PM +0200, Samuel Mimram wrote: Hello, I have a few comments on your control file, I might be wrong since I don't really know ara : * if you don't need the Graphics or Tk modules, you should depend on the -nox versions of the packages (in particular for ara

Re: both native bytecode

2004-10-27 Thread Sven Luther
On Wed, Oct 27, 2004 at 09:13:25PM +0200, Berke Durak wrote: Hello all, On Wed, Oct 27, 2004 at 09:06:33PM +0200, Sven Luther wrote: On Wed, Oct 27, 2004 at 07:21:45PM +0200, Samuel Mimram wrote: Hello, I have a few comments on your control file, I might be wrong since I don't

Re: both native bytecode

2004-10-27 Thread Berke Durak
Hello all, On Wed, Oct 27, 2004 at 09:06:33PM +0200, Sven Luther wrote: On Wed, Oct 27, 2004 at 07:21:45PM +0200, Samuel Mimram wrote: Hello, I have a few comments on your control file, I might be wrong since I don't really know ara : * if you don't need the Graphics or Tk modules,

Re: both native bytecode

2004-10-27 Thread Berke Durak
On Wed, Oct 27, 2004 at 10:20:36PM +0300, George Danchev wrote: I've commited my changes to SVN, basically we first check if we can make a native build, else fallback to bytecode... if [ -x /usr/bin/ocamlopt ]; then \ $(MAKE); \ else $(MAKE) bt ; \

Re: both native bytecode

2004-10-27 Thread Samuel Mimram
Hi, * You should not build-depend on ocaml-native-compilers since it is not available on some non-native archs. You could depend on ocaml-best-compilers but anyway your app is, I guess, small enough not to require native compilers when available. I thought so at first, but had second thought

Re: both native bytecode

2004-10-27 Thread George Danchev
On Wednesday 27 October 2004 20:21, Samuel Mimram wrote: Hello, Hello, I have a few comments on your control file, I might be wrong since I don't really know ara : * if you don't need the Graphics or Tk modules, you should depend on the -nox versions of the packages (in particular for ara

Re: both native bytecode

2004-10-27 Thread George Danchev
On Wednesday 27 October 2004 22:06, Sven Luther wrote: On Wed, Oct 27, 2004 at 07:21:45PM +0200, Samuel Mimram wrote: Hello, I have a few comments on your control file, I might be wrong since I don't really know ara : * if you don't need the Graphics or Tk modules, you should depend on

Re: both native bytecode

2004-10-27 Thread George Danchev
On Wednesday 27 October 2004 22:13, Berke Durak wrote: Hello all, On Wed, Oct 27, 2004 at 09:06:33PM +0200, Sven Luther wrote: On Wed, Oct 27, 2004 at 07:21:45PM +0200, Samuel Mimram wrote: Hello, I have a few comments on your control file, I might be wrong since I don't really

Re: both native bytecode

2004-10-27 Thread Sven Luther
On Wed, Oct 27, 2004 at 09:58:10PM +0300, George Danchev wrote: * I don't really see the point in providing both ara and ara-byte (and idem for xara-gtk). You could simply provide an ara package which contains native ara on archs which support that and bytecode else. Right. Agreed.

Re: both native bytecode

2004-10-27 Thread Sven Luther
On Wed, Oct 27, 2004 at 10:25:29PM +0200, Samuel Mimram wrote: Hi, * You should not build-depend on ocaml-native-compilers since it is not available on some non-native archs. You could depend on ocaml-best-compilers but anyway your app is, I guess, small enough not to require native