mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
dfbb133ea6
This switches the Espressif fork from LLVM 19 to LLVM 20, so we can use the improvements made between those LLVM versions. It also better aligns with the system-LLVM build method, which currently also defaults to LLVM 20. Note that this disables the machine outliner for RISC-V. It appears there's a bug in there somewhere, with the machine outliner enabled the crypto/elliptic package tests fail with -target=riscv-qemu. This should ideally be investigated and reported upstream.
21 lines
362 B
JSON
21 lines
362 B
JSON
{
|
|
"inherits": ["riscv"],
|
|
"llvm-target": "riscv32-unknown-none",
|
|
"cpu": "generic-rv32",
|
|
"target-abi": "ilp32",
|
|
"build-tags": ["tinygo.riscv32"],
|
|
"scheduler": "tasks",
|
|
"default-stack-size": 2048,
|
|
"cflags": [
|
|
"-march=rv32imac"
|
|
],
|
|
"ldflags": [
|
|
"-melf32lriscv",
|
|
"-mllvm", "-enable-machine-outliner=never"
|
|
],
|
|
"gdb": [
|
|
"gdb-multiarch",
|
|
"gdb"
|
|
]
|
|
}
|