Skip to content

Commit 687730a

Browse files
authored
fix: go-piper add libucd at linking time (#1357)
Signed-off-by: Gianluca Boiano <[email protected]>
1 parent b782136 commit 687730a

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
@@ -28,7 +28,7 @@ WHISPER_CPP_VERSION?=85ed71aaec8e0612a84c0b67804bde75aa75a273
2828
BERT_VERSION?=6abe312cded14042f6b7c3cd8edf082713334a4d
2929

3030
# go-piper version
31-
PIPER_VERSION?=7fe05263b4ca3ffa93a53e2737643a6a6afb9a7b
31+
PIPER_VERSION?=5a4c9e28c84bac09ab6baa9f88457d852cb46bb2
3232

3333
# stablediffusion version
3434
STABLEDIFFUSION_VERSION?=902db5f066fd137697e3b69d0fa10d4782bd2c2f
@@ -126,7 +126,7 @@ ifeq ($(findstring tts,$(GO_TAGS)),tts)
126126
# OPTIONAL_TARGETS+=go-piper/libpiper_binding.a
127127
# OPTIONAL_TARGETS+=backend-assets/espeak-ng-data
128128
PIPER_CGO_CXXFLAGS+=-I$(shell pwd)/sources/go-piper/piper/src/cpp -I$(shell pwd)/sources/go-piper/piper/build/fi/include -I$(shell pwd)/sources/go-piper/piper/build/pi/include -I$(shell pwd)/sources/go-piper/piper/build/si/include
129-
PIPER_CGO_LDFLAGS+=-L$(shell pwd)/sources/go-piper/piper/build/fi/lib -L$(shell pwd)/sources/go-piper/piper/build/pi/lib -L$(shell pwd)/sources/go-piper/piper/build/si/lib -lfmt -lspdlog
129+
PIPER_CGO_LDFLAGS+=-L$(shell pwd)/sources/go-piper/piper/build/fi/lib -L$(shell pwd)/sources/go-piper/piper/build/pi/lib -L$(shell pwd)/sources/go-piper/piper/build/si/lib -lfmt -lspdlog -lucd
130130
OPTIONAL_GRPC+=backend-assets/grpc/piper
131131
endif
132132

0 commit comments

Comments
 (0)