llama.cpp build and install
Ubuntu
cd ~/space
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
doas apt update
doas apt install build-essential cmake curl libcurl4-openssl-dev
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp
cmake -B build
# or
cmake -B build
-DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON -DLLAMA_CURL=ON
cmake --build build --config Release -j8
# -- clean-first
doas cmake --install build --prefix /usr