Commit 3824de7
iree-bazel-* improvements for handling multiple targets + options. (#23330)
iree-bazel-try:
- supports --features, useful for --features=thin_lto
- workaround for thin_lto + Wno-unused-command-line-argument
- --copt and --linkopt in a way that ensures the entire build is
configured with the options (prior only the try target was, which was
useful in isolated testing but not when benchmarking/etc)
- uses a new output base (so features/copt/linkopt don't pollute the
normal build, good for concurrent try + build/test)
- fixed caching of files passed in by path
- fixed files passed in by path to have original source locations
iree-bazel-test/build/fuzz:
- support multiple targets (`iree-bazel-test //:a //:b`)
- this allows multiple fuzzers to run in batched mode
iree-bazel-cquery:
- added to match iree-bazel-query so we have the pair
misc:
- `target_compatible_with`/platform `select` support in bazel-to-cmake
- fixing benchmark warnings about missing unit
- fixed a bug in cc_benchmark dropping extra args on benchmark tests
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent c6ac63e commit 3824de7
17 files changed
Lines changed: 764 additions & 122 deletions
File tree
- build_tools
- bazel_to_cmake
- bazel
- bin
- cmake
- docs/website/docs/developers/building
- experimental/web
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
55 | | - | |
| 61 | + | |
56 | 62 | | |
57 | 63 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | 60 | | |
62 | | - | |
| 61 | + | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
| 66 | + | |
66 | 67 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 68 | + | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
0 commit comments