llama-cpp: add metal test case

This commit is contained in:
Ihar Hrachyshka
2025-09-11 18:32:18 -04:00
parent 94f2a818e8
commit 2eb6522e21
+12 -6
View File
@@ -32,6 +32,7 @@
rpcSupport ? false,
apple-sdk_14,
curl,
llama-cpp,
shaderc,
vulkan-headers,
vulkan-loader,
@@ -175,12 +176,17 @@ effectiveStdenv.mkDerivation (finalAttrs: {
# the tests are failing as of 2025-08
doCheck = false;
passthru.updateScript = nix-update-script {
attrPath = "llama-cpp";
extraArgs = [
"--version-regex"
"b(.*)"
];
passthru = {
tests = {
metal = llama-cpp.override { metalSupport = true; };
};
updateScript = nix-update-script {
attrPath = "llama-cpp";
extraArgs = [
"--version-regex"
"b(.*)"
];
};
};
meta = {