tech-pkg archive

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

Re: Arch-depedently adding a minimum ocaml compiler requirement to unison:



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On 04.08.2011 12:12, Ignatios Souvatzis wrote:
> Hello,
> 
> background: a while ago, I patched the native ARM backend of lang/ocaml
> so that code generated by ocamlopt would not SIGILL on thumbless CPUs.
> 
> I've wanted to teach net/unison to use the native compiler also 
> for arm. To make sure that only a sufficiently patched compiler is
> used, I made it depend on ocaml>=3.12.0nb2
> 
> Should I change this to be architecture-dependent:
> 
> .if (${MACHINE_ARCH} == "arm")
> BUILDLINK_ABI_DEPENDS.ocaml+=  ocaml>=3.12.0nb2
> .else
> BUILDLINK_ABI_DEPENDS.ocaml+=  ocaml>=3.08.2
> .endif
> 
> or just leave it requiring 3.12.0nb2 globally?

According to the manual of unison : "You'll need the Objective Caml
compiler (version 3.11.2 or later)" in
http://www.cis.upenn.edu/~bcpierce/unison/download/releases/stable/unison-manual.html#build-unix

So I guess requiring 3.12.0nb2 globally may be better.

Regards,
Nicolas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (NetBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk48/RsACgkQ3ylMjdXeRSCiCACgoAjyxLKFq4p7KPI0vYkz4BXT
uZsAniIXMdrEV9ZpiBIArmm9YNWX/vPx
=TVhd
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index