@@ -5,12 +5,6 @@ schema_version: 1
55context :
66 version : ${{ env.get("RAPIDS_PACKAGE_VERSION") }}
77 minor_version : ${{ (version | split("."))[:2] | join(".") }}
8- # We need to support three cases:
9- # 1. Linux x86_64, which always uses libcufile
10- # 2. Linux aarch64 with CUDA >= 12.2, which uses libcufile
11- # 3. Linux aarch64 with CUDA < 12.2, which does not use libcufile
12- # Each case has different cuda-version constraints as expressed below
13- should_use_cufile : ${{ x86_64 or (aarch64 and cuda_version >= "12.2") }}
148 # When reverting, instances of cuda_key_string can be replaced with cuda_major
159 cuda_key_string : ${{ cuda_version | replace(".", "_") }}
1610 # cuda_version: ${{ (env.get("RAPIDS_CUDA_VERSION") | split("."))[:2] | join(".") }}
6761 host :
6862 - cuda-version =${{ cuda_version }}
6963 - libcurl ==${{ libcurl_version }}
70- - if : should_use_cufile
71- then :
72- - libcufile-dev
64+ - libcufile-dev
7365 - libnuma
7466
7567outputs :
@@ -94,24 +86,16 @@ outputs:
9486 - cuda-version =${{ cuda_version }}
9587 - libcurl ==${{ libcurl_version }}
9688 run :
97- - if : x86_64 or (aarch64 and cuda_version >= "13.0")
89+ - if : cuda_version >= "13.0"
9890 then :
9991 - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }}
10092 else :
101- - if : aarch64 and cuda_version >= "12.2"
102- then :
103- - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="12.2.0a0") }}
104- else :
105- - ${{ pin_compatible("cuda-version", upper_bound="12.2.0a0", lower_bound="12.0") }}
106- - if : should_use_cufile
107- then :
108- - libcufile-dev
93+ - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="12.2.0a0") }}
94+ - libcufile-dev
10995 ignore_run_exports :
11096 by_name :
11197 - cuda-version
112- - if : should_use_cufile
113- then :
114- - libcufile
98+ - libcufile
11599 tests :
116100 - script :
117101 - test -f $PREFIX/include/kvikio/file_handle.hpp
@@ -139,28 +123,20 @@ outputs:
139123 - cuda-version =${{ cuda_version }}
140124 - cuda-cudart-dev
141125 - libcurl ==${{ libcurl_version }}
142- - if : should_use_cufile
143- then :
144- - libcufile-dev
126+ - libcufile-dev
145127 run :
146- - if : x86_64
128+ - if : cuda_version >= "13.0"
147129 then :
148130 - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="x") }}
149131 else :
150- - if : aarch64 and cuda_version >= "12.2"
151- then :
152- - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="12.2.0a0") }}
153- else :
154- - ${{ pin_compatible("cuda-version", upper_bound="12.2.0a0", lower_bound="12.0") }}
132+ - ${{ pin_compatible("cuda-version", upper_bound="x", lower_bound="12.2.0a0") }}
155133 - cuda-cudart
156134 ignore_run_exports :
157135 by_name :
158136 - cuda-cudart
159137 - cuda-version
160138 - libnuma
161- - if : should_use_cufile
162- then :
163- - libcufile
139+ - libcufile
164140 about :
165141 homepage : ${{ load_from_file("python/libkvikio/pyproject.toml").project.urls.Homepage }}
166142 license : ${{ load_from_file("python/libkvikio/pyproject.toml").project.license.text }}
0 commit comments