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
Add config for VS2022 #46
Conversation
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 ( I do have some suggestions for making it better though... For recipe:
|
@conda-forge-admin please rerender. |
…nda-forge-pinning 2022.06.14.22.54.02
…nda-forge-pinning 2022.06.14.22.54.02
Thanks for working on this! We just realized that we would also like VS2022 for some STL features that we need for a micromamba patch in order to use the std::filesystem and not a custom implementation. |
Doesn't this address it https://github.com/conda-forge/vc-feedstock/blob/main/recipe/activate.bat#L80 ? |
No, that's when you have have the visual studio version and the vc version matching. What I'm talking about is when they don't, but you can still target the vc version requested by the user even with a newer visual studio version. |
Okay, lemme know if that activate is correct, or just push what is needed to this branch |
@isuruf does this look okay now? |
recipe/activate.bat
Outdated
@@ -91,8 +91,13 @@ IF @{year} GEQ 2019 ( | |||
echo "NEWER_VS_WITH_OLDER_VC=%NEWER_VS_WITH_OLDER_VC%" | |||
|
|||
IF "%NEWER_VS_WITH_OLDER_VC%" == "1" ( | |||
set "CMAKE_GEN=Visual Studio 16 2019" | |||
set "USE_NEW_CMAKE_GEN_SYNTAX=1" | |||
IF @{year} GEQ 2022 ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not correct. year has to be deduced from VSINSTALLDIR
which can have 2022
for @{year}=2019
or @{year}=2017
Hi! This is the friendly automated conda-forge-linting service. I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug. |
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 ( I do have some suggestions for making it better though... For recipe:
|
@conda-forge-admin, rerender |
…nda-forge-pinning 2022.08.31.16.57.19
…nda-forge-pinning 2022.10.24.04.43.29
Might want to add extra tests for the additional binaries? Like for 2019:
|
? which additional binaries are you talking about? |
MS doesn't touch I thought it was quite likely that VS2022 would have some more additional DLLs for the same reason, but if I read the logs right, no new DLLs were added after all, i.e.
should all be covered by the current tests. |
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)