这是indexloc提供的服务,不要输入任何密码
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
3 changes: 3 additions & 0 deletions recipes/cuda-cuobjdump/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if not exist %PREFIX% mkdir %PREFIX%

move bin\* %LIBRARY_BIN%
17 changes: 17 additions & 0 deletions recipes/cuda-cuobjdump/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

# Install to conda style directories
[[ -d lib64 ]] && mv lib64 lib

[[ ${target_platform} == "linux-64" ]] && targetsDir="targets/x86_64-linux"
[[ ${target_platform} == "linux-ppc64le" ]] && targetsDir="targets/ppc64le-linux"
[[ ${target_platform} == "linux-aarch64" ]] && targetsDir="targets/sbsa-linux"

for i in `ls`; do
[[ $i == "build_env_setup.sh" ]] && continue
[[ $i == "conda_build.sh" ]] && continue
[[ $i == "metadata_conda_debug.yaml" ]] && continue

# bin installed in PREFIX
cp -rv $i ${PREFIX}
done
53 changes: 53 additions & 0 deletions recipes/cuda-cuobjdump/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% set name = "cuda-cuobjdump" %}
{% set version = "12.0.76" %}
{% set cuda_version = "12.0" %}
{% set platform = "linux-x86_64" %} # [linux64]
{% set platform = "linux-ppc64le" %} # [ppc64le]
{% set platform = "linux-sbsa" %} # [aarch64]
{% set platform = "windows-x86_64" %} # [win]
{% set extension = "tar.xz" %} # [not win]
{% set extension = "zip" %} # [win]

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

source:
url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_cuobjdump/{{ platform }}/cuda_cuobjdump-{{ platform }}-{{ version }}-archive.{{ extension }}
sha256: c2b627534d8eedff86b50bbf13c043a3c9a01a048fa6aa40678be5548c96d2a9 # [linux64]
sha256: 6b57dcc8a448068f0bd6a3c109f7dfbf96725f60c260a122a2c818f9cbe5b81c # [ppc64le]
sha256: 30744ab5f7ae24d2265bd5167d750907abb2d2f6f62922aeab1fac5aa4030eca # [aarch64]
sha256: 00688ad84b04df7e6a39e6d4d5fb29fda42d36bdf7e3a432c332ebafbed6fb90 # [win]

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

requirements:
build:
- {{ compiler("c") }}
- {{ compiler("cxx") }}
host:
- cuda-version {{ cuda_version }}
run:
- {{ pin_compatible("cuda-version", max_pin="x.x") }}

test:
commands:
- test -f $PREFIX/bin/cuobjdump # [linux]
- if not exist %LIBRARY_BIN%\\cuobjdump.exe exit 1 # [win]

about:
home: https://developer.nvidia.com/cuda-toolkit
license_file: LICENSE
license: LicenseRef-NVIDIA-End-User-License-Agreement
license_url: https://docs.nvidia.com/cuda/eula/index.html
summary: Extracts information from CUDA binary files
description: |
Extracts information from CUDA binary files and presents them in human
readable format.
doc_url: https://docs.nvidia.com/cuda/index.html

extra:
recipe-maintainers:
- adibbley
5 changes: 5 additions & 0 deletions recipes/cuda-cuxxfilt/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
if not exist %PREFIX% mkdir %PREFIX%

move lib\x64\* %LIBRARY_LIB%
move bin\* %LIBRARY_BIN%
move include\* %LIBRARY_INC%
23 changes: 23 additions & 0 deletions recipes/cuda-cuxxfilt/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

# Install to conda style directories
[[ -d lib64 ]] && mv lib64 lib

[[ ${target_platform} == "linux-64" ]] && targetsDir="targets/x86_64-linux"
[[ ${target_platform} == "linux-ppc64le" ]] && targetsDir="targets/ppc64le-linux"
[[ ${target_platform} == "linux-aarch64" ]] && targetsDir="targets/sbsa-linux"

for i in `ls`; do
[[ $i == "build_env_setup.sh" ]] && continue
[[ $i == "conda_build.sh" ]] && continue
[[ $i == "metadata_conda_debug.yaml" ]] && continue
if [[ $i == "lib" ]] || [[ $i == "include" ]]; then
# Headers and libraries are installed to targetsDir
mkdir -p ${PREFIX}/${targetsDir}
mkdir -p ${PREFIX}/$i
cp -rv $i ${PREFIX}/${targetsDir}
else
# bin installed in PREFIX
cp -rv $i ${PREFIX}
fi
done
63 changes: 63 additions & 0 deletions recipes/cuda-cuxxfilt/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{% set name = "cuda-cuxxfilt" %}
{% set version = "12.0.76" %}
{% set cuda_version = "12.0" %}
{% set platform = "linux-x86_64" %} # [linux64]
{% set platform = "linux-ppc64le" %} # [ppc64le]
{% set platform = "linux-sbsa" %} # [aarch64]
{% set platform = "windows-x86_64" %} # [win]
{% set target_name = "x86_64-linux" %} # [linux64]
{% set target_name = "ppc64le-linux" %} # [ppc64le]
{% set target_name = "sbsa-linux" %} # [aarch64]
{% set target_name = "x64" %} # [win]
{% set extension = "tar.xz" %} # [not win]
{% set extension = "zip" %} # [win]

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

source:
url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_cuxxfilt/{{ platform }}/cuda_cuxxfilt-{{ platform }}-{{ version }}-archive.{{ extension }}
sha256: 363502e0743a21f487bac7ebd63ef8dba6cf11a2b16cd82149e0cecc83c24c34 # [linux64]
sha256: bfd38cadc3066cf28366722e15bd85c298cd7f4ebe4c7852a4149ba2a6b84d2d # [ppc64le]
sha256: 2f992cc3dabce111cb93caabb599caa868797fee6b37ff53676fadce36701e6f # [aarch64]
sha256: 0d6276d4a49e7e394b7f8ee150bb6d538297334c7d6b3d1266fa29311ba933f4 # [win]

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

requirements:
build:
- {{ compiler("c") }}
- {{ compiler("cxx") }}
host:
- cuda-version {{ cuda_version }}
run:
- {{ pin_compatible("cuda-version", max_pin="x.x") }}

test:
commands:
- test -f $PREFIX/bin/cu++filt # [linux]
- test -f $PREFIX/targets/{{ target_name }}/include/nv_decode.h # [linux]
- test -f $PREFIX/targets/{{ target_name }}/lib/libcufilt.a # [linux]
- if not exist %LIBRARY_BIN%\\cu++filt.exe exit 1 # [win]
- if not exist %LIBRARY_INC%\\nv_decode.h exit 1 # [win]
- if not exist %LIBRARY_LIB%\\cufilt.lib exit 1 # [win]

about:
home: https://developer.nvidia.com/cuda-toolkit
license_file: LICENSE
license: LicenseRef-NVIDIA-End-User-License-Agreement
license_url: https://docs.nvidia.com/cuda/eula/index.html
summary: cu++filt decodes low-level identifiers that have been mangled by CUDA C++
description: |
cu++filt decodes (demangles) low-level identifiers that have been mangled by
CUDA C++ into user readable names. For every input alphanumeric word, the
output of cu++filt is either the demangled name if the name decodes to a CUDA
C++ name, or the original name itself.
doc_url: https://docs.nvidia.com/cuda/index.html

extra:
recipe-maintainers:
- adibbley
3 changes: 3 additions & 0 deletions recipes/cuda-nvprune/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if not exist %PREFIX% mkdir %PREFIX%

move bin\* %LIBRARY_BIN%
17 changes: 17 additions & 0 deletions recipes/cuda-nvprune/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

# Install to conda style directories
[[ -d lib64 ]] && mv lib64 lib

[[ ${target_platform} == "linux-64" ]] && targetsDir="targets/x86_64-linux"
[[ ${target_platform} == "linux-ppc64le" ]] && targetsDir="targets/ppc64le-linux"
[[ ${target_platform} == "linux-aarch64" ]] && targetsDir="targets/sbsa-linux"

for i in `ls`; do
[[ $i == "build_env_setup.sh" ]] && continue
[[ $i == "conda_build.sh" ]] && continue
[[ $i == "metadata_conda_debug.yaml" ]] && continue

# bin installed in PREFIX
cp -rv $i ${PREFIX}
done
53 changes: 53 additions & 0 deletions recipes/cuda-nvprune/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% set name = "cuda-nvprune" %}
{% set version = "12.0.76" %}
{% set cuda_version = "12.0" %}
{% set platform = "linux-x86_64" %} # [linux64]
{% set platform = "linux-ppc64le" %} # [ppc64le]
{% set platform = "linux-sbsa" %} # [aarch64]
{% set platform = "windows-x86_64" %} # [win]
{% set extension = "tar.xz" %} # [not win]
{% set extension = "zip" %} # [win]

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

source:
url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvprune/{{ platform }}/cuda_nvprune-{{ platform }}-{{ version }}-archive.{{ extension }}
sha256: 51888da85f2a77b09d8e430c764cc5ef06d178dc6acec129e88130e6cb232978 # [linux64]
sha256: b1f7f8eeccaa9c0bf98fd4b31f182b7677ab692da3e9010d43a9157d18898e50 # [ppc64le]
sha256: 39eff5df71d45112b606f0f2d03b6be7981c147b941ce7b3f530d24e07c7bc77 # [aarch64]
sha256: 38860f15bda7bceaf6aff5d088b6cc50260d16036c4c30ec7f3a9d0c3edc3cba # [win]

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

requirements:
build:
- {{ compiler("c") }}
- {{ compiler("cxx") }}
host:
- cuda-version {{ cuda_version }}
run:
- {{ pin_compatible("cuda-version", max_pin="x.x") }}

test:
commands:
- test -f $PREFIX/bin/nvprune # [unix]
- if not exist %LIBRARY_BIN%\\nvprune.exe exit 1 # [win]

about:
home: https://developer.nvidia.com/cuda-toolkit
license_file: LICENSE
license: LicenseRef-NVIDIA-End-User-License-Agreement
license_url: https://docs.nvidia.com/cuda/eula/index.html
summary: Prunes host object files and libraries to only contain device code
description: |
Prunes host object files and libraries to only contain device code for the
specified targets.
doc_url: https://docs.nvidia.com/cuda/index.html

extra:
recipe-maintainers:
- adibbley