mirror of
https://github.com/mudler/LocalAI.git
synced 2026-04-01 13:42:20 -04:00
* feat(realtime): WebRTC support Signed-off-by: Richard Palethorpe <io@richiejp.com> * fix(tracing): Show full LLM opts and deltas Signed-off-by: Richard Palethorpe <io@richiejp.com> --------- Signed-off-by: Richard Palethorpe <io@richiejp.com>
20 lines
358 B
Makefile
20 lines
358 B
Makefile
GOCMD?=go
|
|
GO_TAGS?=
|
|
|
|
OPUS_CFLAGS := $(shell pkg-config --cflags opus)
|
|
OPUS_LIBS := $(shell pkg-config --libs opus)
|
|
|
|
libopusshim.so: csrc/opus_shim.c
|
|
$(CC) -shared -fPIC -o $@ $< $(OPUS_CFLAGS) $(OPUS_LIBS)
|
|
|
|
opus: libopusshim.so
|
|
$(GOCMD) build -tags "$(GO_TAGS)" -o opus ./
|
|
|
|
package: opus
|
|
bash package.sh
|
|
|
|
build: package
|
|
|
|
clean:
|
|
rm -f opus libopusshim.so
|