diff options
author | wzy <32936898+Freed-Wu@users.noreply.github.com> | 2023-07-15 03:05:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-14 22:05:08 +0300 |
commit | 7dabc66f3c63f8ea0f61bac346fa138e01df675f (patch) | |
tree | abec5fe8d5e523ad320e09f389020e12fda62799 /Makefile | |
parent | 7cdd30bf1f84339c55a5e3de29384f6bbdebb61c (diff) |
make : use pkg-config for OpenBLAS (#2222)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -154,8 +154,8 @@ ifdef LLAMA_MPI endif # LLAMA_MPI ifdef LLAMA_OPENBLAS - CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas -I/usr/include/openblas - LDFLAGS += -lopenblas + CFLAGS += -DGGML_USE_OPENBLAS $(shell pkg-config --cflags openblas) + LDFLAGS += $(shell pkg-config --libs openblas) endif # LLAMA_OPENBLAS ifdef LLAMA_BLIS |