Commit ce80912
Fix nightly CI regressions from #14478
Fix two build failures introduced by the accelerate-build PR (#14478):
1. **Release build (NDEBUG) compile error**: The SyncPoint cleanup
listener in testharness.cc referenced SyncPoint::GetInstance() which
is only declared in debug builds. Guard the listener with #ifndef
NDEBUG since it's only needed for debug test sharding anyway.
2. **Folly-lite link error**: The USE_FOLLY_LITE cmake path
unconditionally linked -lglog, but glog may not be installed as a
system library. Use find_library() to only link glog when available.
Co-authored-by: Navi <navi@navibot.dev>1 parent f8ff77d commit ce80912
File tree
3 files changed
+9
-1
lines changed- db
- test_util
3 files changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1137 | 1137 | | |
1138 | 1138 | | |
1139 | 1139 | | |
1140 | | - | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
1141 | 1144 | | |
1142 | 1145 | | |
1143 | 1146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
| 563 | + | |
563 | 564 | | |
564 | 565 | | |
565 | 566 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| 51 | + | |
48 | 52 | | |
49 | 53 | | |
50 | 54 | | |
| |||
0 commit comments