tech-pkg archive

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

Re: adding a minimum ocaml compiler requirement to unison: how?


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.

Now, I 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 wanted it to depend on ocaml>=3.12.0nb2

Should I do this architecture-dependent:

.if (${MACHINE_ARCH} == "arm")
BUILDLINK_ABI_DEPENDS.ocaml+=  ocaml>=3.12.0nb2
BUILDLINK_ABI_DEPENDS.ocaml+=  ocaml>=3.08.2

or just require 3.12.0nb2 globally?


Home | Main Index | Thread Index | Old Index