[gegl] Add native msvc support#50978
Conversation
df09c32 to
a19b7ad
Compare
|
I also managed to get this compiling on @brunvonlope FYI |
|
I patch upstream https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/263 |
|
@talregev Hi. I am in contact with gegl maintainer to likely merge some simples patches for gegl builds cleanly with no warnings on clang-cl. Could you test on pure MSVC and tell me if it works for you too? |
First of all, I will happy to create another PR to test anything you need from gegl. Do you want with these options to test your branch? Let me know what you want to test, and if that ok what I write above. |
I think you are confused. By reading the current portfile.cmake, I see we don't "turn it off", after all that meson option does not even exist since it is code shipped inside gegl that builds fine on Linux, Android and macOS, independently of being provided by a port. I doubt some reviewer will approve chopping gegl on such unaffected platforms considering the current build limitation affects only Windows 🙃. So, to make clear, my comment was an invite to you temporarely append my patch (not to override yours, of course). My ctx patch is limited to fix ctx building (see the commit messages), so we know if the ctx build limitation will be gone (when gegl is released) than you will not need to manually remove ctx on Windows in the end, yay. If you don't want to test, since it is a bit tricky to conciliate the patches on the meson.build (even temporarily), that is fine. I can do that latter then, if it builds, revert your MR on that regard. |
|
I want to test it, I just want to understand what I am testing.
Then I will see if it compile. Let me know it that what you meant. |
|
I will create another PR and send the link to here. |
|
Your goal is that ctx will compile under msvc? |
Yes, that is what I mean: to apply the three last commits from that branch |
In order ctx will compile on native msvc, more patches is needed. I created another PR: #51105 |
0548f02 to
f4448fe
Compare
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
[gegl] Add native msvc support