Download tools/imatrix/CMakeLists.txt from Brunobkr/llama.cpp_AlgMor24_github: direct link, hf CLI and curl.
- Browser
- Download file 422 Bytes
-
https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/tools/imatrix/CMakeLists.txt
- Command line
-
hf download hf://datasets/Brunobkr/llama.cpp_AlgMor24_github/tools/imatrix/CMakeLists.txt
-
curl -L -o CMakeLists.txt https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github/resolve/main/tools/imatrix/CMakeLists.txt
422 Bytes
| set(TARGET llama-imatrix) | |
| add_executable(${TARGET} imatrix.cpp) | |
| target_link_libraries(${TARGET} PRIVATE llama-common llama ${CMAKE_THREAD_LIBS_INIT}) | |
| target_compile_features(${TARGET} PRIVATE cxx_std_17) | |
| if(LLAMA_TOOLS_INSTALL) | |
| install(TARGETS ${TARGET} RUNTIME) | |
| endif() | |
| if (CMAKE_SYSTEM_NAME MATCHES "AIX") | |
| # AIX's flock() function comes from libbsd.a | |
| target_link_libraries(${TARGET} PRIVATE -lbsd) | |
| endif() | |