fdopen / opam-repository-mingw

windows package repository for OPAM (mingw and msvc)
https://fdopen.github.io/opam-repository-mingw/
Creative Commons Zero v1.0 Universal
96 stars 33 forks source link

Why was my package marked as unavailable on windows? #101

Closed phated closed 2 years ago

phated commented 2 years ago

Ref https://github.com/fdopen/opam-repository-mingw/commit/c3156f00354525d19c312614b812933799575f00

I put a lot of time into ensuring libbinaryen can be built on windows. You can check our Opam CI run: https://github.com/grain-lang/libbinaryen/runs/4169764338?check_suite_focus=true

We are specifically building this package to be compatible with all OS & architectures.

fdopen commented 2 years ago

It doesn't work with the cmake shipped by cygwin (no proper configuration for cross-compiling), it only works on the Opam CI because another version of cmake is picked up.

phated commented 2 years ago

Ah, interesting. I didn't know that. I'm not too familiar with this stack—is that something I can fix in my dune file?

phated commented 2 years ago

This was solved by https://github.com/grain-lang/libbinaryen/pull/34