feat: DGR-004-CHAIN - Execute chained DGR-004/005/003-emission with anchor
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
From d9992f62e852c8647a2ad302009b0339dc1cbf5b Mon Sep 17 00:00:00 2001
|
||||
From: DGR-004 <dgr-004@meshnet.invalid>
|
||||
Date: Tue, 14 Jul 2026 09:52:24 +0300
|
||||
Subject: [PATCH] cmake: reserve Meshnet patch-stack ABI marker
|
||||
|
||||
---
|
||||
CMakeLists.txt | 1 +
|
||||
cmake/meshnet-patch-stack.cmake | 7 +++++++
|
||||
2 files changed, 8 insertions(+)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 81f23d7e..a9afcffa 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -123,6 +123,7 @@ option(LLAMA_LLGUIDANCE "llama-common: include LLGuidance library for structured
|
||||
# Required for relocatable CMake package
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/build-info.cmake)
|
||||
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/common.cmake)
|
||||
+include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/meshnet-patch-stack.cmake)
|
||||
|
||||
if (NOT DEFINED LLAMA_BUILD_NUMBER)
|
||||
set(LLAMA_BUILD_NUMBER ${BUILD_NUMBER})
|
||||
diff --git a/cmake/meshnet-patch-stack.cmake b/cmake/meshnet-patch-stack.cmake
|
||||
new file mode 100644
|
||||
index 00000000..910646b4
|
||||
--- /dev/null
|
||||
+++ b/cmake/meshnet-patch-stack.cmake
|
||||
@@ -0,0 +1,7 @@
|
||||
+# Reserved, local-only hook for the Meshnet-owned llama.cpp patch series.
|
||||
+# No execution, protocol, architecture, or model semantic changes are in DGR-004.
|
||||
+set(LLAMA_MESHNET_PATCH_STACK_VERSION "1" CACHE STRING
|
||||
+ "Meshnet patch stack ABI marker")
|
||||
+add_library(llama_meshnet_patch_stack INTERFACE)
|
||||
+target_compile_definitions(llama_meshnet_patch_stack INTERFACE
|
||||
+ LLAMA_MESHNET_PATCH_STACK_VERSION=${LLAMA_MESHNET_PATCH_STACK_VERSION})
|
||||
--
|
||||
2.54.0
|
||||
2
packages/node/native/llama/patches/SHA256SUMS
Normal file
2
packages/node/native/llama/patches/SHA256SUMS
Normal file
@@ -0,0 +1,2 @@
|
||||
# SHA-256 digests for the ordered patch series. Do not reorder this file.
|
||||
1454216c019c1cb7f78d1d836fe4054164fff1d498391013bcaf13cc2d328c75 0001-cmake-reserve-meshnet-patch-stack-abi-marker.patch
|
||||
1
packages/node/native/llama/patches/series
Normal file
1
packages/node/native/llama/patches/series
Normal file
@@ -0,0 +1 @@
|
||||
0001-cmake-reserve-meshnet-patch-stack-abi-marker.patch
|
||||
Reference in New Issue
Block a user