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() {
3939 -DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
4040 -DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
4141 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
42- -DPYTHON_EXECUTABLE=python3 \
43- -DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF
42+ -DPYTHON_EXECUTABLE=python3
4443 cmake --build $PWD --target " PyQnnManagerAdaptor" " PyQnnWrapperAdaptor" -j$( nproc)
4544 # install Python APIs to correct import path
4645 # 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
8282 -DEXECUTORCH_BUILD_EXTENSION_RUNNER_UTIL=ON \
8383 -DEXECUTORCH_BUILD_DEVTOOLS=ON \
8484 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
85- -DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=ON \
8685 -DFLATCC_ALLOW_WERROR=OFF \
8786 -B" ${et_build_host_dir} " \
8887 " ${et_root_dir} "
@@ -111,7 +110,6 @@ if [ "$build_with_etdump" = true ] ; then
111110 # Add DevTools flags use in the Target build below
112111 build_with_etdump_flags=" -DEXECUTORCH_BUILD_DEVTOOLS=ON \
113112 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
114- -DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF \
115113 -DEXECUTORCH_BUILD_EXTENSION_DATA_LOADER=OFF \
116114 -DFLATCC_ALLOW_WERROR=OFF \
117115 -DFLATCC_EXECUTABLE=${et_build_host_dir} /bin/flatcc "
Original file line number Diff line number Diff line change @@ -143,8 +143,7 @@ cmake .. \
143143 -DEXECUTORCH_BUILD_EXTENSION_MODULE=ON \
144144 -DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
145145 -DEXECUTORCH_ENABLE_EVENT_TRACER=ON \
146- -DPYTHON_EXECUTABLE=python3 \
147- -DEXECUTORCH_SEPARATE_FLATCC_HOST_PROJECT=OFF
146+ -DPYTHON_EXECUTABLE=python3
148147
149148# nproc is used to detect the number of available CPU.
150149# 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
714714 "-DEXECUTORCH_ENABLE_LOGGING=ON" ,
715715 "-DEXECUTORCH_LOG_LEVEL=Info" ,
716716 "-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" ,
722717 "-DEXECUTORCH_BUILD_TESTS=ON" ,
723718 ]
724719
You can’t perform that action at this time.
0 commit comments