conda-forge / eccodes-feedstock

A conda-smithy repository for eccodes.
BSD 3-Clause "New" or "Revised" License
4 stars 18 forks source link

MinGW build? #118

Open nawendt opened 3 years ago

nawendt commented 3 years ago

Given some of the changes made in eccodes recently (see 2.19.0 changelog) it would seem that either ECMWF or another user is interested in getting it to build with the MinGW toolchain. I've tried off and on to make this happen. The library itself does not seem too difficult to compile, but the tools can be more of a challenge with getting the static links to work out. My main issue was always getting all the tests to pass. I am not experienced enough in porting to MinGW to be sure I am making the right changes. I'd be happy to help get this going since I have an R package that could use a MinGW-built library on conda. I'd probably need some pointers to make sure I'm patching correctly as well as with the recipe.

kynan commented 3 years ago

@StephanSiemen @shahramn @iainrussell

shahramn commented 3 years ago

Is this on a 32bit architecture?

nawendt commented 3 years ago

No. That would not be my plan, anyway.

nawendt commented 2 years ago

It seems that someone has created the appropriate patches here: https://github.com/msys2/MINGW-packages/tree/18bb9daebb1328e9a43684cf3e9e341c5ab060e0/mingw-w64-eccodes.