Browse Source

nix : removed metal for nix (#16118)

Yuannan 3 tháng trước cách đây
mục cha
commit
1d49ca3759
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      .devops/nix/package.nix

+ 0 - 4
.devops/nix/package.nix

@@ -128,10 +128,6 @@ effectiveStdenv.mkDerivation (finalAttrs: {
   };
   };
 
 
   postPatch = ''
   postPatch = ''
-    substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \
-      --replace '[bundle pathForResource:@"ggml-metal" ofType:@"metal"];' "@\"$out/bin/ggml-metal.metal\";"
-    substituteInPlace ./ggml/src/ggml-metal/ggml-metal.m \
-      --replace '[bundle pathForResource:@"default" ofType:@"metallib"];' "@\"$out/bin/default.metallib\";"
   '';
   '';
 
 
   # With PR#6015 https://github.com/ggml-org/llama.cpp/pull/6015,
   # With PR#6015 https://github.com/ggml-org/llama.cpp/pull/6015,