File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,13 +137,13 @@ effectiveStdenv.mkDerivation (
137
137
( cmakeBool "LLAMA_BUILD_SERVER" true )
138
138
( cmakeBool "BUILD_SHARED_LIBS" true )
139
139
( cmakeBool "CMAKE_SKIP_BUILD_RPATH" true )
140
- ( cmakeBool "LLAMA_METAL" useMetalKit )
141
140
( cmakeBool "LLAMA_BLAS" useBlas )
141
+ ( cmakeBool "LLAMA_CLBLAST" useOpenCL )
142
+ ( cmakeBool "LLAMA_CUBLAS" useCuda )
143
+ ( cmakeBool "LLAMA_HIPBLAS" useRocm )
144
+ ( cmakeBool "LLAMA_METAL" useMetalKit )
142
145
]
143
- ++ optionals useOpenCL [ ( cmakeBool "LLAMA_CLBLAST" true ) ]
144
- ++ optionals useCuda [ ( cmakeBool "LLAMA_CUBLAS" true ) ]
145
146
++ optionals useRocm [
146
- ( cmakeBool "LLAMA_HIPBLAS" true )
147
147
( cmakeFeature "CMAKE_C_COMPILER" "hipcc" )
148
148
( cmakeFeature "CMAKE_CXX_COMPILER" "hipcc" )
149
149
You can’t perform that action at this time.
0 commit comments