embed libraries using cmake

This commit is contained in:
Michael Yang
2023-09-20 12:15:23 -07:00
parent fc6ec356fc
commit 6c6a31a1e8
12 changed files with 43 additions and 58 deletions

View File

@@ -35,5 +35,5 @@ Now you can run `ollama`:
## Building on Linux with GPU support
- Install cmake and nvidia-cuda-toolkit
- run `CUBLAS_PATH=/path/to/libcublas.so CUDART_PATH=/path/to/libcudart.so CUBLASLT_PATH=/path/to/libcublasLt.so go generate ./...`
- run `go generate ./...`
- run `go build .`