Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
conda
fsl-ci-rules
Commits
89512fdb
Commit
89512fdb
authored
Sep 22, 2021
by
Paul McCarthy
🚵
Browse files
MNT: Support for new CUDA versions in CUDA project meta.yaml template
parent
4b92d5a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsl_ci/templates/meta.yaml.cuda.template
View file @
89512fdb
...
...
@@ -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 %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment