Commit f98273c
authored
Clean cache between Apple builds (#12563)
### 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
-- ----------------------------------------------------
```1 parent 988435d commit f98273c
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | 156 | | |
158 | 157 | | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
163 | 161 | | |
164 | 162 | | |
165 | 163 | | |
| |||
0 commit comments