File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ for i in "${!test_model[@]}"; do
200
200
201
201
# Remove old pte files
202
202
rm -f " ${output_folder} /${model_filename} "
203
-
203
+
204
204
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 "
205
205
echo " CALL ${ARM_AOT_CMD} " >&2
206
206
${ARM_AOT_CMD} 1>&2
Original file line number Diff line number Diff line change @@ -71,11 +71,18 @@ def define_common_targets():
71
71
name = "mmap_data_loader" ,
72
72
srcs = [
73
73
"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 = [
76
83
"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
+ ],
79
86
visibility = [
80
87
"//executorch/test/..." ,
81
88
"//executorch/extension/pybindings/..." ,
You can’t perform that action at this time.
0 commit comments