Commit 89512fdb authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

MNT: Support for new CUDA versions in CUDA project meta.yaml template

parent 4b92d5a3
......@@ -17,15 +17,21 @@ requirements:
{% endif %}
build:
# Different versions of nvcc need
# different versions of gcc
# different versions of gcc. This is
# outlined in the "System requirements"
# section of the CUDA installation
# guide for each CUDA version, e.g.:
# https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
{{ '{% if cuda_version in ("9.2", "10.0") %}' }}
- {{ '{{ compiler("cxx") }} 7.*' }} # [linux]
{{ '{% elif cuda_version in ("10.1", "10.2") %}' }}
- {{ '{{ compiler("cxx") }} 8.*' }} # [linux]
{{ '{% elif cuda_version in ("11.0") %}' }}
{{ '{% elif cuda_version in ("11.0", "11.1", "11.2", "11.3") %}' }}
- {{ '{{ compiler("cxx") }} 9.*' }} # [linux]
{{ '{% elif cuda_version in ("11.4") %}' }}
- {{ '{{ compiler("cxx") }} 11.*' }} # [linux]
{{ '{% else %}' }}
- {{ '{{ compiler("cxx") }}' }} # [linux]
{{ '{% endif %}' }}
- make
{% endif %}
\ No newline at end of file
{% endif %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment