You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove usage of external flatc in builds and scripts (#9306)
### Summary
* Remove the dependence of `EXECUTORCH_BUILD_HOST_TARGETS` since we
always build flatc for the host now
* Turn on `EXECUTORCH_BUILD_FLATC` if `FLATC_EXECUTABLE` is not set
* Build flatc from source for Apple builds
### Test Plan
Now macOS/Linux targeting macOS/Linux/iOS/Android should all build flatc
from source:
```
$ rm -rf pip-out && ./install_executorch.sh
$ rm -rf cmake-out* && ./build/build_apple_frameworks.sh
$ rm -rf cmake-out* && ./build/build_android_library.sh
```
cc @larryliu0820@lucylq
0 commit comments