On Wed, May 30, 2012 at 12:36:30PM +0200, Christopher Zimmermann wrote:
> Hi,
> 
> here are ports for the comprehensive OCaml foundation libraries 
> OCamlNet and Batteries Included. Batteries Included depends on Camomile 
> and regress-depends on OUnit, which are also ported.
> 
> While the ports build fine on i386. I could not test them on any
> platform without support for native-code executables like SGI or
> sparc64(?!?!). Especially Camomile and OUnit NEED TESTING an such a
> platform.

Camomile needed a patch to build on sparc64. They check whether the toolchain is
capable of building native code and then blindly build using ocamlopt anyway.
Patch inline.

I am not sure if we should be concerned by this kind of error, which i
see on both i386 and sparc64:
Fatal error: exception Failure("Broken entry: <NU>                   /x00 
<U0000> NULL (NUL)")

> I named the Batteries Included port 'ocaml-batteries', but am unsure 
> whether simple 'batteries' would be a better name.

I prefer the ocaml- prefix personally.
 
> All ports build with USE_SYSTRACE=yes. Batteries Included and OUnit 
> support regress targets, but I don't know what to do with the 
> REGRESS_LOG variable.

Sorry, where does this variable come from? I don't  see it.

As for batteries, I used this a fairly heavily (BatMap, BatList,
BatEnum, coprehensions...) for a research project. It seems to work
fine.


$OpenBSD$
--- Makefile.in.orig    Sun Jul  8 10:46:28 2012
+++ Makefile.in Sun Jul  8 10:46:35 2012
@@ -70,7 +70,7 @@ OFLAGS =  $(OOPTIONS) $(INCLUDES)
 # Generic targets
 #################
 
-all : byte $(OCAMLBEST) opt unidata unimaps charmap_data locale_data
+all : byte $(OCAMLBEST) unidata unimaps charmap_data locale_data
 
 # Build the library
 ###################

-- 
Best Regards
Edd Barrett

http://www.theunixzoo.co.uk

Reply via email to