Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .scripts/build_steps.sh

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

3 changes: 1 addition & 2 deletions LICENSE.txt

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

2 changes: 1 addition & 1 deletion azure-pipelines.yml

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

8 changes: 1 addition & 7 deletions build-locally.py

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

10 changes: 10 additions & 0 deletions recipe/build_output.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
set DIR_NAME=%PKG_NAME:-=_%
cd %DIR_NAME%
if "%DIR_NAME%"=="cuda_python" (
rem The upstream setup.py calls get_version() without dist_name,
rem so only the generic SETUPTOOLS_SCM_PRETEND_VERSION is honored.
set SETUPTOOLS_SCM_PRETEND_VERSION=%PKG_VERSION%
)
if "%DIR_NAME%"=="cuda_bindings" (
rem The upstream setup.py calls get_version() without dist_name,
rem so only the generic SETUPTOOLS_SCM_PRETEND_VERSION is honored.
set SETUPTOOLS_SCM_PRETEND_VERSION=%PKG_VERSION%
)
%PYTHON% -m pip install . --no-deps -vv
5 changes: 5 additions & 0 deletions recipe/build_output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@

DIR_NAME="$(echo $PKG_NAME | tr '-' '_')"
cd $DIR_NAME
if [[ ${DIR_NAME} == "cuda_python" || ${DIR_NAME} == "cuda_bindings" ]]; then
# The upstream setup.py calls get_version() without dist_name,
# so only the generic SETUPTOOLS_SCM_PRETEND_VERSION is honored.
export SETUPTOOLS_SCM_PRETEND_VERSION=${PKG_VERSION}
fi
$PYTHON -m pip install . --no-deps -vv
12 changes: 8 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set number = 0 %}
{% set version = "12.9.5" %}
{% set sha256 = "5210b063a74741abb86eb82f2d40e075be4e85c755208f4c92dd7cb86647415f" %}
{% set version = "12.9.6" %}
{% set sha256 = "c48d81e7ee0755c571c82b5c06614b8c4a40e8b5976536a0967705253ae45f48" %}

{% set is_freethreading = environ.get("is_freethreading", False) %}
{% set bindings_major_version = version.split(".")[0]|int %}
Expand Down Expand Up @@ -49,6 +49,7 @@ outputs:
- python {{ python_min }}.*
- pip
- setuptools
- setuptools-scm >=8
run:
- python >={{ python_min }}
- {{ pin_subpackage('cuda-bindings', max_pin='x.x') }}
Expand All @@ -67,7 +68,8 @@ outputs:
- cuda.bindings.nvrtc
- cuda.bindings.nvjitlink
- cuda.bindings.nvvm
- cuda.bindings._nvml
- cuda.bindings.nvml
- cuda.bindings.nvfatbin
commands:
- python -c "import importlib.metadata; importlib.metadata.version('cuda-python')"
about:
Expand Down Expand Up @@ -125,6 +127,7 @@ outputs:
- pyclibrary
- python
- setuptools
- setuptools-scm >=8
run:
- python
- cuda-pathfinder >=1.1.0,<2
Expand Down Expand Up @@ -174,7 +177,8 @@ outputs:
- cuda.bindings.nvrtc
- cuda.bindings.nvjitlink
- cuda.bindings.nvvm
- cuda.bindings._nvml
- cuda.bindings.nvml
- cuda.bindings.nvfatbin
about:
home: https://nvidia.github.io/cuda-python/cuda-bindings
license: LicenseRef-NVIDIA-SOFTWARE-LICENSE
Expand Down
Loading