Commit 081c344
authored
feat: add support for checking unsupported build configurations (#4690)
* feat: add support for checking unsupported build configurations
* docs: improve clarity and formatting in build_wamr.md
* feat: add check for unsupported SHARED_HEAP + FAST_JIT configuration and update documentation warning
* feat: disable default SIMD setting for 64-bit platform in CMake configuration
* feat: update Android and macOS workflows to handle SIMD support in classic interp mode
* feat: update SGX compilation workflow to handle unsupported FAST_JIT and classic interp mode without SIMD support
* feat: enhance check for unsupported CLASSIC_INTERP configurations
* feat: disable fast interpreter for shared heap tests and update unsupported features test library
* feat: enhance unsupported combination checks and update build configurations for JIT and SIMD
* In regression tests, use llvm-jit and fast-jit to replace multi-tier-jit + running mode. Multi-tier-jit contains both fast-jit and llvm-jit. Fast-jit doesn't support SIMD, but llvm-jit does. So, should multi-tier-jit support SIMD? My answer is NO.
- The regular form of multi-tier-jit uses fast-jit as tier1 and llvm-jit as
tier2. Therefore, if fast-jit doesn't support SIMD, the entire multi-tier
doesn't support SIMD either.
- `--fast-jit` and `--llvm-jit` of multi-tier-jit should adhere to the global
limitations of multi-tier-jit.
* Explicitly specify SIMD, MULTI_MODULE, and their unsupported running modes.
- SIMD and Ref. types are enabled by default on linux and darwin. So remove duplicate feature testing from CI
- Apply new configuration for wasm-c-api compilation commands1 parent ea9e11c commit 081c344
File tree
15 files changed
+533
-187
lines changed- .github/workflows
- build-scripts
- doc
- product-mini/platforms/linux-sgx
- samples/wasm-c-api
- tests
- regression/ba-issues
- unit
- unsupported-features
15 files changed
+533
-187
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
| 94 | + | |
96 | 95 | | |
97 | 96 | | |
98 | 97 | | |
| |||
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
132 | | - | |
133 | | - | |
| 131 | + | |
134 | 132 | | |
135 | 133 | | |
136 | 134 | | |
| |||
157 | 155 | | |
158 | 156 | | |
159 | 157 | | |
160 | | - | |
161 | | - | |
162 | 158 | | |
163 | 159 | | |
164 | 160 | | |
| |||
171 | 167 | | |
172 | 168 | | |
173 | 169 | | |
174 | | - | |
175 | | - | |
| 170 | + | |
176 | 171 | | |
177 | 172 | | |
178 | 173 | | |
| |||
182 | 177 | | |
183 | 178 | | |
184 | 179 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | 180 | | |
189 | 181 | | |
190 | 182 | | |
| |||
268 | 260 | | |
269 | 261 | | |
270 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
271 | 272 | | |
272 | 273 | | |
273 | 274 | | |
| |||
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
297 | | - | |
| 298 | + | |
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
| |||
308 | 309 | | |
309 | 310 | | |
310 | 311 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
| 312 | + | |
316 | 313 | | |
317 | 314 | | |
318 | 315 | | |
319 | 316 | | |
320 | 317 | | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
| 318 | + | |
325 | 319 | | |
326 | 320 | | |
327 | 321 | | |
| |||
350 | 344 | | |
351 | 345 | | |
352 | 346 | | |
353 | | - | |
| 347 | + | |
354 | 348 | | |
355 | 349 | | |
356 | 350 | | |
| |||
374 | 368 | | |
375 | 369 | | |
376 | 370 | | |
377 | | - | |
378 | | - | |
| 371 | + | |
379 | 372 | | |
380 | 373 | | |
381 | 374 | | |
382 | 375 | | |
383 | 376 | | |
384 | 377 | | |
385 | 378 | | |
386 | | - | |
| 379 | + | |
387 | 380 | | |
388 | 381 | | |
389 | 382 | | |
| |||
403 | 396 | | |
404 | 397 | | |
405 | 398 | | |
406 | | - | |
| 399 | + | |
407 | 400 | | |
408 | 401 | | |
409 | 402 | | |
410 | 403 | | |
411 | | - | |
| 404 | + | |
412 | 405 | | |
413 | 406 | | |
414 | 407 | | |
415 | 408 | | |
416 | 409 | | |
417 | 410 | | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
| 411 | + | |
424 | 412 | | |
425 | 413 | | |
426 | 414 | | |
| |||
439 | 427 | | |
440 | 428 | | |
441 | 429 | | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
442 | 444 | | |
443 | 445 | | |
444 | 446 | | |
| |||
477 | 479 | | |
478 | 480 | | |
479 | 481 | | |
480 | | - | |
| 482 | + | |
481 | 483 | | |
482 | 484 | | |
483 | 485 | | |
| |||
488 | 490 | | |
489 | 491 | | |
490 | 492 | | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
| 493 | + | |
497 | 494 | | |
498 | 495 | | |
499 | 496 | | |
| |||
632 | 629 | | |
633 | 630 | | |
634 | 631 | | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
| 632 | + | |
641 | 633 | | |
642 | 634 | | |
643 | 635 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | 141 | | |
144 | 142 | | |
145 | 143 | | |
| |||
154 | 152 | | |
155 | 153 | | |
156 | 154 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | 155 | | |
163 | 156 | | |
164 | 157 | | |
| |||
188 | 181 | | |
189 | 182 | | |
190 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
191 | 187 | | |
192 | 188 | | |
193 | 189 | | |
| |||
213 | 209 | | |
214 | 210 | | |
215 | 211 | | |
216 | | - | |
| 212 | + | |
217 | 213 | | |
218 | 214 | | |
219 | 215 | | |
| |||
240 | 236 | | |
241 | 237 | | |
242 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
243 | 253 | | |
244 | 254 | | |
245 | 255 | | |
| |||
278 | 288 | | |
279 | 289 | | |
280 | 290 | | |
281 | | - | |
| 291 | + | |
282 | 292 | | |
283 | 293 | | |
284 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
117 | 124 | | |
118 | 125 | | |
119 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
0 commit comments