cmake 3.31 is broken: CMake Error: Could not find CMAKE_ROOT !!!
See this error in the CI, which can be reproduced:
```
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
/usr/local/share/cmake-3.31
CMake Error: Error executing cmake::LoadCache(). Aborting.
```
reproduce:
https://gist.github.com/njzjz/1c8f360ebc4457bf0d0f6ea86978b78b
CI log: https://github.com/deepmodeling/deepmd-kit/actions/runs/11758764445/job/32757483294#step:3:1
关闭于 2024-11-10 11 条评论