-
Notifications
You must be signed in to change notification settings - Fork 815
Open
Description
🐛 Bug
Describe the bug: The double-conversion
dependency no longer builds under CMake 4.0 because it sets its minimum compatible version to 3.0. Thus, torchtext no longer builds, either.
To Reproduce:
- Install cmake >= 4.0, perhaps via
pip install cmake
python setup.py develop
Expected behavior: It should build.
Screenshots: Here's the exact error I see:
CMake Error at third_party/double-conversion/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
Metadata
Metadata
Assignees
Labels
No labels