On Wed, Feb 12, 2025 at 06:35:29PM -0500, Thomas Frohwein wrote:
On Wed, 12 Feb 2025 21:36:55 +0100
Christopher Zimmermann <chr...@openbsd.org> wrote:
Hi Sebastien,
the opam module looks great and will be very useful. Thanks a lot for
creating it! The slipshow port looks fine, too.
Sadly I did not find time to test it yet. What I'm especially
concerned about are non-native archs. Since I don't own any anymore,
I usually edit /usr/ports/infrastructure/mk/arch-defines.de, then
rebuild and install the ocaml and dependent ports bytecode-only.
Can we tackle the problem of non-native archs or non-bytecode
dependencies in-tree? It seems better to bring in new ports and see
what needs to be adjusted than to stall on this... Of course if someone
can/wants to test on non-amd64 all the better, but even then I think
tweaks to fix the module to support other arches are easier to add
in-tree.
If you add ONLY_FOR_ARCHS=${OCAML_NATIVE_DYNLINK_ARCHS}, then ok chrisz@
But please do try and test non-native builds. Clearing
OCAML_NATIVE_ARCHS and OCAML_NATIVE_DYNLINK_ARCHS in
/usr/ports/infrastructure/mk/arch-defines.mk will allow you to build all
ocaml ports bytecode only on any architecture.
Christopher