Skip to content

builddir/_deps/llama-src/app/llama.cpp:1:10: fatal error: build-info.h: No such file or directory #23497

@raphael10-collab

Description

@raphael10-collab

Git commit

in CMakeLists.txt :

FetchContent_Declare(
    llama
    GIT_REPOSITORY https://github.com/ggml-org/llama.cpp.git
    GIT_TAG master
)

FetchContent_MakeAvailable(llama)

target_link_libraries (${PROJECT_NAME} PUBLIC
    llama
)

Operating systems

Linux

GGML backends

CPU

Problem description & steps to reproduce

raphy@raphy:~/Grasp$ cmake -B builddir -DCMAKE_BUILD_TYPE=DEBUG -DRATS_BUILD_TESTS=OFF -DWITH_BENCHMARK_TOOLS=FALSE -DOPENSSL_ROOT_DIR="/usr/local/ssl/" -DEigen3_DIR="/usr/include/eigen3" -Wno-author

raphy@raphy:~/Grasp$ cmake --build builddir -j10

/home/raphy/Grasp/builddir/_deps/llama-src/app/llama.cpp:1:10: fatal error: build-info.h: No such file or directory
    1 | #include "build-info.h"

First Bad Commit

No response

Compile command

in `CMakeLists.txt` : 

    FetchContent_Declare(
        llama
        GIT_REPOSITORY https://github.com/ggml-org/llama.cpp.git
        GIT_TAG master
    )
    

    raphy@raphy:~/Grasp$ cmake -B builddir -DCMAKE_BUILD_TYPE=DEBUG -DRATS_BUILD_TESTS=OFF -DWITH_BENCHMARK_TOOLS=FALSE -DOPENSSL_ROOT_DIR="/usr/local/ssl/" -DEigen3_DIR="/usr/include/eigen3" -Wno-author
    
    raphy@raphy:~/Grasp$ cmake --build builddir -j10
    
    /home/raphy/Grasp/builddir/_deps/llama-src/app/llama.cpp:1:10: fatal error: build-info.h: No such file or directory
        1 | #include "build-info.h"

    FetchContent_MakeAvailable(llama)

    target_link_libraries (${PROJECT_NAME} PUBLIC
        llama
    )

Relevant log output

/builddir/_deps/llama-src/app/llama.cpp:1:10: fatal error: build-info.h: No such file or directory
        1 | #include "build-info.h"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions