Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cuda-nsight recipe #22781

Merged
merged 7 commits into from
Jun 2, 2023
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
11 changes: 11 additions & 0 deletions recipes/cuda-nsight/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

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

for i in `ls`; do
[[ $i == "build_env_setup.sh" ]] && continue
[[ $i == "conda_build.sh" ]] && continue
[[ $i == "metadata_conda_debug.yaml" ]] && continue
cp -rv $i ${PREFIX}
done
46 changes: 46 additions & 0 deletions recipes/cuda-nsight/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{% set name = "cuda-nsight" %}
{% set version = "12.0.78" %}
{% set cuda_version = "12.0" %}
{% set platform = "linux-x86_64" %} # [linux64]
{% set platform = "linux-ppc64le" %} # [ppc64le]
{% set extension = "tar.xz" %} # [not win]

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

source:
url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_nsight/{{ platform }}/cuda_nsight-{{ platform }}-{{ version }}-archive.{{ extension }}
sha256: d7d151829fa516041174366f1460371e598f0b5b1665fb4a369b539bfc4b60e0 # [linux64]
sha256: 00af4bff3ac54bdb0b9c16eba80aa3c95814845805559691d504b8837d620b32 # [ppc64le]

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

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

test:
commands:
- test -f $PREFIX/bin/nsight_ee_plugins_manage.sh
- test -d $PREFIX/nsightee_plugins

about:
home: https://developer.nvidia.com/nsight-eclipse-edition
license_file: LICENSE
license: LicenseRef-NVIDIA-End-User-License-Agreement
license_url: https://docs.nvidia.com/cuda/eula/index.html
summary: A unified CPU plus GPU IDE for developing CUDA applications
description: |
NVIDIA Nsight Eclipse Edition is a unified CPU plus GPU integrated
development environment (IDE) for developing CUDA applications for
the x86, POWER and ARM platforms.
doc_url: https://developer.nvidia.com/nsight-eclipse-edition

extra:
recipe-maintainers:
- adibbley