Skip to content

Commit d2f61e1

Browse files
committed
Update Makefile to enable Vulkan and OpenMP for Linux builds
1 parent 5039cf6 commit d2f61e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ else ifeq ($(PLATFORM),isim)
105105
else # linux
106106
TARGET := $(DIST_DIR)/ai.so
107107
LDFLAGS += -shared
108-
LLAMA_OPTIONS += -DCMAKE_POSITION_INDEPENDENT_CODE=ON
109-
WHISPER_OPTIONS += -DCMAKE_POSITION_INDEPENDENT_CODE=ON
108+
LLAMA_OPTIONS += -DGGML_VULKAN=ON -DGGML_OPENMP=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON
109+
WHISPER_OPTIONS += -DGGML_VULKAN=ON -DGGML_OPENMP=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON
110110
endif
111111

112112
# Windows .def file generation

0 commit comments

Comments
 (0)