Skip to content

Commit

Permalink
Merge pull request #35 from m3vaz/main
Browse files Browse the repository at this point in the history
Updating to 11.8.2
  • Loading branch information
jakirkham authored Jun 2, 2023
2 parents 90a3d3b + 5491750 commit 1e20277
Show file tree
Hide file tree
Showing 20 changed files with 44 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .ci_support/linux_64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
1 change: 1 addition & 0 deletions .ci_support/linux_64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
1 change: 1 addition & 0 deletions .ci_support/linux_64_python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
1 change: 1 addition & 0 deletions .ci_support/linux_64_python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
1 change: 1 addition & 0 deletions .ci_support/linux_aarch64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
1 change: 1 addition & 0 deletions .ci_support/linux_aarch64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
1 change: 1 addition & 0 deletions .ci_support/linux_aarch64_python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
1 change: 1 addition & 0 deletions .ci_support/linux_aarch64_python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
1 change: 1 addition & 0 deletions .ci_support/linux_ppc64le_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
1 change: 1 addition & 0 deletions .ci_support/linux_ppc64le_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
1 change: 1 addition & 0 deletions .ci_support/linux_ppc64le_python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
1 change: 1 addition & 0 deletions .ci_support/linux_ppc64le_python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ target_platform:
zip_keys:
- - c_compiler_version
- cxx_compiler_version
- cuda_compiler
- cuda_compiler_version
- cdt_name
- docker_image
3 changes: 3 additions & 0 deletions .ci_support/win_64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ python:
- 3.10.* *_cpython
target_platform:
- win-64
zip_keys:
- - cuda_compiler
- cuda_compiler_version
3 changes: 3 additions & 0 deletions .ci_support/win_64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ python:
- 3.11.* *_cpython
target_platform:
- win-64
zip_keys:
- - cuda_compiler
- cuda_compiler_version
3 changes: 3 additions & 0 deletions .ci_support/win_64_python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ python:
- 3.8.* *_cpython
target_platform:
- win-64
zip_keys:
- - cuda_compiler
- cuda_compiler_version
3 changes: 3 additions & 0 deletions .ci_support/win_64_python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ python:
- 3.9.* *_cpython
target_platform:
- win-64
zip_keys:
- - cuda_compiler
- cuda_compiler_version
4 changes: 2 additions & 2 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
{% set name = "cuda-python" %}
{% set version = "11.8.1" %}
{% set major_version = version.split(".")[0] %}
{% set minor_version = version.split(".")[1] %}
{% set patch_version = version.split(".")[2] %}
{% set version = "11.8.2" %}
{% set major_version = version.split(".")[0]|int %}
{% set minor_version = version.split(".")[1]|int %}
{% set patch_version = version.split(".")[2]|int %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://github.com/NVIDIA/cuda-python/archive/refs/tags/v{{ version }}.tar.gz
sha256: ef54ada5d607387f59950cfb3c3852e5816b62824402d289227b8066e8353489
sha256: bfb36d314065b695decd23935ab008630cc956cbcd428d520106568fdeb7e644

build:
number: 2
number: 0
skip: true # [py<37 or osx or cuda_compiler_version != "11.8"]
script:
- {{ PYTHON }} -m pip install . --no-deps -vv
run_exports:
- cuda-python >=11.7.1,<12 # we need this because CUDA Python 11.7.1 has ABI breaks, see conda-forge/cuda-python-feedstock#15
ignore_run_exports:
- cudatoolkit
ignore_run_exports_from:
- {{ compiler('cuda') }}

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }}
- sysroot_linux-64 2.17 # [linux64]
- sysroot_{{ target_platform }} 2.17 # [linux]
host:
- setuptools
- cython
- python
- pyclibrary
- pip
- cuda-version {{ major_version }}
run:
- python
- {{ pin_compatible('cudatoolkit', min_pin='x', max_pin='x') }}
- {{ pin_compatible('cuda-version', min_pin='x', max_pin='x') }}
- cudatoolkit
- pywin32 # [win]
run_constrained:
- __glibc >=2.17 # [linux]

test:
imports:
Expand Down

0 comments on commit 1e20277

Please sign in to comment.