Skip to content

Commit 9d5d0e4

Browse files
committed
Build EXTENSION_DATA_LOADER with size_test
size_test.cpp uses FileDataLoader; no idea how this happens to work currently. Had to remove conflict with ARM_BAREMETAL because the size test is built for that too. ghstack-source-id: 3d56a97 ghstack-comment-id: 3097740659 Pull-Request: #12678
1 parent b460b98 commit 9d5d0e4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

extension/llm/tokenizers

test/build_size_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ cmake_install_executorch_lib() {
2828
-DCMAKE_INSTALL_PREFIX=cmake-out \
2929
-DCMAKE_BUILD_TYPE=Release \
3030
-DEXECUTORCH_BUILD_EXECUTOR_RUNNER=OFF \
31+
-DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \
3132
-DEXECUTORCH_OPTIMIZE_SIZE=ON \
3233
-DPYTHON_EXECUTABLE="$PYTHON_EXECUTABLE" \
3334
${EXTRA_BUILD_ARGS} \

tools/cmake/preset/default.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ check_required_options_on(
249249

250250
check_conflicting_options_on(
251251
IF_ON EXECUTORCH_BUILD_ARM_BAREMETAL CONFLICTS_WITH
252-
EXECUTORCH_BUILD_EXTENSION_DATA_LOADER EXECUTORCH_BUILD_PTHREADPOOL
252+
EXECUTORCH_BUILD_PTHREADPOOL
253253
EXECUTORCH_BUILD_CPUINFO
254254
)
255255

0 commit comments

Comments
 (0)