From cd05827adff020f580cbdaae34ba8de6ec6601e6 Mon Sep 17 00:00:00 2001 From: Hiroki Tagato Date: Thu, 9 Oct 2025 16:09:41 +0900 Subject: misc/shimmy: update to 1.7.0 While here, disable VULKAN option on i386 platform because it causes "out of memory" error during build. Changelog: - https://github.com/Michael-A-Kuykendall/shimmy/releases/tag/v1.6.0 - https://github.com/Michael-A-Kuykendall/shimmy/releases/tag/v1.7.0 Reported by: GitHub (watch releases) --- misc/shimmy/files/llama-cpp-rs/patch-llama-cpp-sys-2_build.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'misc/shimmy/files/llama-cpp-rs/patch-llama-cpp-sys-2_build.rs') diff --git a/misc/shimmy/files/llama-cpp-rs/patch-llama-cpp-sys-2_build.rs b/misc/shimmy/files/llama-cpp-rs/patch-llama-cpp-sys-2_build.rs index de8f6436d05a..a1d21fbdbdda 100644 --- a/misc/shimmy/files/llama-cpp-rs/patch-llama-cpp-sys-2_build.rs +++ b/misc/shimmy/files/llama-cpp-rs/patch-llama-cpp-sys-2_build.rs @@ -1,4 +1,4 @@ ---- llama-cpp-sys-2/build.rs.orig 2025-09-12 14:16:40 UTC +--- llama-cpp-sys-2/build.rs.orig 2025-10-06 14:29:33 UTC +++ llama-cpp-sys-2/build.rs @@ -20,6 +20,7 @@ enum TargetOs { Apple(AppleVariant), @@ -17,7 +17,7 @@ } else { Err(target) } -@@ -632,7 +635,7 @@ fn main() { +@@ -648,7 +651,7 @@ fn main() { config.cflag("/FS"); config.cxxflag("/FS"); } @@ -26,7 +26,7 @@ println!("cargo:rustc-link-lib=vulkan"); } _ => (), -@@ -738,6 +741,9 @@ fn main() { +@@ -754,6 +757,9 @@ fn main() { } TargetOs::Linux => { println!("cargo:rustc-link-lib=dylib=stdc++"); -- cgit v1.2.3 From 1731b0a3606e863573fd0d783fe1af2a70d492c9 Mon Sep 17 00:00:00 2001 From: Hiroki Tagato Date: Mon, 13 Oct 2025 06:45:52 +0900 Subject: misc/shimmy: update to 1.7.3 Changelog: https://github.com/Michael-A-Kuykendall/shimmy/blob/v1.7.3/CHANGELOG.md Reported by: GitHub (watch releases) --- .../llama-cpp-rs/patch-llama-cpp-sys-2_build.rs | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 misc/shimmy/files/llama-cpp-rs/patch-llama-cpp-sys-2_build.rs (limited to 'misc/shimmy/files/llama-cpp-rs/patch-llama-cpp-sys-2_build.rs') diff --git a/misc/shimmy/files/llama-cpp-rs/patch-llama-cpp-sys-2_build.rs b/misc/shimmy/files/llama-cpp-rs/patch-llama-cpp-sys-2_build.rs deleted file mode 100644 index a1d21fbdbdda..000000000000 --- a/misc/shimmy/files/llama-cpp-rs/patch-llama-cpp-sys-2_build.rs +++ /dev/null @@ -1,38 +0,0 @@ ---- llama-cpp-sys-2/build.rs.orig 2025-10-06 14:29:33 UTC -+++ llama-cpp-sys-2/build.rs -@@ -20,6 +20,7 @@ enum TargetOs { - Apple(AppleVariant), - Linux, - Android, -+ FreeBSD, - } - - macro_rules! debug_log { -@@ -55,6 +56,8 @@ fn parse_target_os() -> Result<(TargetOs, String), Str - Ok((TargetOs::Android, target)) - } else if target.contains("linux") { - Ok((TargetOs::Linux, target)) -+ } else if target.contains("freebsd") { -+ Ok((TargetOs::FreeBSD, target)) - } else { - Err(target) - } -@@ -648,7 +651,7 @@ fn main() { - config.cflag("/FS"); - config.cxxflag("/FS"); - } -- TargetOs::Linux => { -+ TargetOs::Linux | TargetOs::FreeBSD => { - println!("cargo:rustc-link-lib=vulkan"); - } - _ => (), -@@ -754,6 +757,9 @@ fn main() { - } - TargetOs::Linux => { - println!("cargo:rustc-link-lib=dylib=stdc++"); -+ } -+ TargetOs::FreeBSD => { -+ println!("cargo:rustc-link-lib=dylib=c++"); - } - TargetOs::Apple(variant) => { - println!("cargo:rustc-link-lib=framework=Foundation"); -- cgit v1.2.3