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
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
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
visualfc
dab8379392
internal/build: set CheckLinkArgs disable on default
2025-08-06 15:01:05 +08:00
visualfc
69c1787e22
internal/build: delete duplicate linkObjFiles
2025-08-04 10:39:43 +08:00
Li Jie
49a5d3a350
dummy _start function for libc-free cases
2025-07-30 20:16:30 +08:00
Li Jie
daf0d7e56e
feat(cmd): enable -target parameter for build, run, and test commands
...
- Update build command: llgo build -target platform
- Update run command: llgo run -target platform
- Update test command: llgo test -target platform
- Wire target flag to build configuration
- Update usage documentation for new parameter
Examples:
- llgo build -target rp2040 ./firmware
- llgo run -target wasi ./main.go
- llgo test -target cortex-m ./tests
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-30 20:16:29 +08:00
Li Jie
f571dde538
feat(build): integrate target configuration system into build pipeline
...
- Add Target field to build.Config struct
- Update build system to use crosscompile.UseWithTarget()
- Enable target-based cross-compilation in build pipeline
- Maintain backward compatibility with existing GOOS/GOARCH workflow
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-30 20:16:29 +08:00
Li Jie
5424b53b62
feat(crosscompile): extend Export struct and add target-based configuration
...
- Add LLVMTarget, CPU, Features, BuildTags fields to Export struct
- Implement UseTarget() function for target name-based configuration loading
- Add UseWithTarget() function combining target and goos/goarch fallback
- Include comprehensive unit tests for target integration
- Support 206+ embedded platform configurations with inheritance
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-30 20:16:25 +08:00
Li Jie
b80a54eb0f
feat: implement target configuration system for issue #1176
...
Add comprehensive target configuration parsing and inheritance system:
- Create internal/targets package with config structures
- Support JSON configuration loading with inheritance resolution
- Implement multi-level inheritance (e.g., rp2040 → cortex-m0plus → cortex-m)
- Add 206 target configurations from TinyGo for embedded platforms
- Support core fields: name, llvm-target, cpu, features, build-tags, goos, goarch, cflags, ldflags
- Provide high-level resolver interface for target lookup
- Include comprehensive unit tests with 100% target parsing coverage
This foundation enables future -target parameter support for cross-compilation
to diverse embedded platforms beyond current GOOS/GOARCH limitations.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-29 15:12:58 +08:00
luoliwoshang
e60c3bd943
refactor(internal/build):remove rpath change
2025-06-26 13:55:58 +08:00
visualfc
249f85a25e
build: gen pkg to object
2025-06-25 21:01:18 +08:00
luoliwoshang
6e8f3d1d19
test(build):collect llgo test ./... output to test
2025-06-25 15:38:20 +08:00
luoliwoshang
3df783de13
test(build):case with llgo test ./...
2025-06-24 16:34:33 +08:00
luoliwoshang
b469fc990f
fix(build):test all pkg with llgo test ./...
2025-06-24 14:07:20 +08:00
xushiwei
915cdf2c23
#1165
2025-06-23 22:01:42 +08:00
xushiwei
e9c96390e6
Merge pull request #1151 from luoliwoshang/internal/build/testdir
...
internal/build:switch workdir from testpkg like go behavior
2025-06-22 15:26:07 +08:00
visualfc
4726e824a0
build: link globals importpath.name=value
2025-06-17 11:11:06 +08:00
luoliwoshang
48bd1d46af
internal/build:switch workdir from testpkg like go behavior
2025-06-12 16:49:40 +08:00
visualfc
84729e21b8
reflect: makeFunc
2025-06-12 15:50:56 +08:00
xushiwei
c863daf873
Merge pull request #1147 from luoliwoshang/c++
...
cl:compile with clang++
2025-06-12 12:54:13 +08:00
luoliwoshang
93197e7621
internal/build:compile with c mode,when c file
2025-06-12 11:55:47 +08:00
luoliwoshang
4f5c95045d
chore:keep origin c format
2025-06-11 20:30:44 +08:00
luoliwoshang
f36098d704
internal:link by LLGoFile to find libunwind
2025-06-11 19:46:49 +08:00
luoliwoshang
a5fd7f2eba
internal/cl:include llvm-config --cflags to find libunwind.h
2025-06-11 19:34:59 +08:00
luoliwoshang
f2f93c7f5f
cl:compile with clang++
2025-06-11 17:01:12 +08:00
visualfc
6fbc5c6fd0
GOOS=js set -sENVIRONMENT=web,worker
2025-06-09 13:34:13 +08:00
luoliwoshang
780c927ea6
chore:test exit code.
2025-05-22 09:53:34 +08:00
luoliwoshang
0463230533
build:exit when test fail
2025-05-21 16:21:06 +08:00
Li Jie
fd1def7885
build js/wasm target with emscripten
2025-05-17 10:48:27 +08:00
xushiwei
1693942cee
rm xtool/{cppkg,cpgithubpkg}
2025-05-12 03:50:07 +08:00
xushiwei
3f41c313ad
github api: release/asset id => int64
2025-05-11 20:55:59 +08:00