Commit 8ccafe3
Remove boost dependency from XLS.
It is just replicating the dependency from `@rules_hdl` and depends on the `@com_github_libbacktrace` dep being a transitive dependency.
Instead, we just use the one provided by rules_hdl. For this to work, `rules_hdl_dependency_support` needs to be invoked in WORKSPACE before loading of `rules_hdl_init`. This ordering was wrong before and also, cannot happen in a .bzl which loads both together. Since workspace macros are discouraged for hybrid bzlmod mode anyway (https://bazel.build/external/migration#hybrid-mode), we remove `initialize_external.bzl` entirely.
Historical footnote: we ended up with two copies after:
1. XLS added boost for nextpnr in f79c1dc.
2. rules_hdl ported it in hdl/bazel_rules_hdl@1c23deb
3. XLS ported a patch with an implicit dependency on rules_hdl in 6bd8019.
PiperOrigin-RevId: 7993576311 parent a5a9718 commit 8ccafe3
File tree
9 files changed
+14
-216
lines changed- dependency_support
- boost
9 files changed
+14
-216
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| |||
0 commit comments