File tree Expand file tree Collapse file tree 4 files changed +2
-11
lines changed Expand file tree Collapse file tree 4 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ set_up_aot() {
39
39
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
40
40
-DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
41
41
-DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
42
- -DPYTHON_EXECUTABLE=python3 \
43
- -DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF
42
+ -DPYTHON_EXECUTABLE=python3
44
43
cmake --build $PWD --target " PyQnnManagerAdaptor" " PyQnnWrapperAdaptor" -j$( nproc)
45
44
# install Python APIs to correct import path
46
45
# The filename might vary depending on your Python and host version.
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ if [ "$build_with_etdump" = true ] ; then
82
82
-DEXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL=ON \
83
83
-DEXECUTORCH_BUILD_DEVTOOLS=ON \
84
84
-DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
85
- -DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=ON \
86
85
-DFLATCC_ALLOW_WERROR=OFF \
87
86
-B" ${et_build_host_dir} " \
88
87
" ${et_root_dir} "
@@ -111,7 +110,6 @@ if [ "$build_with_etdump" = true ] ; then
111
110
# Add DevTools flags use in the Target build below
112
111
build_with_etdump_flags=" -DEXECUTORCH_BUILD_DEVTOOLS=ON \
113
112
-DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
114
- -DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF \
115
113
-DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=OFF \
116
114
-DFLATCC_ALLOW_WERROR=OFF \
117
115
-DFLATCC_EXECUTABLE=${et_build_host_dir} /bin/flatcc "
Original file line number Diff line number Diff line change @@ -143,8 +143,7 @@ cmake .. \
143
143
-DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
144
144
-DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
145
145
-DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
146
- -DPYTHON_EXECUTABLE=python3 \
147
- -DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF
146
+ -DPYTHON_EXECUTABLE=python3
148
147
149
148
# nproc is used to detect the number of available CPU.
150
149
# If it is not applicable, please feel free to use the number you want.
Original file line number Diff line number Diff line change @@ -714,11 +714,6 @@ def run(self): # noqa C901
714
714
"-DEXECUTORCH_ENABLE_LOGGING=ON" ,
715
715
"-DEXECUTORCH_LOG_LEVEL=Info" ,
716
716
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15" ,
717
- # The separate host project is only required when cross-compiling,
718
- # and it can cause build race conditions (libflatcc.a errors) when
719
- # enabled. TODO(dbort): Remove this override once this option is
720
- # managed by cmake itself.
721
- "-DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF" ,
722
717
"-DEXECUTORCH_BUILD_TESTS=ON" ,
723
718
]
724
719
You can’t perform that action at this time.
0 commit comments