Skip to content

Commit

Permalink
Merge pull request #23178 from adibbley/cuda
Browse files Browse the repository at this point in the history
Add cuda metapackage recipes
  • Loading branch information
jakirkham authored Oct 10, 2023
2 parents 950e71b + b7692a9 commit b85ed40
Show file tree
Hide file tree
Showing 10 changed files with 283 additions and 0 deletions.
17 changes: 17 additions & 0 deletions recipes/cuda-command-line-tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# CUDA Metapackage Versioning

The version of a CUDA Toolkit metapackage corresponds to the CUDA release
label. For example, the release label of CUDA 12.0 Update 1 is 12.0.1. This
does not include the `cuda-version` metapackage which is versioned only by the
MAJOR.MINOR of a release label.

# Metapackage dependency versions

Installing a metapackage at a specific version should install all dependent
packages at the exact version from that CUDA release.

# Metapackage dependencies on cuda-version

Metapackages do not directly constrain to a specific `cuda-version` as their
version is more precise. Dependent packages will still install an appropriate
`cuda-version`.
40 changes: 40 additions & 0 deletions recipes/cuda-command-line-tools/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{% set version = "12.0.0" %}

package:
name: cuda-command-line-tools
version: {{ version }}

source:
url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_documentation/LICENSE.txt
sha256: 5db25d4fd138013b563f9a3d1d87f7de7df1dac014fd4cccdfbb3435a5cff761

build:
number: 0
skip: true # [osx or win]

requirements:
run:
- cuda-cupti-dev 12.0.90
- cuda-gdb 12.0.90
- cuda-nvdisasm 12.0.76
- cuda-nvprof 12.0.90
- cuda-nvtx 12.0.76
- cuda-sanitizer-api 12.0.90

test:
commands:
- exit 0

about:
home: https://developer.nvidia.com/cuda-toolkit
license_file: LICENSE.txt
license: LicenseRef-NVIDIA-End-User-License-Agreement
license_url: https://docs.nvidia.com/cuda/eula/index.html
summary: Meta-package containing the command line tools to debug CUDA applications
description: |
Meta-package containing the command line tools to debug CUDA applications
doc_url: https://docs.nvidia.com/cuda/index.html

extra:
recipe-maintainers:
- adibbley
17 changes: 17 additions & 0 deletions recipes/cuda-toolkit/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# CUDA Metapackage Versioning

The version of a CUDA Toolkit metapackage corresponds to the CUDA release
label. For example, the release label of CUDA 12.0 Update 1 is 12.0.1. This
does not include the `cuda-version` metapackage which is versioned only by the
MAJOR.MINOR of a release label.

# Metapackage dependency versions

Installing a metapackage at a specific version should install all dependent
packages at the exact version from that CUDA release.

# Metapackage dependencies on cuda-version

Metapackages do not directly constrain to a specific `cuda-version` as their
version is more precise. Dependent packages will still install an appropriate
`cuda-version`.
39 changes: 39 additions & 0 deletions recipes/cuda-toolkit/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{% set version = "12.0.0" %}

package:
name: cuda-toolkit
version: {{ version }}

source:
url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_documentation/LICENSE.txt
sha256: 5db25d4fd138013b563f9a3d1d87f7de7df1dac014fd4cccdfbb3435a5cff761

build:
number: 0
skip: true # [osx or win]

requirements:
run:
- cuda-compiler {{ version }}
- cuda-libraries {{ version }}
- cuda-libraries-dev {{ version }}
- cuda-nvml-dev 12.0.76
- cuda-tools {{ version }}

test:
commands:
- exit 0

about:
home: https://developer.nvidia.com/cuda-toolkit
license_file: LICENSE.txt
license: LicenseRef-NVIDIA-End-User-License-Agreement
license_url: https://docs.nvidia.com/cuda/eula/index.html
summary: Meta-package containing all toolkit packages for CUDA development
description: |
Meta-package containing all toolkit packages for CUDA development
doc_url: https://docs.nvidia.com/cuda/index.html

extra:
recipe-maintainers:
- adibbley
17 changes: 17 additions & 0 deletions recipes/cuda-tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# CUDA Metapackage Versioning

The version of a CUDA Toolkit metapackage corresponds to the CUDA release
label. For example, the release label of CUDA 12.0 Update 1 is 12.0.1. This
does not include the `cuda-version` metapackage which is versioned only by the
MAJOR.MINOR of a release label.

# Metapackage dependency versions

Installing a metapackage at a specific version should install all dependent
packages at the exact version from that CUDA release.

# Metapackage dependencies on cuda-version

