mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-10 18:51:45 +00:00
Update Makefile with direct path to openblas for Android devices
the path to openblas libraries within the android file system is located at -I/data/data/com.termux/files/usr/include/openblas
This commit is contained in:
parent
2a5ee023ad
commit
6bc86c95de
2
Makefile
2
Makefile
@ -115,7 +115,7 @@ ifndef LLAMA_NO_ACCELERATE
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifdef LLAMA_OPENBLAS
|
ifdef LLAMA_OPENBLAS
|
||||||
CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas -I/usr/include/openblas
|
CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas -I/usr/include/openblas -I/data/data/com.termux/files/usr/include/openblas
|
||||||
ifneq ($(shell grep -e "Arch Linux" -e "ID_LIKE=arch" /etc/os-release 2>/dev/null),)
|
ifneq ($(shell grep -e "Arch Linux" -e "ID_LIKE=arch" /etc/os-release 2>/dev/null),)
|
||||||
LDFLAGS += -lopenblas -lcblas
|
LDFLAGS += -lopenblas -lcblas
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user