wasm-micro-runtime/build-scripts
YAMAMOTO Takashi 908838a5b5
build-scripts/build_llvm.py: bump to llvm 18 (#4259)
* build-scripts/build_llvm.py: bump to llvm 18

cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/4210

why not 20?
because, as of writing this, 19 is the latest released version for
the xtensa fork of llvm: https://github.com/espressif/llvm-project

why not 19?
because of a bug in the xtensa fork of llvm:
https://github.com/espressif/llvm-project/issues/112

while we can use different versions for different targets,
it's nicer to use the same version everywhere when possible.

* spec-test-script/runtest.py: --size-level=0 for x86-64

with the recent version of LLVM, wamrc --size-level=1 often
generates R_X86_64_32S relocations which fail on load with
the infamous error:

"relocation truncated to fit R_X86_64_32S failed"

it seems that these relocations are often for jump tables.

this commit workarounds it with --size-level=0.

an alternative is to disable jump tables. (although it seems that
jump tables are not the only source of these relocations.)

cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/3035

it might be better to do this in wamrc itself. however, currently
target info is not available there in case of native compilation.
related: https://github.com/bytecodealliance/wasm-micro-runtime/issues/3356

* wamr-compiler: size_level=0 for sgx mode

cf. https://github.com/bytecodealliance/wasm-micro-runtime/issues/3035
2025-05-09 17:14:02 +08:00
..
esp-idf Update cmake min to 3.14 (#4175) 2025-04-02 07:13:53 +08:00
build_llvm.py build-scripts/build_llvm.py: bump to llvm 18 (#4259) 2025-05-09 17:14:02 +08:00
config_common.cmake Stop pretending to support extended-const proposal (#4258) 2025-05-09 09:29:06 +08:00
involve_boringssl.cmake Use boringssl instead of openssl to implement wasm cache loading (#1804) 2022-12-20 14:37:07 +08:00
iwasmConfig.cmake.in Cmake improvements (#4076) 2025-02-21 15:29:49 +08:00
lldb_wasm.patch Fix issues in releasing wamr-lldb (#2497) 2023-08-23 12:56:11 +08:00
package.cmake Replace CMAKE_CURRENT_FUNCTION_LIST_DIR (#4200) 2025-04-17 00:07:25 +08:00
requirements.txt Bump requests from 2.32.2 to 2.32.3 in /build-scripts (#3494) 2024-06-06 10:09:19 +08:00
runtime_lib.cmake Merge dev/simd for fast-interp (#4131) 2025-03-20 14:23:20 +08:00
SConscript Support more features for rt-thread (#3661) 2024-07-26 10:34:15 +08:00
SConscript_config Support more features for rt-thread (#3661) 2024-07-26 10:34:15 +08:00
version.cmake feat(fuzz): add a new fuzzing target about aot compiler (#4121) 2025-04-28 21:44:04 +08:00