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
Support for cmdline flag to toggle Debug vs Release build types in cmake (#11662)
### Summary
Adds support for command line option to toggle the cmake build mode from
`Debug` vs `Release`.
### Test plan
An example use case is shown in
`examples/selective_build/test_selective_build.sh` in the
`test_cmake_select_ops_in_model()` function. For example, you could run
the following to build executorch and run the test in `Debug` mode:
```
CMAKE_BUILD_TYPE=Debug bash examples/selective_build/test_selective_build.sh cmake
```
0 commit comments