Skip to content

Install files for alternative ocamlfind toolchains are not installed. #4204

@rizo

Description

@rizo

I'm running into a cross-compilation related issue with opam and dune.

Currently dune has a pretty good support for cross-compilation via findlib toolchains. It correctly separates compilation artefacts for different targets. When a findlib toolchain is used with -x TOOLCHAIN, dune, in addition to producing a PKG.intsall file for the default context, will also produce a PKG-TOOLCAHIN.install file. This works perfectly!

But, the problem is that opam doesn't know about these -TOOLCHAIN.install files and only looks for PKG.install files.

Is there a way to instruct opam install to look for additional install files described above? I'm looking for a solution that does not require changes to the original package.

Might be related to: #2476.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions