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
### Summary
In this diff, we clear the CMakeCache.txt between builds since we reuse
the same build output for all the builds. Keeping the cache means that
configuration between each build won't be reflected (i.e.
#12469).
### Test plan
CI
I also tested to ensure that `EXECUTORCH_ENABLE_LOGGING` is being
properly set based on the build mode.
```
-- PLATFORM: OS64
-- CMAKE_BUILD_TYPE: Release
-- EXECUTORCH_ENABLE_LOGGING: OFF
-- ----------------------------------------------------
-- PLATFORM: OS64
-- CMAKE_BUILD_TYPE: Debug
-- EXECUTORCH_ENABLE_LOGGING: ON
-- ----------------------------------------------------
-- PLATFORM: SIMULATORARM64
-- CMAKE_BUILD_TYPE: Release
-- EXECUTORCH_ENABLE_LOGGING: OFF
-- ----------------------------------------------------
-- PLATFORM: SIMULATORARM64
-- CMAKE_BUILD_TYPE: Debug
-- EXECUTORCH_ENABLE_LOGGING: ON
-- ----------------------------------------------------
-- PLATFORM: MAC_ARM64
-- CMAKE_BUILD_TYPE: Release
-- EXECUTORCH_ENABLE_LOGGING: OFF
-- ----------------------------------------------------
-- PLATFORM: MAC_ARM64
-- CMAKE_BUILD_TYPE: Debug
-- EXECUTORCH_ENABLE_LOGGING: ON
-- ----------------------------------------------------
```
0 commit comments