mirror of https://github.com/milvus-io/milvus.git
## Summary Switch CI pipelines from Release (`-O3`) to RelWithDebInfo (`-O2 -g -DNDEBUG`), reducing peak compiler memory by ~15%. RelWithDebInfo is a standard CMake build type that uses `-O2` natively and includes debug symbols for better crash diagnostics in CI. Production image builds remain at Release (`-O3`). ## Changes - Update Jenkins (PR, PR-Arm, PR-for-go-sdk, UT-CPP) to use `mode=RelWithDebInfo` - Update GitHub Actions (`main.yaml`) to use `mode=RelWithDebInfo` - Allow all standard CMake build types in `3rdparty_build.sh` validation - Add gcc>=13 implicit include workaround in `CMakeLists.txt` ## Test plan - [ ] CI builds with `mode=RelWithDebInfo` use `-O2` instead of `-O3` - [ ] Default builds still use Release with `-O3` - [ ] ASAN CI jobs pass with reduced memory usage issue: #48400 Signed-off-by: xiaofan-luan <xiaofan.xl@zilliz.com> Signed-off-by: xiaofanluan <xiaofan.luan@zilliz.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ISSUE_TEMPLATE | ||
| actions | ||
| workflows | ||
| .licenserc.yaml | ||
| OWNERS | ||
| mergify.yml | ||
| stale.yml | ||