Add cuda_compiler to zip_keys#4407
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 ( |
|
cc @conda-forge/core |
isuruf
left a comment
There was a problem hiding this comment.
You need to fix the cuda migrators too
048b189 to
19a2e87
Compare
|
Good point. Those should fixed now. Please take another look and let me know if anything else is needed |
| cuda_compiler: # [linux64 or win] | ||
| - nvcc # [linux64 or win] |
There was a problem hiding this comment.
| cuda_compiler: # [linux64 or win] | |
| - nvcc # [linux64 or win] | |
| cuda_compiler: | |
| - nvcc # [linux or win] |
There was a problem hiding this comment.
This was changed in response to this suggestion above ( #4407 (comment) )
Could you please share a bit more about why we want to revert that?
Should add the CUDA arch migrator now contains this key with appropriate length
There was a problem hiding this comment.
You are supposed to only change that for Line 46 and below.
There was a problem hiding this comment.
The selectors used should match that of cuda_compiler_version
There was a problem hiding this comment.
Agreed. Had another question about that below
There was a problem hiding this comment.
Sounds like we were ok with the suggestion below. So committed that
That said, if I'm still missing something here, please let me know
|
Can you check that this works in an existing feedstock locally by passing |
|
Yep, submitted PR ( conda-forge/ucx-split-feedstock#121 ) with the result of that change Should add the CUDA arch migrator changes were needed as well |
|
Thanks Isuru! 🙏 |
|
Tested also in PR ( conda-forge/arrow-cpp-feedstock#1038 ) to see if |
|
If anything comes up, please feel free to ping me and I will take a look 🙂 |
Adds
cuda_compilertozip_keysalongsidecuda_compiler_version. This is needed as part of the move to usingcuda-nvcc_{{ target_platform }}in the future (as opposed tonvcc_{{ target_platform }}). Though for now this still usesnvcc_{{ target_platform }}in all cases (merely providing a place to addcuda-nvcc_{{ target_platform }}later).xref: #4400
Checklist
0(if the version changed)conda-smithy(Use the phrase@conda-forge-admin, please rerenderin a comment in this PR for automated rerendering)