-
-
Notifications
You must be signed in to change notification settings - Fork 53
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 CUDA 11.8 cross-compilation support #261
Merged
github-actions
merged 8 commits into
conda-forge:main
from
jakirkham-feedstocks:add_cuda118_arch_cross
Aug 31, 2023
Merged
Changes from 3 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
c451d0a
Add CUDA 11.8 cross-compilation support
jakirkham 7678c16
Add CUDA 11.8 migrator
jakirkham 86b9449
Enable using local CUDA 11.8 migrator
jakirkham 8714682
MNT: Re-rendered with conda-build 3.24.0, conda-smithy 3.24.1, and co…
jakirkham ed1113a
Tweak RPM path to use `$CUDA_COMPILER_VERSION`
jakirkham e1165f1
Merge branch 'main' into add_cuda118_arch_cross
jakirkham 0d8bb1c
free up disk space
h-vetinari c65ca87
MNT: Re-rendered with conda-build 3.26.1, conda-smithy 3.24.1, and co…
h-vetinari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
migrator_ts: 1692828152 | ||
__migrator: | ||
kind: | ||
version | ||
use_local: true # TODO: Remove this line after completing testing | ||
migration_number: | ||
1 | ||
build_number: | ||
1 | ||
paused: false | ||
override_cbc_keys: | ||
- cuda_compiler_stub | ||
operation: key_add | ||
check_solvable: false | ||
primary_key: cuda_compiler_version | ||
ordering: | ||
cxx_compiler_version: | ||
- 9 | ||
- 8 | ||
- 7 | ||
c_compiler_version: | ||
- 9 | ||
- 8 | ||
- 7 | ||
fortran_compiler_version: | ||
- 9 | ||
- 8 | ||
- 7 | ||
docker_image: | ||
- quay.io/condaforge/linux-anvil-comp7 # [os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
- quay.io/condaforge/linux-anvil-aarch64 # [os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] | ||
- quay.io/condaforge/linux-anvil-ppc64le # [os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] | ||
- quay.io/condaforge/linux-anvil-armv7l # [os.environ.get("BUILD_PLATFORM") == "linux-armv7l"] | ||
- quay.io/condaforge/linux-anvil-cuda:9.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
- quay.io/condaforge/linux-anvil-cuda:10.0 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
- quay.io/condaforge/linux-anvil-cuda:10.1 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
- quay.io/condaforge/linux-anvil-cuda:10.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
- quay.io/condaforge/linux-anvil-cuda:11.0 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
- quay.io/condaforge/linux-anvil-cuda:11.1 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
- quay.io/condaforge/linux-anvil-cuda:11.2 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
# case: native compilation (build == target) | ||
- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.2 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] | ||
- quay.io/condaforge/linux-anvil-aarch64-cuda:11.2 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] | ||
# case: cross-compilation (build != target) | ||
- quay.io/condaforge/linux-anvil-cuda:11.2 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
- quay.io/condaforge/linux-anvil-cuda:11.2 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
- quay.io/condaforge/linux-anvil-cuda:11.8 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
# case: native compilation (build == target) | ||
- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] | ||
- quay.io/condaforge/linux-anvil-aarch64-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] | ||
# case: cross-compilation (build != target) | ||
- quay.io/condaforge/linux-anvil-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
- quay.io/condaforge/linux-anvil-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
# case: non-CUDA builds | ||
- quay.io/condaforge/linux-anvil-cos7-x86_64 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
cuda_compiler_version: | ||
- None | ||
- 10.2 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- 11.0 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- 11.1 # [(linux64 or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- 11.2 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- 11.8 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- 12.0 # [(linux or win) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
commit_message: | | ||
Rebuild for CUDA 11.8 w/arch support | ||
|
||
cuda_compiler: # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- nvcc # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
|
||
cuda_compiler_version: # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- 11.8 # [(linux or win64) and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
|
||
c_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- 11 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
|
||
cxx_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- 11 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
|
||
fortran_compiler_version: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- 11 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
|
||
cdt_name: # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- cos7 # [linux and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
|
||
docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux-") and os.environ.get("CF_CUDA_ENABLED", "False") == "True"] | ||
- quay.io/condaforge/linux-anvil-cuda:11.8 # [linux64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
# case: native compilation (build == target) | ||
- quay.io/condaforge/linux-anvil-ppc64le-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-ppc64le"] | ||
- quay.io/condaforge/linux-anvil-aarch64-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-aarch64"] | ||
# case: cross-compilation (build != target) | ||
- quay.io/condaforge/linux-anvil-cuda:11.8 # [ppc64le and os.environ.get("BUILD_PLATFORM") == "linux-64"] | ||
- quay.io/condaforge/linux-anvil-cuda:11.8 # [aarch64 and os.environ.get("BUILD_PLATFORM") == "linux-64"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Not sure that we want to have the cross-compiled jobs for merging. We don't need them from the POV of the CI setup itself, just for testing the branches here in CI. I suggested adding them in #236, but never got a response.
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.
Yep no strong feelings here. Happy to keep or drop as preferred