-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make flatcc cross-compile deterministic (#4312)
Summary: As mentioned in #4297, the original flow makes host / cross build happen concurrently. This change moves host build process into cmake configuring stage and refine related dependencies. Pull Request resolved: #4312 Test Plan: - cross-compile > Through running `backends/qualcomm/script/build.sh --release`, we could check if the compiling process successfully finished. - native-compile > Run following to check: ```shell cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DQNN_SDK_ROOT=${QNN_SDK_ROOT} \ -DEXECUTORCH_BUILD_QNN=ON \ -DEXECUTORCH_BUILD_SDK=ON \ -DPYTHON_EXECUTABLE=$PYTHON_EXECUTABLE \ -S $EXECUTORCH_ROOT \ -B $EXECUTORCH_ROOT/build_x86_64 \ ``` Reviewed By: tarun292 Differential Revision: D60243701 Pulled By: dbort fbshipit-source-id: ff8d8cb06f0cc296c7ef465596e7e3df367dd059
- Loading branch information
1 parent
1b6d5bb
commit 15815dd
Showing
1 changed file
with
27 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters