File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ for i in "${!test_model[@]}"; do
200200
201201 # Remove old pte files
202202 rm -f " ${output_folder} /${model_filename} "
203-
203+
204204 ARM_AOT_CMD=" python3 -m examples.arm.aot_arm_compiler --model_name=${model} --target=${target} ${model_compiler_flags} --intermediate=${output_folder} --output=${pte_file} --so_library=$SO_LIB --system_config=${system_config} --memory_mode=${memory_mode} $bundleio_flag "
205205 echo " CALL ${ARM_AOT_CMD} " >&2
206206 ${ARM_AOT_CMD} 1>&2
Original file line number Diff line number Diff line change @@ -71,11 +71,18 @@ def define_common_targets():
7171 name = "mmap_data_loader" ,
7272 srcs = [
7373 "mmap_data_loader.cpp"
74- ] + (["mman_windows.cpp" ] if host_info ().os .is_windows else []),
75- headers = [
74+ ] + select ({
75+ "DEFAULT" : [],
76+ "ovr_config//os:windows" : ["mman_windows.cpp" ],
77+ }),
78+ headers = select ({
79+ "DEFAULT" : [],
80+ "ovr_config//os:windows" : ["mman_windows.h" ],
81+ }),
82+ exported_headers = [
7683 "mman.h" ,
77- ] + ([ "mman_windows .h"] if host_info (). os . is_windows else []),
78- exported_headers = [ "mmap_data_loader.h" ],
84+ "mmap_data_loader .h"
85+ ],
7986 visibility = [
8087 "//executorch/test/..." ,
8188 "//executorch/extension/pybindings/..." ,
You can’t perform that action at this time.
0 commit comments