@@ -172,25 +172,29 @@ build-frontend = "build"
172172environment = { PYTHONDEVMODE = " 1" , PYTHONUNBUFFERED = " 1" }
173173environment-pass = [
174174 " CUDA_VERSION" ,
175+ " NO_VERSION_LABEL" ,
176+ " NO_TOOLCHAIN_VERSION" ,
177+ " NO_GIT_VERSION" ,
175178 " COLUMNS" ,
179+ " CMAKE_GENERATOR" ,
180+ " CMAKE_BUILD_PARALLEL_LEVEL" ,
176181 " FORCE_COLOR" ,
177182 " CLICOLOR_FORCE" ,
178183]
179184before-build = " env -0 | sort -z | tr '\\ 0' '\\ n'"
180185windows.before-build = " set"
181- # Pin to glibc 2.17 for x86 and 2.28 for aarch64 for now
182- manylinux-x86_64-image = " manylinux2014" # CentOS 7
183- manylinux-aarch64-image = " manylinux_2_28" # AlmaLinux 8
184186test-command = [
185187 " python -c 'import tilelang; print(tilelang.__version__)'" ,
186188]
187189
188190[tool .cibuildwheel .linux ]
189- environment = { PYTHONDEVMODE = " 1" , PYTHONUNBUFFERED = " 1" , PATH = " /usr/local/cuda/bin:$PATH" }
190- repair-wheel-command = [
191- " auditwheel -v repair --exclude libtvm_ffi.so --exclude libcuda.so.1 --exclude '/usr/local/cuda*' -w {dest_dir} {wheel}" ,
192- " pipx run abi3audit --verbose --strict {wheel}" ,
193- ]
191+ environment.PYTHONDEVMODE = " 1"
192+ environment.PYTHONUNBUFFERED = " 1"
193+ environment.PATH = " /usr/local/cuda/bin:$PATH"
194+ environment.LD_LIBRARY_PATH = " /usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs:$LD_LIBRARY_PATH"
195+ # Pin to glibc 2.17 for x86 and 2.28 for aarch64 for now
196+ manylinux-x86_64-image = " manylinux2014" # CentOS 7
197+ manylinux-aarch64-image = " manylinux_2_28" # AlmaLinux 8
194198# Install CUDA runtime and stub driver library
195199# manylinux_2_28 uses gcc 14, which needs CUDA 12.8
196200before-all = """
@@ -213,8 +217,12 @@ esac
213217
214218cudaver="$(echo "${CUDA_VERSION:-"12.4"}" | cut -d '.' -f-2)"
215219v="${cudaver//./-}"
216- yum install -y "cuda-minimal-build-${v}" "cuda-driver-devel-${v}" "cuda-nvrtc-devel-${v}"
220+ yum install -y "cuda-minimal-build-${v}" "cuda-driver-devel-${v}" "cuda-nvrtc-devel-${v}" nvidia-driver-cuda-libs
217221"""
222+ repair-wheel-command = [
223+ " auditwheel -v repair --exclude libtvm_ffi.so --exclude libcuda.so.1 --exclude '/usr/local/cuda*' -w {dest_dir} {wheel}" ,
224+ " pipx run abi3audit --verbose --strict {wheel}" ,
225+ ]
218226
219227[tool .cibuildwheel .macos ]
220228repair-wheel-command = [
0 commit comments