]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Fix tab vs spaces in patch debian/latest
authorMathieu Baudier <redacted>
Tue, 24 Jun 2025 08:53:56 +0000 (10:53 +0200)
committerMathieu Baudier <redacted>
Tue, 24 Jun 2025 08:53:56 +0000 (10:53 +0200)
debian/patches/0001-improve-cmake-build.patch

index 445d3ca20303c7b5ad096213611f126f8a64ec75..517c1a0f407c7d32e2e862986f3ae1b8f973b846 100644 (file)
@@ -22,7 +22,7 @@ index 50801cd..d2becb0 100644
  # override ggml options
  set(GGML_ALL_WARNINGS   ${LLAMA_ALL_WARNINGS})
 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
  # override ggml options
  set(GGML_ALL_WARNINGS   ${LLAMA_ALL_WARNINGS})
 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 8f9cd65..9aa905a 100644
+index 8f9cd65..4a54aca 100644
 --- a/src/CMakeLists.txt
 +++ b/src/CMakeLists.txt
 @@ -47,4 +47,8 @@ if (BUILD_SHARED_LIBS)
 --- a/src/CMakeLists.txt
 +++ b/src/CMakeLists.txt
 @@ -47,4 +47,8 @@ if (BUILD_SHARED_LIBS)
@@ -31,11 +31,11 @@ index 8f9cd65..9aa905a 100644
      target_compile_definitions(llama PUBLIC  LLAMA_SHARED)
 +      if(DEFINED LLAMA_INSTALL_VERSION)
 +        message(STATUS "Set llama shared library version to ${LLAMA_INSTALL_VERSION}")
      target_compile_definitions(llama PUBLIC  LLAMA_SHARED)
 +      if(DEFINED LLAMA_INSTALL_VERSION)
 +        message(STATUS "Set llama shared library version to ${LLAMA_INSTALL_VERSION}")
-+      set_target_properties(llama PROPERTIES VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0)
++        set_target_properties(llama PROPERTIES VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0)
 +    endif()
  endif()
 diff --git a/tools/mtmd/CMakeLists.txt b/tools/mtmd/CMakeLists.txt
 +    endif()
  endif()
 diff --git a/tools/mtmd/CMakeLists.txt b/tools/mtmd/CMakeLists.txt
-index 4baa15b..c330f06 100644
+index 4baa15b..f267dc9 100644
 --- a/tools/mtmd/CMakeLists.txt
 +++ b/tools/mtmd/CMakeLists.txt
 @@ -35,6 +35,10 @@ set_target_properties(mtmd
 --- a/tools/mtmd/CMakeLists.txt
 +++ b/tools/mtmd/CMakeLists.txt
 @@ -35,6 +35,10 @@ set_target_properties(mtmd
@@ -44,7 +44,7 @@ index 4baa15b..c330f06 100644
  
 +if(DEFINED LLAMA_INSTALL_VERSION)
 +    message(STATUS "Set mtmd shared library version to ${LLAMA_INSTALL_VERSION}")
  
 +if(DEFINED LLAMA_INSTALL_VERSION)
 +    message(STATUS "Set mtmd shared library version to ${LLAMA_INSTALL_VERSION}")
-+      set_target_properties(mtmd PROPERTIES VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0)
++    set_target_properties(mtmd PROPERTIES VERSION ${LLAMA_INSTALL_VERSION} SOVERSION 0)
 +endif()
  install(TARGETS mtmd LIBRARY PUBLIC_HEADER)
  
 +endif()
  install(TARGETS mtmd LIBRARY PUBLIC_HEADER)