# This file created by conda-build 25.1.2
# ------------------------------------------------

package:
  name: cuda-nvcc-impl
  version: 12.8.93
source:
  patches:
    - nvcc.profile.patch
  sha256: 9961b3484b6b71314063709a4f9529654f96782ad39e72bf1e00f070db8210d3
  url: https://developer.download.nvidia.com/compute/cuda/redist/cuda_nvcc/linux-x86_64/cuda_nvcc-linux-x86_64-12.8.93-archive.tar.xz
build:
  binary_relocation: false
  number: 3
  string: hd1a145a_3
requirements:
  host:
    - _libgcc_mutex 0.1 main
    - _openmp_mutex 5.1 1_gnu
    - cuda-cccl_linux-64 12.8.90 h06a4308_1
    - cuda-cudart 12.8.90 hbdd6827_0
    - cuda-cudart-dev 12.8.90 hbdd6827_0
    - cuda-cudart-dev_linux-64 12.8.90 hd1a145a_0
    - cuda-cudart-static 12.8.90 hbdd6827_0
    - cuda-cudart-static_linux-64 12.8.90 hd1a145a_0
    - cuda-cudart_linux-64 12.8.90 hd1a145a_0
    - cuda-nvvm-impl 12.8.93 hbdd6827_3
    - cuda-version 12.8 h30beaf8_3
    - libgcc-ng 11.2.0 h1234567_1
    - libgomp 11.2.0 h1234567_1
    - libstdcxx-ng 11.2.0 h1234567_1
  run:
    - cuda-cudart >=12.8.90,<13.0a0
    - cuda-cudart-dev
    - cuda-nvcc-dev_linux-64 12.8.93 he2511ca_3
    - cuda-nvcc-tools 12.8.93 hbdd6827_3
    - cuda-nvvm-impl 12.8.93 hbdd6827_3
    - cuda-version >=12.8,<12.9.0a0
  run_constrained:
    - gcc_impl_linux-64 >=6,<15.0a0
test:
  commands:
    - ln -sf ${PREFIX}/bin/x86_64-conda-linux-gnu-g++ ${PREFIX}/bin/g++
    - ln -sf ${PREFIX}/bin/x86_64-conda-linux-gnu-gcc ${PREFIX}/bin/gcc
    - test -L $PREFIX/lib/libnvptxcompiler_static.a
    - which nvcc
    - ./run_nvcc_tests.sh
  files:
    - CMakeLists.txt
    - run_nvcc_tests.sh
    - test.cu
  requires:
    - cmake
    - cuda-driver-dev
    - gcc_linux-64 11.2.0.*
    - git
    - gxx_linux-64 11.2.0.*
    - ninja
    - sysroot_linux-64 2.28.*
about:
  description: 'Compiler for CUDA applications.

    '
  doc_url: https://docs.nvidia.com/cuda/index.html
  home: https://developer.nvidia.com/cuda-toolkit
  license: LicenseRef-NVIDIA-End-User-License-Agreement
  license_file: LICENSE
  license_url: https://docs.nvidia.com/cuda/eula/index.html
  summary: Compiler for CUDA applications.
extra:
  copy_test_source_files: true
  feedstock-name: cuda-nvcc-impl
  final: true
  recipe-maintainers:
    - conda-forge/cuda
