llama.cpp
b12fa0d1 - build : link against build info instead of compiling against it (#3879)

Commit
1 year ago
build : link against build info instead of compiling against it (#3879) * cmake : fix build when .git does not exist * cmake : simplify BUILD_INFO target * cmake : add missing dependencies on BUILD_INFO * build : link against build info instead of compiling against it * zig : make build info a .cpp source instead of a header Co-authored-by: Matheus C. França <matheus-catarino@hotmail.com> * cmake : revert change to CMP0115 --------- Co-authored-by: Matheus C. França <matheus-catarino@hotmail.com>
Author
Parents
  • File
    .gitignore
  • File
    CMakeLists.txt
  • File
    Makefile
  • File
    build.zig
  • common
    • File
      CMakeLists.txt
    • build-info.cpp.in
    • File
      common.cpp
    • File
      common.h
  • examples
    • benchmark
      • File
        CMakeLists.txt
      • File
        benchmark-matmult.cpp
    • embedding
      • File
        CMakeLists.txt
      • File
        embedding.cpp
    • infill
      • File
        CMakeLists.txt
      • File
        infill.cpp
    • llama-bench
      • File
        CMakeLists.txt
      • File
        llama-bench.cpp
    • llava
      • File
        CMakeLists.txt
    • main
      • File
        CMakeLists.txt
      • File
        main.cpp
    • parallel
      • File
        CMakeLists.txt
      • File
        parallel.cpp
    • perplexity
      • File
        CMakeLists.txt
      • File
        perplexity.cpp
    • quantize-stats
      • File
        CMakeLists.txt
      • File
        quantize-stats.cpp
    • quantize
      • File
        CMakeLists.txt
      • File
        quantize.cpp
    • save-load-state
      • File
        CMakeLists.txt
      • File
        save-load-state.cpp
    • server
      • File
        CMakeLists.txt
      • File
        server.cpp
    • speculative
      • File
        CMakeLists.txt
      • File
        speculative.cpp
  • scripts
    • File
      build-info.cmake
    • File
      build-info.h.in
    • File
      build-info.sh