File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
examples/portable/executor_runner Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ int main(int argc, char** argv) {
302
302
if (tracer.get_event_tracer ()) {
303
303
// Dump ETDump data containing profiling/debugging data to file specified in
304
304
// command line flag.
305
- Error status = tracer.write_etdump_to_file ();
305
+ status = tracer.write_etdump_to_file ();
306
306
ET_CHECK_MSG (status == Error::Ok, " Failed to save ETDump file." );
307
307
}
308
308
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ def define_common_targets():
13
13
runtime .cxx_library (
14
14
name = "executor_runner_lib" ,
15
15
srcs = ["executor_runner.cpp" ],
16
+ compiler_flags = ["-Wno-global-constructors" ],
16
17
deps = [
17
18
"//executorch/runtime/executor:program" ,
18
19
"//executorch/devtools/etdump:etdump_flatcc" ,
@@ -32,6 +33,7 @@ def define_common_targets():
32
33
runtime .cxx_library (
33
34
name = "executor_runner_lib_with_threadpool" ,
34
35
srcs = ["executor_runner.cpp" ],
36
+ compiler_flags = ["-Wno-global-constructors" ],
35
37
deps = [
36
38
"//executorch/runtime/executor:program" ,
37
39
"//executorch/extension/data_loader:file_data_loader" ,
You can’t perform that action at this time.
0 commit comments