Commit 7f35eae
authored
[vizdoom] remove legacy glibc version header hack (#364)
## Summary
- Problem: ViZDoom still carried a legacy `glibc_version_header` shim
that force-included a `glibc 2.17` header into multiple Bazel targets
even though the current Linux release flow now targets `manylinux_2_28`.
- Scope: Remove the external `glibc_version_header` repository, delete
the local glue files under `third_party/glibc_version_header/`, and stop
injecting that header throughout the ViZDoom third-party BUILD rules.
This does not change the current manylinux baseline or broader release
policy.
- Outcome: ViZDoom builds no longer rely on the legacy glibc header
hack, and the Bazel graph is smaller and easier to reason about.
This diff removes an obsolete compatibility shim that no longer matches
the repo's current Linux wheel baseline.
## Technical Details
- Approach: Delete the `glibc_version_header` workspace dependency and
strip all `@glibc_version_header//:glibc_2_17` src/tool references plus
`-include ...glibc_2_17` copts from the ViZDoom BUILD graph.
- Code pointers:
- `third_party/vizdoom/vizdoom.BUILD`: removes all forced glibc header
injection from ViZDoom helper binaries, libraries, and the main
`vizdoom` target.
- `envpool/workspace0.bzl`: removes the now-unused external archive for
`glibc_version_header`.
- Notes: The current release flow already builds Linux wheels in
`manylinux_2_28`, so keeping a separate glibc-2.17 header shim was
inconsistent with the actual supported baseline.
## Test Plan
### Automated
- `buildifier envpool/workspace0.bzl third_party/vizdoom/vizdoom.BUILD`:
passed
- `bazel build @vizdoom//:zipdir`: passed
- `bazel build @vizdoom//:vizdoom`: reached the SDL2 `rules_foreign_cc`
build and then failed due to a pre-existing local macOS sandbox issue
(`cmake: command not found` inside the Bazel sandbox), not due to
missing `glibc_version_header` references
### Suggested Manual
- `bazel build @vizdoom//:vizdoom` in Linux CI or a Linux dev
environment with the expected foreign_cc toolchain available: verify the
full ViZDoom binary still builds cleanly
- Release wheel smoke on Linux: verify ViZDoom packaging still works
without the removed header shim1 parent 1fd578b commit 7f35eae
5 files changed
Lines changed: 10 additions & 146 deletions
File tree
- envpool
- third_party
- glibc_version_header
- vizdoom
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | 196 | | |
208 | 197 | | |
209 | 198 | | |
| |||
This file was deleted.
Lines changed: 0 additions & 35 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 33 | + | |
40 | 34 | | |
41 | 35 | | |
42 | 36 | | |
| |||
52 | 46 | | |
53 | 47 | | |
54 | 48 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 49 | | |
60 | 50 | | |
61 | 51 | | |
| |||
75 | 65 | | |
76 | 66 | | |
77 | 67 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 68 | + | |
82 | 69 | | |
83 | 70 | | |
84 | 71 | | |
85 | 72 | | |
86 | 73 | | |
87 | 74 | | |
88 | | - | |
89 | 75 | | |
90 | 76 | | |
91 | 77 | | |
| |||
104 | 90 | | |
105 | 91 | | |
106 | 92 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 93 | + | |
111 | 94 | | |
112 | 95 | | |
113 | 96 | | |
| |||
119 | 102 | | |
120 | 103 | | |
121 | 104 | | |
122 | | - | |
123 | 105 | | |
124 | 106 | | |
125 | 107 | | |
| |||
150 | 132 | | |
151 | 133 | | |
152 | 134 | | |
153 | | - | |
| 135 | + | |
154 | 136 | | |
155 | 137 | | |
156 | 138 | | |
| |||
164 | 146 | | |
165 | 147 | | |
166 | 148 | | |
167 | | - | |
168 | 149 | | |
169 | 150 | | |
170 | 151 | | |
| |||
182 | 163 | | |
183 | 164 | | |
184 | 165 | | |
185 | | - | |
186 | 166 | | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 167 | + | |
191 | 168 | | |
192 | 169 | | |
193 | 170 | | |
194 | 171 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 172 | + | |
202 | 173 | | |
203 | 174 | | |
204 | 175 | | |
| |||
244 | 215 | | |
245 | 216 | | |
246 | 217 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
| 218 | + | |
251 | 219 | | |
252 | 220 | | |
253 | 221 | | |
| |||
260 | 228 | | |
261 | 229 | | |
262 | 230 | | |
263 | | - | |
264 | 231 | | |
265 | 232 | | |
266 | 233 | | |
| |||
273 | 240 | | |
274 | 241 | | |
275 | 242 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
| 243 | + | |
280 | 244 | | |
281 | 245 | | |
282 | 246 | | |
| |||
286 | 250 | | |
287 | 251 | | |
288 | 252 | | |
289 | | - | |
290 | 253 | | |
291 | 254 | | |
292 | 255 | | |
| |||
382 | 345 | | |
383 | 346 | | |
384 | 347 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
| 348 | + | |
389 | 349 | | |
390 | 350 | | |
391 | 351 | | |
392 | 352 | | |
393 | 353 | | |
394 | | - | |
395 | 354 | | |
396 | 355 | | |
397 | 356 | | |
| |||
410 | 369 | | |
411 | 370 | | |
412 | 371 | | |
413 | | - | |
414 | 372 | | |
415 | 373 | | |
416 | 374 | | |
| |||
430 | 388 | | |
431 | 389 | | |
432 | 390 | | |
433 | | - | |
434 | 391 | | |
435 | 392 | | |
436 | 393 | | |
| |||
444 | 401 | | |
445 | 402 | | |
446 | 403 | | |
447 | | - | |
448 | 404 | | |
449 | 405 | | |
450 | 406 | | |
| |||
464 | 420 | | |
465 | 421 | | |
466 | 422 | | |
467 | | - | |
468 | 423 | | |
469 | 424 | | |
470 | 425 | | |
| |||
491 | 446 | | |
492 | 447 | | |
493 | 448 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
| 449 | + | |
502 | 450 | | |
503 | 451 | | |
504 | 452 | | |
| |||
914 | 862 | | |
915 | 863 | | |
916 | 864 | | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | 865 | | |
921 | 866 | | |
922 | 867 | | |
| |||
943 | 888 | | |
944 | 889 | | |
945 | 890 | | |
946 | | - | |
947 | 891 | | |
948 | 892 | | |
949 | 893 | | |
| |||
0 commit comments