# This file created by conda-build 24.1.2
# meta.yaml template originally from:
# /home/conda/recipe_root, last modified Wed Mar 13 05:23:29 2024
# ------------------------------------------------

package:
  name: cudnn
  version: 8.9.7.29
source:
  sha256: a3e2509028cecda0117ce5a0f42106346e82e86d390f4bb9475afc976c77402e
  url: https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-8.9.7.29_cuda11-archive.tar.xz
build:
  binary_relocation: false
  ignore_run_exports:
    - cudatoolkit
  number: '3'
  run_exports:
    - cudnn >=8.9.7.29,<9.0a0
  script:
    - mkdir -p $PREFIX/include
    - cp include/cudnn*.h $PREFIX/include/
    - mkdir -p $PREFIX/lib
    - mv lib/libcudnn*.so* $PREFIX/lib/
  string: hbc23b4c_3
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - _sysroot_linux-64_curr_repodata_hack 3 h69a702a_14
    - binutils_impl_linux-64 2.40 hf600244_0
    - binutils_linux-64 2.40 hdade7a5_3
    - gcc_impl_linux-64 11.4.0 h7aa1c59_5
    - gcc_linux-64 11.4.0 h0f0c6b6_3
    - gxx_impl_linux-64 11.4.0 h7aa1c59_5
    - gxx_linux-64 11.4.0 h2730b16_3
    - kernel-headers_linux-64 3.10.0 h4a8ded7_14
    - ld_impl_linux-64 2.40 h41732ed_0
    - libgcc-devel_linux-64 11.4.0 h922705a_105
    - libgcc-ng 13.2.0 h807b86a_5
    - libgomp 13.2.0 h807b86a_5
    - libsanitizer 11.4.0 h4dcbe23_5
    - libstdcxx-devel_linux-64 11.4.0 h922705a_105
    - libstdcxx-ng 13.2.0 h7e041cc_5
    - nvcc_linux-64 11.8 h41dc85b_23
    - sed 4.8 he412f7d_0
    - sysroot_linux-64 2.17 h4a8ded7_14
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - cuda-version 11.0 h6b8d8af_3
    - libgcc-ng 13.2.0 h807b86a_5
    - libgomp 13.2.0 h807b86a_5
    - libstdcxx-ng 13.2.0 h7e041cc_5
    - libzlib 1.2.13 hd590300_5
    - patchelf 0.17.2 h58526e2_0
  run:
    - __glibc >=2.17
    - __glibc >=2.17,<3.0.a0
    - cuda-version >=11.0,<12.0a0
    - cudatoolkit 11.*
    - libgcc-ng >=12
    - libstdcxx-ng >=12
    - libzlib >=1.2.13,<1.3.0a0
  run_constrained: []
test:
  commands:
    - test -f $PREFIX/include/cudnn.h
    - test -f $PREFIX/include/cudnn_adv_train.h
    - test -f $PREFIX/lib/libcudnn.so
    - test -f $PREFIX/lib/libcudnn_adv_train.so
    - ${GCC} test_load_elf.c -std=c99 -Werror -ldl -o test_load_elf
    - for f in $PREFIX/lib/libcudnn*.so; do ./test_load_elf $f; done
  files:
    - test_load_elf.c
  requires:
    - gcc_linux-64 11.*
about:
  description: 'NVIDIA CUDA Deep Neural Network (cuDNN) is a GPU-accelerated library
    of

    primitives for deep neural networks. It provides highly tuned

    implementations of routines arising frequently in DNN applications.


    License Agreements:- The packages are governed by the NVIDIA cuDNN

    Software License Agreement (EULA). By downloading and using the packages,

    you accept the terms and conditions of the NVIDIA cuDNN EULA -

    https://docs.nvidia.com/deeplearning/cudnn/sla/index.html

    '
  dev_url: https://developer.nvidia.com/rdp/cudnn-download
  doc_url: https://docs.nvidia.com/deeplearning/cudnn/
  home: https://developer.nvidia.com/cudnn
  license: LicenseRef-cuDNN-Software-License-Agreement
  license_file: LICENSE
  license_url: https://docs.nvidia.com/deeplearning/cudnn/sla/index.html
  summary: NVIDIA's cuDNN deep neural network acceleration library
extra:
  copy_test_source_files: true
  final: true
  flow_run_id: azure_20240313.2.1
  recipe-maintainers:
    - adibbley
    - bdice
    - jakirkham
    - vyasr
  remote_url: https://github.com/conda-forge/cudnn-feedstock
  sha: 96c6e97b5100ca7ca8f893ab0e98a1d8857833cd
