On Mon, Dec 20, 2021 at 09:02:22PM +0200, Anil Madhavapeddy wrote:

This also looks good to me.  Is there any infrastructure in the update-plist
to hook in custom logic for OCaml?  The various cmx/cmxs/a files should
all be routed to a PFRAG.native or PFRAG.dynlink-native file and it would
be nice if that were a little more automated.

Alternatively I could just write a shell fragment if others would find it useful...

I had such a sed / sh solution several years ago.
There's just one problem: Exceptions to the rule.
Also not all .a files go to native fragments.
Some .cmo are only available on native code (compiler libs).

But maybe ask espie@. He seems to maintain ports/infrastructure/bin/update-plist.


Christopher

Reply via email to