-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSVC/Flang support (Windows) #56
Conversation
…da-forge-pinning 2020.01.28
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
It looks like the way OpenBLAS handles this is forcing the use of clang: https://github.com/conda-forge/openblas-feedstock/blob/631acd1244709ed8872494b1d40d0195b4049e4f/recipe/bld.bat Specifically, OpenBLAS forces The inability to use the MSVC compiler is possibly related to flang-compiler/flang-driver#75 I'll test this, but I think it's fine to use Clang here to build shared libraries while downstream uses MSVC. Local testing appears promising. |
…da-forge-pinning 2020.02.12
This is ready for review. |
It's not MSVC that crashes, it's CMake that crashes. See https://github.com/conda-forge/pymdi-feedstock/blob/c620ef2d8069301a194aef0fe41658ac4568fcd8/recipe/bld.bat#L8-L11 |
Any comments from the feedstock maintainers? |
I'd be interested in those using downstream packages to try this packaging of mumps. I packaged this on the pycalphad anaconda.org channel, and while it mostly works, there seems to be a few downstream test failures. The mumps tests themselves seem to pass without a problem, so I'm not sure if it's a downstream issue. (This was never an issue with the MinGW-based builds.) For me the dependency chain looks like I'm still investigating, but I wanted to give a heads up to other maintainers in case they want to test against their own packages. |
I don't have any relevant knowledge of windows builds, so I'd just have to trust you, but it looks AOK to me. I'd like to let @jbweston weight in, but I'm also okay merging this if we don't get any negative feedback soon. |
Shall this be merged? |
By the way, I investigated the downstream test failures and confirmed the exact same ipopt test failures when using the (current) MinGW-based conda-forge mumps. I still don't know what's causing the downstream failures, but I believe this is safe to merge. |
@conda-forge/mumps Can an owner of this repo approve and merge this PR? Seems like there aren't any objections. |
I know too little about Windows builds to make a good judgement. However, if no one has objections I will merge tomorrow ;) |
Thanks! |
It looks like the build on master failed. |
@conda-forge-admin please rerender |
Checklist
conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)This PR switches the Windows build over to the newer compiler infrastructure using MSVC and Flang, retiring the MinGW build. According to a reverse dependency analysis, the only feedstock which will be affected is ipopt (and I have ongoing work to address that in conda-forge/ipopt-feedstock#34).