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
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
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
Li Jie
e580ecc55c
fix sysroot on macos with esp clang
2025-08-16 10:46:44 +08:00
visualfc
04bb3eb5a9
internal/cabi: check and skip param empty type
2025-08-15 21:29:43 +08:00
visualfc
28962a1c6c
internal/cabi: test composite
2025-08-15 15:34:55 +08:00
visualfc
2fca50b7e5
internal/cabi: test wasm
2025-08-15 10:31:16 +08:00
visualfc
3617c82e8b
internal/cabi: fix arch amd64
2025-08-14 11:22:01 +08:00
visualfc
ef07188534
internal/cabi: fix arch arm
2025-08-13 16:54:49 +08:00
visualfc
5fe7ee9b6a
internal/cabi: TestBuild TestABI
2025-08-13 15:28:04 +08:00
luoliwoshang
a069e1d438
internal/build:include target build-tags in Go package compilation
2025-08-12 18:59:49 +08:00
luoliwoshang
b9fdc2a25c
fix: set correct argc=0 in _start() function
2025-08-12 15:42:44 +08:00
visualfc
d2d999d369
internal/cabi: transform cfunc check called
2025-08-12 10:54:32 +08:00
visualfc
6460724feb
chore: llgen -abi flags (default 0)
2025-08-12 09:42:58 +08:00
visualfc
8e87bb6e86
internal/build: cabi transformer
2025-08-12 09:31:43 +08:00
visualfc
3ac2929789
internal/cabi: transform pkg to cabi
2025-08-12 09:30:16 +08:00
xushiwei
f43e2c0dee
Merge pull request #1204 from visualfc/checklink
...
internal/build: set CheckLinkArgs disable on default
2025-08-07 17:17:22 +08:00
Li Jie
87f4f618aa
feat(crosscompile): use versioned cache directory for ESP Clang
...
Add version suffix to ESP Clang cache directory path to enable
automatic updates when espClangVersion changes.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-08-06 20:25:50 +08:00
visualfc
dab8379392
internal/build: set CheckLinkArgs disable on default
2025-08-06 15:01:05 +08:00
Li Jie
7c4c8b8726
use prebuilt esp-llvm
2025-08-05 20:28:26 +08:00
Li Jie
deea8754ae
feat(crosscompile): add ESP Clang multi-platform support
...
- Add ESP Clang download and extraction for cross-compilation
- Support multiple platforms: darwin/amd64, darwin/arm64, linux/amd64, linux/arm64, windows/amd64
- Integrate ESP Clang with target-based configuration system
- Add ClangRoot and ClangBinPath fields to Export struct
- Support .tar.xz extraction for ESP Clang packages
- Prioritize LLGoROOT clang installation over cached downloads
- Update build system to use custom clang for embedded platforms
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-08-04 15:18:15 +08:00