Skip to content

Commit d9a1ffc

Browse files
committed
make disable pcre2 feature by default
1 parent a9de37b commit d9a1ffc

File tree

4 files changed

+6
-31
lines changed

4 files changed

+6
-31
lines changed

Cargo.lock

Lines changed: 4 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ dynamo-mocker = { path = "lib/mocker", version = "1.0.0" }
4646
dynamo-kv-router = { path = "lib/kv-router", version = "1.0.0", features = ["metrics"] }
4747
dynamo-async-openai = { path = "lib/async-openai", version = "1.0.0", features = ["byot"] }
4848
dynamo-parsers = { path = "lib/parsers", version = "1.0.0" }
49-
fastokens = { git = "https://github.com/biswapanda/fastokens", rev = "aed8b9f3ba024c689c72985d62506dfa79daec25", version = "0.1.0" }
49+
fastokens = { git = "https://github.com/biswapanda/fastokens", rev = "e79e7bd2a4b2e1bc3f372aa29a268954c95f43c7", version = "0.1.0", default-features = false }
5050

5151
# kvbm
5252
kvbm-common = { path = "lib/kvbm-common", version = "0.1.0" }

deploy/inference-gateway/epp/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,10 @@ ARG BUILD_REF
8787
WORKDIR /workspace
8888

8989
# Install build dependencies for CGO
90-
# libpcre2-dev: required by the pcre2 crate (transitive dep of fastokens)
9190
RUN apt-get update && apt-get install -y --no-install-recommends \
9291
gcc \
9392
g++ \
9493
libc-dev \
95-
libpcre2-dev \
9694
&& rm -rf /var/lib/apt/lists/*
9795

9896
# Copy go mod files first for better caching (from default context = epp/)

deploy/inference-gateway/epp/pkg/plugins/dynamo_kv_scorer/plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ package dynamo_kv_scorer
2424
/*
2525
#cgo CPPFLAGS: -I${SRCDIR}/include
2626
#cgo CXXFLAGS: -std=c++17
27-
#cgo LDFLAGS: ${SRCDIR}/lib/libdynamo_llm_capi.a -lstdc++ -ldl -lpthread -lm -lpcre2-8
27+
#cgo LDFLAGS: ${SRCDIR}/lib/libdynamo_llm_capi.a -lstdc++ -ldl -lpthread -lm
2828
2929
#include <stdint.h>
3030
#include <stddef.h>

0 commit comments

Comments
 (0)