File tree Expand file tree Collapse file tree 2 files changed +5
-277
lines changed Expand file tree Collapse file tree 2 files changed +5
-277
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,10 @@ ARG WAMR_BUILD_TARGET
7272ARG EXTRA_CMAKE_FLAGS
7373ENV EXTRA_CMAKE_FLAGS=${EXTRA_CMAKE_FLAGS}
7474
75+ # Optional: jemalloc configure flags (e.g., page size). Leave unset to keep defaults.
76+ ARG FLB_JEMALLOC_OPTIONS
77+ ENV FLB_JEMALLOC_OPTIONS=${FLB_JEMALLOC_OPTIONS}
78+
7579# We do not want word splitting for EXTRA_CMAKE_FLAGS in case multiple are defined
7680# hadolint ignore=SC2086
7781RUN [ -n "${WAMR_BUILD_TARGET:-}" ] && EXTRA_CMAKE_FLAGS="$EXTRA_CMAKE_FLAGS -DWAMR_BUILD_TARGET=$WAMR_BUILD_TARGET" ; \
@@ -89,6 +93,7 @@ RUN [ -n "${WAMR_BUILD_TARGET:-}" ] && EXTRA_CMAKE_FLAGS="$EXTRA_CMAKE_FLAGS -DW
8993 -DFLB_NIGHTLY_BUILD="$FLB_NIGHTLY_BUILD" \
9094 -DFLB_LOG_NO_CONTROL_CHARS=On \
9195 -DFLB_CHUNK_TRACE="$FLB_CHUNK_TRACE" \
96+ -DFLB_JEMALLOC_OPTIONS="$FLB_JEMALLOC_OPTIONS" \
9297 $EXTRA_CMAKE_FLAGS \
9398 ..
9499
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments