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
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
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
c8eb871252
report error if extra file not exist
2025-08-22 08:42:29 +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
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
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
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
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
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