llama-cpp: remove passthru test specific to x86_64-darwin
The architecture is no longer support so we no longer need to conditionalize metalSupport on isAarch64, nor we need to carry a test that makes sense only when metal support is off (which was the case on x86_64-darwin).
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
npmHooks,
|
||||
|
||||
pkg-config,
|
||||
metalSupport ? stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64 && !openclSupport,
|
||||
metalSupport ? stdenv.hostPlatform.isDarwin && !openclSupport,
|
||||
vulkanSupport ? false,
|
||||
rpcSupport ? false,
|
||||
openssl,
|
||||
@@ -206,9 +206,6 @@ effectiveStdenv.mkDerivation (finalAttrs: {
|
||||
doCheck = false;
|
||||
|
||||
passthru = {
|
||||
tests = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
|
||||
metal = llama-cpp.override { metalSupport = true; };
|
||||
};
|
||||
updateScript = nix-update-script {
|
||||
attrPath = "llama-cpp";
|
||||
extraArgs = [
|
||||
|
||||
Reference in New Issue
Block a user