Skip to content

Commit

Permalink
Add explicit _gpu build string, Also takes care of legate core addition
Browse files Browse the repository at this point in the history
  • Loading branch information
mag1cp1n committed Aug 26, 2024
1 parent 3d14ed5 commit f72e7a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions conda/conda-build/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ build:
{% if not gpu_enabled_bool %}
string: "cuda{{ cuda_major }}_py{{ py_version }}_{{ GIT_DESCRIBE_HASH }}_{{ PKG_BUILDNUM }}_cpu"
{% else %}
string: "cuda{{ cuda_major }}_py{{ py_version }}_{{ GIT_DESCRIBE_HASH }}_{{ PKG_BUILDNUM }}"
string: "cuda{{ cuda_major }}_py{{ py_version }}_{{ GIT_DESCRIBE_HASH }}_{{ PKG_BUILDNUM }}_gpu"
{% endif %}
{% else %}
# do not use git hash
{% if not gpu_enabled_bool %}
string: "cuda{{ cuda_major }}_py{{ py_version }}_{{ PKG_BUILDNUM }}_cpu"
{% else %}
string: "cuda{{ cuda_major }}_py{{ py_version }}_{{ PKG_BUILDNUM }}"
string: "cuda{{ cuda_major }}_py{{ py_version }}_{{ PKG_BUILDNUM }}_gpu"
{% endif %}
{% endif %}
script_env:
Expand Down Expand Up @@ -112,7 +112,7 @@ requirements:
{% if not gpu_enabled_bool %}
- legate-core ={{ core_version }} =*_cpu
{% else %}
- legate-core ={{ core_version }}
- legate-core ={{ core_version }} =*_gpu
- cuda-nvcc ={{ cuda_version }}
- cuda-cccl ={{ cuda_version }}
- cuda-cudart ={{ cuda_version }}
Expand All @@ -134,7 +134,7 @@ requirements:
{% if not gpu_enabled_bool %}
- legate-core ={{ core_version }} =*_cpu
{% else %}
- legate-core ={{ core_version }}
- legate-core ={{ core_version }} =*_gpu
- cuda-cudart >={{ cuda_version }},<{{ cuda_major+1 }}
- cuda-version >={{ cuda_version }},<{{ cuda_major+1 }}
- cutensor >=1.3 =*_*
Expand Down

0 comments on commit f72e7a1

Please sign in to comment.