Skip to content

Commit

Permalink
cdt_name only available on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed May 12, 2021
1 parent f9b451a commit 7d4daa4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,33 +32,33 @@ outputs:
run_exports:
strong:
- cudatoolkit {{ cuda_compiler_version }}|{{ cuda_compiler_version }}.*
{% if cdt_name == "cos7" %}
{% if cdt_name == "cos7" %} # [linux]
- __glibc >=2.17 # [linux]
{% endif %}
{% endif %} # [linux]
requirements:
build: # [win]
- m2-sed # [win]
host:
# Needed to symlink libcuda into sysroot libs.
- {{ compiler("c") }}
{% if cdt_name == "cos7" %}
{% if cdt_name == "cos7" %} # [linux]
- sysroot_{{ target_platform }} 2.17 # [linux]
- __glibc >=2.17 # [linux]
{% endif %}
- __glibc >=2.17 # [linux]
{% endif %} # [linux]
run:
- sed # [linux]
{% if cdt_name == "cos7" %}
- sed # [linux]
{% if cdt_name == "cos7" %} # [linux]
- sysroot_{{ target_platform }} 2.17 # [linux]
- __glibc >=2.17 # [linux]
{% endif %}
- __glibc >=2.17 # [linux]
{% endif %} # [linux]
test:
requires:
- {{ compiler("c") }}
# Host code is forwarded to a C++ compiler
- {{ compiler("cxx") }}
{% if cdt_name == "cos7" %}
{% if cdt_name == "cos7" %} # [linux]
- sysroot_{{ target_platform }} 2.17 # [linux]
{% endif %}
{% endif %} # [linux]
files:
- test.cu
- test_nvcc.sh # [linux]
Expand Down

0 comments on commit 7d4daa4

Please sign in to comment.