Skip to content
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

Update windows compilers #9

Closed
h-vetinari opened this issue Feb 4, 2024 · 2 comments · Fixed by #10
Closed

Update windows compilers #9

h-vetinari opened this issue Feb 4, 2024 · 2 comments · Fixed by #10

Comments

@h-vetinari
Copy link
Member

Hey all

This feedstock is directly specifying vs2017_win-64 as a dependency,

requirements:
build:
- {{ compiler('cxx') }} # [not win]
- {{ compiler('c') }} # [not win]
- vs2017_win-64 # [win64]

but should just rely on the {{ compiler('c') }} function to provide the correct compilers on windows. In particular, conda-forge has moved on to vs2019 as the default compiler a while ago already.

If you think you need vs2017, please let us know why (generally vs2019 and vs2022 should be fully compatible). If it's really necessary, please use the dedicated mechanism in conda_build_config.yaml for that, i.e.

c_compiler:     # [win]
  - vs2017      # [win]
cxx_compiler:   # [win]
  - vs2017      # [win]

as opposed to specifying it in meta.yaml directly.

@traversaro
Copy link
Contributor

I think the direct specification of vs2017 is a leftover from the past, let's see if just removing it works fine.

@h-vetinari
Copy link
Member Author

Thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants