Skip to content

Commit a16f589

Browse files
committed
nix: cmakeFlags: explicit OFF bools
1 parent 12d4a68 commit a16f589

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.devops/nix/package.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,13 @@ effectiveStdenv.mkDerivation (
137137
(cmakeBool "LLAMA_BUILD_SERVER" true)
138138
(cmakeBool "BUILD_SHARED_LIBS" true)
139139
(cmakeBool "CMAKE_SKIP_BUILD_RPATH" true)
140-
(cmakeBool "LLAMA_METAL" useMetalKit)
141140
(cmakeBool "LLAMA_BLAS" useBlas)
141+
(cmakeBool "LLAMA_CLBLAST" useOpenCL)
142+
(cmakeBool "LLAMA_CUBLAS" useCuda)
143+
(cmakeBool "LLAMA_HIPBLAS" useRocm)
144+
(cmakeBool "LLAMA_METAL" useMetalKit)
142145
]
143-
++ optionals useOpenCL [ (cmakeBool "LLAMA_CLBLAST" true) ]
144-
++ optionals useCuda [ (cmakeBool "LLAMA_CUBLAS" true) ]
145146
++ optionals useRocm [
146-
(cmakeBool "LLAMA_HIPBLAS" true)
147147
(cmakeFeature "CMAKE_C_COMPILER" "hipcc")
148148
(cmakeFeature "CMAKE_CXX_COMPILER" "hipcc")
149149

0 commit comments

Comments
 (0)