buildStatic variable to toggle static builds
This commit is contained in:
parent
498e998cd7
commit
bf11052b9f
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ effectiveStdenv.mkDerivation (
|
||||||
[
|
[
|
||||||
(cmakeBool "LLAMA_NATIVE" false)
|
(cmakeBool "LLAMA_NATIVE" false)
|
||||||
(cmakeBool "LLAMA_BUILD_SERVER" true)
|
(cmakeBool "LLAMA_BUILD_SERVER" true)
|
||||||
(cmakeBool "BUILD_SHARED_LIBS" !buildStatic)
|
(cmakeBool "BUILD_SHARED_LIBS" (!buildStatic))
|
||||||
(cmakeBool "CMAKE_SKIP_BUILD_RPATH" true)
|
(cmakeBool "CMAKE_SKIP_BUILD_RPATH" true)
|
||||||
(cmakeBool "LLAMA_BLAS" useBlas)
|
(cmakeBool "LLAMA_BLAS" useBlas)
|
||||||
(cmakeBool "LLAMA_CLBLAST" useOpenCL)
|
(cmakeBool "LLAMA_CLBLAST" useOpenCL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue