Skip to content

编译安装时,third_party中的sentencepiece的cmake_minimum_required(VERSION 3.1 FATAL_ERROR)需要更新至3.5 #351

@stjuliet

Description

@stjuliet

CMake Error at third_party/sentencepiece/CMakeLists.txt:15 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

使用CMAKE_ARGS="-DGGML_CUDA=ON" pip install -U chatglm-cpp编译安装时,会出现上述错误,目前只能通过源码编译修改CMakeLists.txt文件解决

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions