mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-03-15 02:47:22 +00:00
📝 Docs: Clarify CMake version requirement for CUDA dialects
Adds a note explaining that default CMake versions on systems like Ubuntu 22.04 LTS might not support newer CUDA dialects (e.g., CUDA 20), leading to specific build errors. Recommends installing a newer CMake via the Kitware APT repository as a resolution. This helps users troubleshoot errors like: "Target ... requires the language dialect 'CUDA20', but CMake does not know the compile flags..."
This commit is contained in:
@@ -38,7 +38,8 @@ Some preparation:
|
||||
export CUDA_PATH=$CUDA_PATH:/usr/local/cuda
|
||||
fi
|
||||
```
|
||||
- Linux-x86_64 with gcc, g++ and cmake (using Ubuntu as an example)
|
||||
- Linux-x86_64 with gcc, g++>=11 and cmake>=3.25 (using Ubuntu as an example)
|
||||
- **Note**: The default CMake version in Ubuntu 22.04 LTS or higher may not support newer CUDA language dialects (e.g., CUDA 20). This can cause errors such as Target "cmTC_xxxxxx" requires the language dialect "CUDA20", but CMake does not know the compile flags to use to enable it. To resolve this, install a newer CMake version, for instance, by adding the Kitware APT repository.
|
||||
|
||||
```sh
|
||||
sudo apt-get update
|
||||
|
||||
Reference in New Issue
Block a user