Skip to content

Commit 45bf018

Browse files
authored
Arm backend: build with NAMED_DATA_MAP=ON for vgf (#14885)
PR #14861 introduced the NAMED_DATA_MAP extension which is required to be on when BUILD_EXTENSION_MODULE is on. Therefore, turn it on where needed. Signed-off-by: Erik Lundell <erik.lundell@arm.com>
1 parent ab5fb84 commit 45bf018

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

backends/arm/scripts/build_executor_runner_vkml.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ cmake \
6969
-DCMAKE_BUILD_TYPE=${build_type} \
7070
-DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \
7171
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
72+
-DEXECUTORCH_BUILD_EXTENSION_NAMED_DATA_MAP=ON \
7273
-DEXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR=ON \
7374
-DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
7475
-DEXECUTORCH_BUILD_XNNPACK=OFF \

examples/arm/vgf_minimal_example.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@
240240
" -DCMAKE_BUILD_TYPE=Debug \\\n",
241241
" -DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=ON \\\n",
242242
" -DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \\\n",
243+
" -DEXECUTORCH_BUILD_EXTENSION_NAMED_DATA_MAP=ON \\\n",
243244
" -DEXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR=ON \\\n",
244245
" -DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \\\n",
245246
" -DEXECUTORCH_BUILD_KERNELS_QUANTIZED=ON \\\n",

0 commit comments

Comments
 (0)