Metapackages do not directly constrain to a specific `cuda-version` as their
version is more precise. Dependent packages will still install an appropriate
`cuda-version`.
37 changes: 37 additions & 0 deletions recipes/cuda-tools/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{% set version = "12.0.0" %}

package:
name: cuda-tools
version: {{ version }}

source:
url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_documentation/LICENSE.txt
sha256: 5db25d4fd138013b563f9a3d1d87f7de7df1dac014fd4cccdfbb3435a5cff761

build:
number: 0
skip: true # [osx or win]

requirements:
run:
- cuda-command-line-tools {{ version }}
- cuda-visual-tools {{ version }}
- gds-tools 1.5.0.59

test:
commands:
- exit 0

about:
home: https://developer.nvidia.com/cuda-toolkit
license_file: LICENSE.txt
license: LicenseRef-NVIDIA-End-User-License-Agreement
license_url: https://docs.nvidia.com/cuda/eula/index.html
summary: Meta-package containing all CUDA command line and visual tools.
description: |
Meta-package containing all CUDA command line and visual tools.
doc_url: https://docs.nvidia.com/cuda/index.html

extra:
recipe-maintainers:
- adibbley
17 changes: 17 additions & 0 deletions recipes/cuda-visual-tools/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# CUDA Metapackage Versioning

The version of a CUDA Toolkit metapackage corresponds to the CUDA release
label. For example, the release label of CUDA 12.0 Update 1 is 12.0.1. This
does not include the `cuda-version` metapackage which is versioned only by the
MAJOR.MINOR of a release label.

# Metapackage dependency versions

Installing a metapackage at a specific version should install all dependent
packages at the exact version from that CUDA release.

# Metapackage dependencies on cuda-version

Metapackages do not directly constrain to a specific `cuda-version` as their
version is more precise. Dependent packages will still install an appropriate
`cuda-version`.
39 changes: 39 additions & 0 deletions recipes/cuda-visual-tools/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{% set version = "12.0.0" %}

package:
name: cuda-visual-tools
version: {{ version }}

source:
url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_documentation/LICENSE.txt
sha256: 5db25d4fd138013b563f9a3d1d87f7de7df1dac014fd4cccdfbb3435a5cff761

build:
number: 0
skip: true # [osx or win]

requirements:
run:
- cuda-nsight 12.0.78
- nsight-compute 2022.4.0.15
- cuda-nvml-dev 12.0.76
- cuda-nvvp 12.0.90
- cuda-libraries-dev {{ version }}

test:
commands:
- exit 0

about:
home: https://developer.nvidia.com/cuda-toolkit
license_file: LICENSE.txt
license: LicenseRef-NVIDIA-End-User-License-Agreement
license_url: https://docs.nvidia.com/cuda/eula/index.html
summary: Contains the visual tools to debug and profile CUDA applications
description: |
Contains the visual tools to debug and profile CUDA applications
doc_url: https://docs.nvidia.com/cuda/index.html

extra:
recipe-maintainers:
- adibbley
17 changes: 17 additions & 0 deletions recipes/cuda/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# CUDA Metapackage Versioning

The version of a CUDA Toolkit metapackage corresponds to the CUDA release
label. For example, the release label of CUDA 12.0 Update 1 is 12.0.1. This
does not include the `cuda-version` metapackage which is versioned only by the
MAJOR.MINOR of a release label.

# Metapackage dependency versions

Installing a metapackage at a specific version should install all dependent
packages at the exact version from that CUDA release.

# Metapackage dependencies on cuda-version

Metapackages do not directly constrain to a specific `cuda-version` as their
version is more precise. Dependent packages will still install an appropriate
`cuda-version`.
43 changes: 43 additions & 0 deletions recipes/cuda/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{% set version = "12.0.0" %}

package:
name: cuda
version: {{ version }}

source:
url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_documentation/LICENSE.txt
sha256: 5db25d4fd138013b563f9a3d1d87f7de7df1dac014fd4cccdfbb3435a5cff761

build:
number: 0
skip: true # [osx or win]

requirements:
run:
- cuda-runtime {{ version }}
- cuda-toolkit {{ version }}

test:
commands:
- exit 0

about:
home: https://developer.nvidia.com/cuda-toolkit
license_file: LICENSE.txt
license: LicenseRef-NVIDIA-End-User-License-Agreement
license_url: https://docs.nvidia.com/cuda/eula/index.html
summary: Meta-package containing all the available packages for native CUDA development
description: |
Meta-package containing all the available packages required for native CUDA
development
doc_url: https://docs.nvidia.com/cuda/index.html

extra:
recipe-maintainers:
- adibbley
- bdice
- jakirkham
- kmittman
- leofang
- robertmaynard
- vyasr

0 comments on commit b85ed40

Please sign in to comment.