@@ -90,7 +90,7 @@ ifeq ($(OS),Darwin)
90
90
# -lcblas removed: it seems to always be listed as a duplicate flag.
91
91
CGO_LDFLAGS += -framework Accelerate
92
92
endif
93
- else
93
+ else
94
94
CGO_LDFLAGS_WHISPER+ =-lgomp
95
95
endif
96
96
@@ -178,6 +178,8 @@ ALL_GRPC_BACKENDS+=backend-assets/grpc/rwkv
178
178
ALL_GRPC_BACKENDS+ =backend-assets/grpc/whisper
179
179
ALL_GRPC_BACKENDS+ =backend-assets/grpc/local-store
180
180
ALL_GRPC_BACKENDS+ =$(OPTIONAL_GRPC )
181
+ # Use filter-out to remove the specified backends
182
+ ALL_GRPC_BACKENDS := $(filter-out $(SKIP_GRPC_BACKEND ) ,$(ALL_GRPC_BACKENDS ) )
181
183
182
184
GRPC_BACKENDS? =$(ALL_GRPC_BACKENDS ) $(OPTIONAL_GRPC )
183
185
TEST_PATHS? =./api/... ./pkg/... ./core/...
362
364
shasum -a 256 release/$(BINARY_NAME)-$(BUILD_ID)-$(OS)-$(ARCH) > release/$(BINARY_NAME)-$(BUILD_ID)-$(OS)-$(ARCH).sha256
363
365
endif
364
366
365
- dist-cross-linux-arm64 :
367
+ dist-cross-linux-arm64 :
366
368
CMAKE_ARGS=" $( CMAKE_ARGS) -DGGML_NATIVE=off" GRPC_BACKENDS=" backend-assets/grpc/llama-cpp-fallback backend-assets/grpc/llama-cpp-grpc backend-assets/util/llama-cpp-rpc-server" \
367
369
STATIC=true $(MAKE ) build
368
370
mkdir -p release
@@ -870,7 +872,7 @@ gen-assets:
870
872
$(GOCMD ) run core/dependencies_manager/manager.go embedded/webui_static.yaml core/http/static/assets
871
873
872
874
# # Documentation
873
- docs/layouts/_default :
875
+ docs/layouts/_default :
874
876
mkdir -p docs/layouts/_default
875
877
876
878
docs/static/gallery.html : docs/layouts/_default
@@ -885,4 +887,4 @@ docs-clean:
885
887
886
888
.PHONY : docs
887
889
docs : docs/static/gallery.html
888
- cd docs && hugo serve
890
+ cd docs && hugo serve
0 commit comments