From e3c135000c5e5a00cd0230856d18e7303cc9ceda Mon Sep 17 00:00:00 2001 From: byoungdale Date: Thu, 22 Aug 2024 11:33:26 -0700 Subject: [PATCH] fixing go binding makefile; fixed whisper.h comile error; but not getting ggml symbol errors --- bindings/go/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/go/Makefile b/bindings/go/Makefile index 4f3a416a3ff..b2580e515d2 100644 --- a/bindings/go/Makefile +++ b/bindings/go/Makefile @@ -10,12 +10,12 @@ ifndef UNAME_M UNAME_M := $(shell uname -m) endif -GGML_METAL_PATH_RESOURCES := $(abspath ../..) +GGML_METAL_PATH_RESOURCES := $(abspath ../../ggml/src) BUILD_DIR := build MODELS_DIR := models EXAMPLES_DIR := $(wildcard examples/*) -INCLUDE_PATH := $(abspath ../..) -LIBRARY_PATH := $(abspath ../..) +INCLUDE_PATH := $(abspath ../../include):$(abspath ../../ggml/include) +LIBRARY_PATH := $(abspath ../..):$(abspath ../../src):$(abspath ../../ggml/src) ifeq ($(UNAME_S),Darwin) EXT_LDFLAGS := -framework Foundation -framework Metal -framework MetalKit