[build] pass build type to cmake on libtransformers.a build (#741)

Co-authored-by: Enzo Einhorn <enzo.einhorn@hiventive.com>
This commit is contained in:
Enzo Einhorn 2023-07-18 19:04:19 +02:00 committed by GitHub
parent 8379cce209
commit e995b95c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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