diff options
author | Jose Maldonado <63384398+yukiteruamano@users.noreply.github.com> | 2023-07-23 07:52:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-23 14:52:08 +0300 |
commit | 91171b8072f6f0c8ae3a61e23451acb538bb9ece (patch) | |
tree | 361b3bb789a174e3487ec6ac06855c1371aae569 /README.md | |
parent | 355c80f49e32b0b15c0a457f3bad380e57f5b9ac (diff) |
make : fix CLBLAST compile support in FreeBSD (#2331)
* Fix Makefile for CLBLAST compile support and instructions for compile llama.cpp FreeBSD
* More general use-case for CLBLAST support (Linux and FreeBSD)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -242,6 +242,23 @@ In order to build llama.cpp you have three different options. zig build -Doptimize=ReleaseFast ``` +- Using `gmake` (FreeBSD): + + 1. Install and activate [DRM in FreeBSD](https://wiki.freebsd.org/Graphics) + 2. Add your user to **video** group + 3. Install compilation dependencies. + + ```bash + sudo pkg install gmake automake autoconf pkgconf llvm15 clinfo clover \ + opencl clblast openblas + + gmake CC=/usr/local/bin/clang15 CXX=/usr/local/bin/clang++15 -j4 + ``` + + **Notes:** With this packages you can build llama.cpp with OPENBLAS and + CLBLAST support for use OpenCL GPU acceleration in FreeBSD. Please read + the instructions for use and activate this options in this document below. + ### Metal Build Using Metal allows the computation to be executed on the GPU for Apple devices: |