From f72e7a12cd319d8283f4eba53b21b1cf790ca026 Mon Sep 17 00:00:00 2001 From: mag1cp1n Date: Mon, 26 Aug 2024 10:01:32 +0530 Subject: [PATCH] Add explicit _gpu build string, Also takes care of legate core addition --- conda/conda-build/meta.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conda/conda-build/meta.yaml b/conda/conda-build/meta.yaml index 85ea88d74..3ee243f52 100644 --- a/conda/conda-build/meta.yaml +++ b/conda/conda-build/meta.yaml @@ -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: @@ -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 }} @@ -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 =*_*