mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 02:44:36 +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 useMpi [ mpi ]
|
||||||
++ optionals useOpenCL [ clblast ]
|
++ optionals useOpenCL [ clblast ]
|
||||||
++ optionals useRocm rocmBuildInputs
|
++ optionals useRocm rocmBuildInputs
|
||||||
++ optionals (useBlas && builtins.elem effectiveStdenv.hostPlatform.system blas.meta.platforms) [ blas ]
|
++ optionals (useBlas && blas.meta.available) [ blas ]
|
||||||
++ optionals useVulkan vulkanBuildInputs;
|
++ optionals useVulkan vulkanBuildInputs;
|
||||||
|
|
||||||
cmakeFlags =
|
cmakeFlags =
|
||||||
|
Loading…
Reference in New Issue
Block a user