Skip to content

Commit

Permalink
add cross-compatible cuda migrator for aarch/ppc
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jan 30, 2023
1 parent aef11cd commit f0ba50f
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .ci_support/migrations/cuda_112_ppc64le_aarch64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
migrator_ts: 1645421738
__migrator:
kind:
version
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
wait_for_migrators:
- aarch64 and ppc64le addition
exclude_pinned_pkgs: False
use_local: true
commit_message: "Rebuild for cuda for ppc64le and aarch64"

arm_variant_type: # [aarch64]
- sbsa # [aarch64]

c_compiler_version: # [ppc64le or aarch64]
- 10 # [ppc64le or aarch64]
cxx_compiler_version: # [ppc64le or aarch64]
- 10 # [ppc64le or aarch64]
fortran_compiler_version: # [ppc64le or aarch64]
- 10 # [ppc64le or aarch64]

cuda_compiler_version: # [ppc64le or aarch64]
- 11.2 # [ppc64le or aarch64]

cudnn: # [ppc64le or aarch64]
- 8 # [ppc64le or aarch64]

cdt_name: # [ppc64le or aarch64]
- cos7 # [ppc64le or aarch64]

docker_image: # [os.environ.get("BUILD_PLATFORM", "").startswith("linux") and (ppc64le or aarch64)]
# 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"]

0 comments on commit f0ba50f

Please sign in to comment.