From e995b95c94f15de0f777ea821830063437ef7bcb Mon Sep 17 00:00:00 2001 From: Enzo Einhorn <52015993+TonDar0n@users.noreply.github.com> Date: Tue, 18 Jul 2023 19:04:19 +0200 Subject: [PATCH] [build] pass build type to cmake on libtransformers.a build (#741) Co-authored-by: Enzo Einhorn --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index efd4234..6f638b1 100644 --- a/Makefile +++ b/Makefile @@ -189,7 +189,7 @@ go-ggml-transformers: cd go-ggml-transformers && git checkout -b build $(GOGPT2_VERSION) && git submodule update --init --recursive --depth 1 go-ggml-transformers/libtransformers.a: go-ggml-transformers - $(MAKE) -C go-ggml-transformers libtransformers.a + $(MAKE) -C go-ggml-transformers BUILD_TYPE=$(BUILD_TYPE) libtransformers.a whisper.cpp: git clone https://github.com/ggerganov/whisper.cpp.git