mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-11-11 13:30:35 +00:00
using blas.meta.available to check host platform
This commit is contained in:
parent
dbb03e2b9c
commit
c873976649
@ -200,7 +200,7 @@ effectiveStdenv.mkDerivation (
|
||||
++ optionals useMpi [ mpi ]
|
||||
++ optionals useOpenCL [ clblast ]
|
||||
++ optionals useRocm rocmBuildInputs
|
||||
++ optionals (useBlas && builtins.elem effectiveStdenv.hostPlatform.system blas.meta.platforms) [ blas ]
|
||||
++ optionals (useBlas && blas.meta.available) [ blas ]
|
||||
++ optionals useVulkan vulkanBuildInputs;
|
||||
|
||||
cmakeFlags =
|
||||
|
Loading…
Reference in New Issue
Block a user