Skip to content

Commit 2762df5

Browse files
committed
nvrtc 12 major specifier: convert to int instead of float
1 parent 17b3f8e commit 2762df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-system/luxmake/wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def make_wheel(args):
141141
# Export METADATA file
142142
with open(dist_info / "METADATA", "w", encoding="utf-8") as f:
143143
nvrtc_version = get_dep_version("nvrtc")
144-
major = float(nvrtc_version.split('.')[0])
144+
major = int(nvrtc_version.split('.')[0])
145145
requirement = (
146146
f"nvidia-cuda-nvrtc-cu{major}=={nvrtc_version}"
147147
if major <= 12

0 commit comments

Comments
 (0)