Haolan
82bb6e84d0
test: add rt test
2025-09-02 18:23:28 +08:00
Haolan
b99c073cca
test: add test for compile options
2025-09-02 18:04:35 +08:00
Haolan
4b383b179a
ci: revert
2025-09-02 17:18:25 +08:00
Haolan
a8bc617e18
test: skip llgo test
2025-09-02 17:16:55 +08:00
Haolan
f875347ad9
test: fix compile test
...
test: add asm test
test: add libc.go test
test: add DownloadAndExtractLibInternalDir test
test: fix checkDownload test
test: fix asm test
fix: check isCompile
fix: remove debug
fix: remove debug
2025-09-02 13:42:23 +08:00
Haolan
1d3ecb287a
fix: export libc cflags for compiler-rt
...
fix: libc include dir
fix: xtensa internal src dir
fix: xtensa internal src dir
fix: ignore wasm target
fix: export libc cflags to global cflags
fix: rtlib libc include dir
fix: ignore some errors for libc
fix: don's search system path for libc
fix: adjust compiling options
ci: add libc
fix: libc cflags
fix: test path
fix: libc cflags
fix: libc cflags
2025-09-02 13:40:42 +08:00
Haolan
cb2fa5dd2d
fix: picolibc.h
2025-09-01 17:19:32 +08:00
Haolan
5997a296c2
fix: update url
2025-09-01 16:54:12 +08:00
Haolan
96c5ce90e4
fix: compiler rt file path
2025-09-01 16:36:58 +08:00
Haolan
8ecbfe9ade
feat: support arm/risc64/avr for compiler rt
2025-09-01 16:33:19 +08:00
Haolan
012a5d7d69
fix: remove unused file
2025-09-01 14:49:37 +08:00
Haolan
997ea2849b
feat: support riscv32
2025-09-01 14:48:54 +08:00
Haolan
1b3889ebc9
feat: add target name design
2025-08-29 19:25:09 +08:00
Haolan
53e22488c8
fix: remove debug compiler options
2025-08-29 17:54:08 +08:00
Haolan
19ddee0241
test: add compile test
2025-08-29 17:48:34 +08:00
Haolan
61143a6ff0
fix: newlib url and rt url
2025-08-29 16:27:23 +08:00
Haolan
3f2fe83718
fix: check needStart by libc name
2025-08-29 16:02:23 +08:00
Haolan
4639ee13e7
feat: support compiler-rt
2025-08-29 11:30:25 +08:00
Haolan
f3ecce86ee
feat: support libc for small devices
2025-08-28 20:11:13 +08:00
Haolan
5587fd2885
feat: add libc
2025-08-25 19:05:30 +08:00
Li Jie
ddc61adc63
test compiler downloading of crosscompile
2025-08-23 18:33:20 +08:00
Li Jie
96001ce9b1
disable incompatible tests for llgo test
2025-08-23 18:01:16 +08:00
Li Jie
4a02b1f23b
test internal/clang
2025-08-23 17:53:09 +08:00
Li Jie
e40bdc196b
binary-format supports uf2, nrf-dfu
2025-08-23 17:45:20 +08:00
Li Jie
508b23a584
refine and test internal/crosscompile
2025-08-23 17:45:20 +08:00
Li Jie
b7181592a9
hide unused arguments warnings
2025-08-23 17:45:20 +08:00
Li Jie
59e1df5478
don't collect test coverage of internal/firmware
2025-08-23 17:42:34 +08:00
Li Jie
ecaf7c8ac6
supports binary-format, only esp* supported for now
2025-08-22 21:05:29 +08:00
Li Jie
1f193c8533
refine internal/clang: don't depends internal/crosscompile
2025-08-22 09:08:26 +08:00
Li Jie
3ce63965bf
refine build.sh and CI
2025-08-22 08:54:55 +08:00
Li Jie
50d8dbee05
fix targets extra files
2025-08-22 08:43:04 +08:00
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