-
Notifications
You must be signed in to change notification settings - Fork 46
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
Use conda compilers on Windows #1626
Conversation
...in case it isn't clear, |
Codecov Report
@@ Coverage Diff @@
## main #1626 +/- ##
==========================================
- Coverage 66.59% 66.59% -0.01%
==========================================
Files 614 614
Lines 68814 68814
Branches 9578 9578
==========================================
- Hits 45827 45825 -2
- Misses 21056 21057 +1
- Partials 1931 1932 +1 |
This is kind of here for discussion. Conda compilers were commented out ever since 89de77c, but is there more to that other than we didn't try enabling them at the time? |
I don't recall us ever really getting conda compilation working on windows, it was probably an experimental thing. Since there's not expectation of it currently working I think there's no problem with this just going in? |
No, we did have it working on dxtbx/Azure, but then the caching bug happened and that build is still disabled |
NB I did the test of a fresh
|
Not too much of a surprise then. I presumably left the compiler packages out then because they were not required. I would suggest then to revert this PR out again. Also for reference because it seems that this was forgotten some time ago: we already have a Windows build in https://github.com/dials/dials/blob/main/.azure-pipelines/windows-build.yml |
With the compiler packages installed I get version number 19.16.27045 reported for MS C/C++ compilers, without them I get version 19.28.29336. I haven't seen any difference in the end results yet though - either way fails at runtime in dxtbx NeXus code. |
It is not clear to me how the conda compiler metapackages work on Windows. When I moved my install of Visual Studio out of the way and tried to bootstrap with this change then the build failed. However I have since realised that I would probably have to uninstall Visual Studio completely to see if this can build from zero, because of the Windows Registry.
@graeme-winter, I would be quite interested to see what a
python bootstrap.py
does on your Windows machine on this branch, without attempting any install of Visual Studio first.