File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ if(NOT EXECUTORCH_ROOT)
16
16
set (EXECUTORCH_ROOT ${CMAKE_CURRENT_SOURCE_DIR} /../..)
17
17
endif ()
18
18
19
-
19
+ list (TRANSFORM _extension_named_data_map__srcs PREPEND " ${EXECUTORCH_ROOT} /" )
20
20
# Create the library
21
21
add_library (extension_named_data_map ${_extension_named_data_map__srcs} )
22
22
Original file line number Diff line number Diff line change @@ -58,6 +58,6 @@ et_cxx_test(
58
58
)
59
59
60
60
add_dependencies (
61
- extension_named_data_map_tensor_test extension_named_data_map extension_named_data_map_test_resources
61
+ extension_named_data_map_test extension_named_data_map extension_named_data_map_test_resources
62
62
)
63
63
set_property (TEST extension_named_data_map_test PROPERTY ENVIRONMENT ${test_env} )
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ build_executorch() {
41
41
-DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \
42
42
-DEXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR=ON \
43
43
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
44
+ -DEXECUTORCH_BUILD_EXTENSION_NAMED_DATA_MAP=ON \
44
45
-DEXECUTORCH_BUILD_EXTENSION_LLM=ON \
45
46
-DEXECUTORCH_BUILD_EXTENSION_LLM_RUNNER=ON \
46
47
-DEXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL=ON \
Original file line number Diff line number Diff line change @@ -86,6 +86,9 @@ define_overridable_option(
86
86
define_overridable_option(
87
87
EXECUTORCH_BUILD_EXTENSION_MODULE "Build the Module extension" BOOL OFF
88
88
)
89
+ define_overridable_option(
90
+ EXECUTORCH_BUILD_EXTENSION_NAMED_DATA_MAP "Build the Named Data Map extension" BOOL OFF
91
+ )
89
92
define_overridable_option(
90
93
EXECUTORCH_BUILD_EXTENSION_TENSOR "Build the Tensor extension" BOOL OFF
91
94
)
You can’t perform that action at this time.
0 commit comments