]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Enable Vulkan MacOS CI
author0cc4m <redacted>
Sat, 10 Feb 2024 21:18:33 +0000 (22:18 +0100)
committerPhilip Taron <redacted>
Mon, 19 Feb 2024 22:49:49 +0000 (14:49 -0800)
.devops/nix/package.nix

index ad23f7dd757d1ea1408ad665117656145f4eedf7..815db6a2d8c20c21513395ab71693b5defd19646 100644 (file)
@@ -255,11 +255,11 @@ effectiveStdenv.mkDerivation (
       # Configurations we don't want even the CI to evaluate. Results in the
       # "unsupported platform" messages. This is mostly a no-op, because
       # cudaPackages would've refused to evaluate anyway.
-      badPlatforms = optionals (useCuda || useOpenCL || useVulkan) lib.platforms.darwin;
+      badPlatforms = optionals (useCuda || useOpenCL) lib.platforms.darwin;
 
       # Configurations that are known to result in build failures. Can be
       # overridden by importing Nixpkgs with `allowBroken = true`.
-      broken = (useMetalKit && !effectiveStdenv.isDarwin) || (useVulkan && effectiveStdenv.isDarwin);
+      broken = (useMetalKit && !effectiveStdenv.isDarwin);
 
       description = "Inference of LLaMA model in pure C/C++${descriptionSuffix}";
       homepage = "https://github.com/ggerganov/llama.cpp/";