Skip to content

Commit 4a3542b

Browse files
committed
reintroduced useVulkan parameter
1 parent bf11052 commit 4a3542b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devops/nix/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,11 @@ effectiveStdenv.mkDerivation (
261261
# Configurations we don't want even the CI to evaluate. Results in the
262262
# "unsupported platform" messages. This is mostly a no-op, because
263263
# cudaPackages would've refused to evaluate anyway.
264-
badPlatforms = optionals (useCuda || useOpenCL) lib.platforms.darwin;
264+
badPlatforms = optionals (useCuda || useOpenCL || useVulkan) lib.platforms.darwin;
265265

266266
# Configurations that are known to result in build failures. Can be
267267
# overridden by importing Nixpkgs with `allowBroken = true`.
268-
broken = (useMetalKit && !effectiveStdenv.isDarwin);
268+
broken = (useMetalKit && !effectiveStdenv.isDarwin) || (useVulkan && effectiveStdenv.isDarwin);
269269

270270
description = "Inference of LLaMA model in pure C/C++${descriptionSuffix}";
271271
homepage = "https://github.com/ggerganov/llama.cpp/";

0 commit comments

Comments
 (0)