Skip to content

Commit f77f48c

Browse files
authored
natten: Pin CMake version to avoid CUDA 12.8 compiler identification issue (#14)
CMake 3.31.x introduced a regression that causes CUDA compiler identification to fail with CUDA 12.8. The failure occurs during CMake's compiler detection phase when testing nvcc, even though nvcc itself works correctly. This PR pins CMake to versions 3.28.1 through 3.30.x to avoid 3.31.
1 parent 584cf13 commit f77f48c

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

packages/natten/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ version = "0.1.0"
1919
requires-python = ">=3.10"
2020
dependencies = [
2121
"cosmos-dependencies[build]",
22-
"cmake==3.*",
22+
"cmake>=3.28.1,<3.31",
2323
# https://github.com/SHI-Labs/NATTEN/blob/main/pyproject.toml#L2
2424
"setuptools >= 64",
2525
]

packages/natten/uv.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)