Commit d74316e
committed
Drop CA_(target)_ENABLED CMake options.
The CA_(target)_ENABLED options were provided because we simultaneously
wanted to enable all available Mux targets by default, and disable the
RISC-V Mux target by default. This is confusing when CA_RISCV_ENABLED and
CA_MUX_TARGETS_TO_ENABLE are mismatched: it causes the RISC-V Mux target
to be disabled when either variable disables it, even when the other
variable suggests that it should be enabled. Drop CA_(target)_ENABLED and
rely entirely on CA_MUX_TARGETS_TO_ENABLE instead.
For consistency, make the same change to CA_MUX_COMPILERS_TO_ENABLE.
For CA_MUX_TARGETS_TO_ENABLE, change the default to "host". For
CA_MUX_COMPILERS_TO_ENABLE, change the default to match
CA_MUX_TARGETS_TO_ENABLE. Update the documentation and continuous
integration to set them where we do not want host and were not already
setting them.1 parent 0b6a226 commit d74316e
File tree
19 files changed
+12
-43
lines changed- .github/actions
- do_build_ock
- do_build_m1
- do_build_pr
- run_ubuntu_gcc_x86_64_cpu
- run_ubuntu_gcc_x86_64_refsi_g1_wi_cl3_0
- run_ubuntu_gcc_x86_64_refsi_tutorial
- run_ubuntu_gcc_x86_64_riscv_cl3_0
- run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0_unitcl_vecz
- run_ubuntu_gcc_x86_64_riscv_fp16_cl3_0
- doc
- modules
- mux
- overview/tutorials/creating-a-new-mux-target
- examples
- hal_cpu_remote_server
- technical_blogs/refsi_simple_blog1
- modules/mux
- cookie/{{cookiecutter.target_name}}
- targets
- host
- riscv
19 files changed
+12
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 58 | | |
62 | 59 | | |
63 | 60 | | |
| |||
148 | 145 | | |
149 | 146 | | |
150 | 147 | | |
151 | | - | |
| 148 | + | |
152 | 149 | | |
153 | 150 | | |
154 | 151 | | |
155 | 152 | | |
156 | 153 | | |
157 | | - | |
158 | 154 | | |
159 | 155 | | |
160 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments