Commit Graph

2991 Commits

Author SHA1 Message Date
Li Jie
c8eb871252 report error if extra file not exist 2025-08-22 08:42:29 +08:00
Li Jie
ad8aa6ac1a add __dynamic_loader into targetsbuild for nintendo switch 2025-08-22 08:42:01 +08:00
Li Jie
d3d39876d3 report llvm-target/cpu empty warning in all targets check 2025-08-22 07:41:59 +08:00
Li Jie
44cb4f2649 report error if target cpu is not set 2025-08-22 07:40:52 +08:00
Li Jie
d0f89e456c allow clang unused parameters 2025-08-22 07:40:18 +08:00
Li Jie
90a16e8c90 add handleInterrupt into _demo/targetsbuild 2025-08-22 07:39:18 +08:00
Li Jie
ea6266c79f add _demo/targetsbuld/build-all.sh to check all targets 2025-08-22 07:09:42 +08:00
Li Jie
077f114373 _demo/empty -> _demo/targetsbuild 2025-08-22 07:09:42 +08:00
Li Jie
2508674227 report target error if llvm-target not set 2025-08-22 07:09:38 +08:00
Li Jie
c9c703dfe6 remove duplicated CCFLSGS args 2025-08-22 06:57:20 +08:00
Li Jie
2f8f85a404 filter out failed targets in ci 2025-08-21 22:20:46 +08:00
Li Jie
87c50cf22a _demo/empty exports Reset_Handler and handleHardFault (to compatible with tinygo) 2025-08-21 22:18:14 +08:00
Li Jie
6e20a435af targets supports extra-files 2025-08-21 21:55:42 +08:00
Li Jie
2eb7d542d2 targets supports code-model, target-abi, relocation-model 2025-08-21 20:43:43 +08:00
Li Jie
c414add29f update targets tests 2025-08-21 19:51:20 +08:00
Li Jie
372a09d2ca inspired compiler and linker args from tinygo 2025-08-21 18:53:27 +08:00
Li Jie
06568da140 expand template vars in targets config 2025-08-21 18:51:54 +08:00
Li Jie
5cfd996659 fix cross compilation tests 2025-08-21 17:16:29 +08:00
Li Jie
21189f378e fix libunwind include path 2025-08-21 17:16:29 +08:00
Li Jie
9a90eaed76 fix ldflags 2025-08-21 17:16:28 +08:00
Li Jie
d8122d14aa fix lld -target 2025-08-21 17:16:28 +08:00
Li Jie
7bf0146e2f add file lock to avoid parallel downloading 2025-08-21 17:16:25 +08:00
Li Jie
93ca632f7a fix rpath for libc++ 2025-08-21 15:38:56 +08:00
Li Jie
49e5963b0a Merge commit '6de3bdcdd9b3959d244e7b3b7e97fc4e3408cd78' into esp-llvm
# Conflicts:
#	internal/build/build.go
2025-08-21 14:19:53 +08:00
Li Jie
7e8df050a1 fix cross compilation 2025-08-21 14:18:37 +08:00
Li Jie
50a2650e67 upgrade to esp-clang prebuilt 19.1.2_20250820 2025-08-21 14:12:57 +08:00
xushiwei
6de3bdcdd9 Merge pull request #1223 from visualfc/cpuid
runtime/internal/lib/internal/cpu: use __cpuid_count
2025-08-21 11:45:34 +08:00
xushiwei
7c4fb8d6f1 Merge pull request #1222 from visualfc/dev
llgo flags -abi enable in build tags dev
2025-08-21 11:44:49 +08:00
visualfc
a11a71eb93 llgo flags -abi enable in build tags dev 2025-08-21 11:09:13 +08:00
xushiwei
b8d0a26bdc Merge pull request #1163 from luoliwoshang/internal/build/rpath
internal/build:support relocatable lib
2025-08-21 11:07:13 +08:00
xushiwei
a8432252e1 Merge pull request #1220 from visualfc/cabi
internal/cabi: support arch 386
2025-08-21 10:55:43 +08:00
visualfc
56733e1dbd runtime/internal/lib/internal/cpu: use __cpuid_count 2025-08-20 17:09:02 +08:00
Li Jie
246278ff80 add tinygo device files 2025-08-20 10:27:01 +08:00
Li Jie
1b8b500fd7 add esp-clang download prompts 2025-08-20 10:23:32 +08:00
Li Jie
e8bae52f66 decision _start generation by target, add some fake variables 2025-08-20 08:54:38 +08:00
Li Jie
3431354cb2 refactor clang command 2025-08-20 08:53:36 +08:00
Li Jie
b2b407c2c2 upgrade to prebuilt esp-clang 19.1.2_20250819 2025-08-20 08:53:36 +08:00
luoliwoshang
1d76f515e0 internal/build:support relocatable lib 2025-08-19 22:48:23 +08:00
visualfc
fd0b2ff72d internal/cabi: support arch 386 2025-08-19 15:01:35 +08:00
xushiwei
cbac24cf97 Merge pull request #1188 from visualfc/cabi
cabi transform
2025-08-19 14:56:10 +08:00
xushiwei
ff40a80569 Merge pull request #1211 from luoliwoshang/emb/start
fix: set correct argc=0 in _start() function
2025-08-19 08:33:02 +08:00
xushiwei
c0a0e889e7 Merge pull request #1214 from luoliwoshang/emb/esp32/tag
internal/build:include target build-tags in Go package compilation
2025-08-19 08:30:56 +08:00
xushiwei
c5b4452a1b Merge pull request #1217 from luoliwoshang/llgo/asm
cl(feat):llgo.asm implement tinygo.Asm
2025-08-19 08:14:22 +08:00
luoliwoshang
afee2beebe cl/instr:rm llgoAsmBase 2025-08-17 18:41:38 +08:00
xushiwei
630b63744a Merge pull request #1212 from goplus/dependabot/github_actions/actions/checkout-5
build(deps): bump actions/checkout from 4 to 5
2025-08-17 18:17:15 +08:00
xushiwei
1399c40243 Merge pull request #1215 from goplus/dependabot/go_modules/github.com/goplus/gogen-1.19.1
build(deps): bump github.com/goplus/gogen from 1.19.0 to 1.19.1
2025-08-17 18:04:41 +08:00
luoliwoshang
a148964878 feat:llgo.Asm
test:asm test with `nop`
2025-08-17 16:50:16 +08:00
Li Jie
b831952e2e build native/wasi with clang++ and keep embed building with clang 2025-08-16 10:49:00 +08:00
Li Jie
21174e44bb fix wasi-libc caching path 2025-08-16 10:48:16 +08:00
Li Jie
b650a546cd supports linkerscript 2025-08-16 10:47:39 +08:00