xushiwei
1ee4da9851
Merge pull request #1320 from aofei/ci
...
chore(ci): migrate from `macos-13` to `macos-15-intel` runner
2025-09-26 16:57:46 +08:00
xushiwei
9e1b321ce6
Merge pull request #1308 from visualfc/cabi_riscv
...
internal/cabi: support risc-v specific target-abi
2025-09-26 16:30:43 +08:00
xushiwei
b52caefebd
Merge pull request #1327 from visualfc/fixabi
...
ssa: fix abiTupleOf
2025-09-26 16:26:24 +08:00
xushiwei
0c63138ccd
Merge pull request #1328 from visualfc/reflect
...
runtime/internal/lib/reflect: fix Field closure kind to func
2025-09-26 16:25:08 +08:00
xushiwei
f40da557af
Merge pull request #1323 from visualfc/big
...
runtime: math/big use math_big_pure_go
2025-09-26 16:20:31 +08:00
xushiwei
0e28ac7ce4
Merge pull request #1329 from luoliwoshang/ci/link-python
...
ci:fix brew python & update macos-13 -> macos-15
2025-09-26 16:14:12 +08:00
luoliwoshang
036bb858e2
ci:link --overwrite python
2025-09-26 11:58:17 +08:00
luoliwoshang
5e86d1aee2
ci:fix brew python & update macos-13 -> macos-15
2025-09-26 11:29:20 +08:00
xushiwei
c4223df087
Merge pull request #1301 from luoliwoshang/xtensa/o0
...
llgo/embed:compile with `Oz` & link with `-s` for embed target to reduce size
2025-09-26 11:13:22 +08:00
visualfc
ccaf59ec62
runtime/internal/lib/reflect: fix Field closure kind to func
2025-09-26 10:27:56 +08:00
visualfc
5592a8fc26
ssa: fix abiTupleOf
2025-09-25 20:16:44 +08:00
visualfc
62d0ee39de
runtime: math/big use math_big_pure_go
2025-09-24 10:32:57 +08:00
Aofei Sheng
79f404ac88
chore(ci): migrate from macos-13
to macos-15-intel
runner
...
GitHub announced the deprecation of the `macos-13` runner image[^1],
which will be completely removed by December 4th, 2025.
This commit migrates all workflows to use `macos-15-intel` runners
following the announcement's recommendation.
This also uses `ubuntu-latest` alias instead of explicit `ubuntu-24.04`.
[^1]: https://github.blog/changelog/2025-09-19-github-actions-macos-13-runner-image-is-closing-down/
Signed-off-by: Aofei Sheng <aofei@aofeisheng.com >
2025-09-22 10:01:20 +08:00
xushiwei
8959c83397
Merge pull request #1302 from MeteorsLiu/move-embdemo
...
chore: move _embdemo to _demo
2025-09-21 11:36:38 +08:00
xushiwei
67a3cb2e7e
Merge pull request #1314 from luoliwoshang/internal/build/genll
...
fix:GenLL flag to correct compile
2025-09-21 11:35:19 +08:00
xushiwei
1195ce9b03
Merge pull request #1318 from visualfc/tpunsafe
...
ssa: impl builtin alignof offsetof
2025-09-21 11:32:52 +08:00
visualfc
7323187f90
ssa: impl builtin alignof offsetof
2025-09-18 21:16:06 +08:00
luoliwoshang
bbcbddfcad
internal/crosscompile:ld -S to ensure emit-reloc correct
2025-09-18 15:45:25 +08:00
luoliwoshang
8fa3819714
internal/crosscompile:ld -s for embed target
2025-09-18 15:22:02 +08:00
luoliwoshang
c562f05b51
fix:GenLL correct compile
2025-09-17 14:17:17 +08:00
luoliwoshang
cc5c1144a7
internal/crosscompile:Oz optimize level for embed target
2025-09-16 16:40:45 +08:00
visualfc
db28648d29
internal/cabi: support riscv64/riscv32 target-abi
2025-09-16 12:42:30 +08:00
Haolan
03e617d902
chore: remove _embdemo
2025-09-15 14:44:55 +08:00
Haolan
e84f859d6c
fix: unexpected string
2025-09-15 11:04:30 +08:00
Haolan
4b2e1e777c
chore: move _embdemo to _demo
2025-09-15 10:57:31 +08:00
xushiwei
18e036568d
Merge pull request #1299 from MeteorsLiu/fix-export-check-ci
...
ci: fix clite init() causing linting failure
2025-09-15 09:17:15 +08:00
Haolan
e4f77f00a6
ci: fix clite init() causing linting failure
2025-09-14 23:06:09 +08:00
visualfc
8bfe133bee
internal/cabi: support target esp32c3
2025-09-14 20:50:13 +08:00
xushiwei
897f944760
Merge pull request #1296 from visualfc/cabi_esp32
...
internal/cabi: support target esp32
2025-09-14 10:32:20 +08:00
xushiwei
a202b484a9
Merge pull request #1285 from cpunion/impl-build-mode
...
Implement llgo build mode support
2025-09-14 10:30:47 +08:00
xushiwei
17dfdd38c2
Merge pull request #1283 from cpunion/reorganize-demos
...
reorganize: consolidate demo directories
2025-09-14 10:26:45 +08:00
xushiwei
30a3e73d4f
Merge pull request #1268 from MeteorsLiu/emb-runtime
...
fix(runtime): go runtime when building in baremetal environment
2025-09-14 10:26:02 +08:00
visualfc
6170c1dcb9
internal/cabi: support target esp32
2025-09-12 11:16:25 +08:00
Li Jie
cc65ee18b5
full test params passing of exported functions
2025-09-12 10:08:01 +08:00
Li Jie
50d1d2e19a
remove duplicated return
2025-09-11 15:02:45 +08:00
Li Jie
c3b674d804
add export demo and test
2025-09-11 14:08:52 +08:00
Li Jie
3605eeeef7
export c header file for build library
2025-09-11 14:07:58 +08:00
Li Jie
729e5772a0
process //export with initLink
2025-09-11 08:53:17 +08:00
Li Jie
a2742a9de4
set buildmode to exe for non-build mode
2025-09-11 08:53:17 +08:00
Li Jie
68947bfc1f
Fix library mode linking by optimizing genMainModuleFile
...
- For library modes (c-archive, c-shared), only generate minimal code with __llgo_argc/__llgo_argv globals
- For executable mode, generate full main function with runtime initialization
- This fixes undefined symbol errors when linking libraries that reference these globals
2025-09-11 08:53:17 +08:00
Li Jie
e05c8b9f46
Implement llgo build mode support ( #1197 )
...
- Add BuildMode type with three build modes: exe, c-archive, c-shared
- Restrict buildmode flag to llgo build command only (not run/install/test)
- Implement build mode specific linker arguments:
- c-shared: use -shared -fPIC flags
- c-archive: use ar tool to create static archive
- exe: default executable mode
- Add normalizeOutputPath function for platform-specific file naming conventions
- Generate C header files for library modes
- Fix buildmode flag conflict by removing from PassArgs
- Add comprehensive test coverage for all build modes
- Resolve duplicate logic between defaultAppExt and normalizeOutputPath
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-11 08:53:17 +08:00
Haolan
dc59333657
test: remove chinses commets
2025-09-10 17:05:38 +08:00
Haolan
c50395b2b9
test: add esp32 libc and rt test
2025-09-10 17:03:05 +08:00
Haolan
a1d7417684
chore: remove unused file
2025-09-10 14:15:22 +08:00
Haolan
0bbdb6c204
fix: change clite's LLGoPackage to true to execute its init()
2025-09-10 14:14:22 +08:00
Haolan
0ed3a54244
Merge branch 'main' of https://github.com/goplus/llgo into emb-runtime
2025-09-10 14:06:06 +08:00
xushiwei
d5ad4d997d
Merge pull request #1272 from visualfc/cabi_opt
...
internal/cabi: call optimization
2025-09-10 13:49:48 +08:00
Haolan
3cc8fd1c91
Merge branch 'main' of https://github.com/goplus/llgo into emb-runtime
2025-09-10 13:49:19 +08:00
xushiwei
d0962d8adc
Merge pull request #1264 from MeteorsLiu/libc-version
...
Fix xtensa newlib `stdio` stuck and support libc version
2025-09-10 13:46:36 +08:00
xushiwei
d7b9968d9a
Merge pull request #1253 from luoliwoshang/release/esp-clang
...
release:compile & release with esp clang/llvm
2025-09-10 13:40:12 +08:00