tech-pkg archive

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

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


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
BUILDLINK_ABI_DEPENDS.ocaml+=  ocaml>=3.08.2

or just leave it requiring 3.12.0nb2 globally?


Home | Main Index | Thread Index | Old Index