Commit Graph

2624 Commits

Author SHA1 Message Date
Li Jie
0e71576265 build: pass CFLAGS and LDFLAGS to clang 2025-03-20 11:17:27 +08:00
Li Jie
71b34003ca debug: rollback unwind to don't depends llvm runtime, solve libunwind linking on homebrew linux in llgo formal 2025-03-19 14:32:32 +08:00
Li Jie
74ededd8c8 ci: run llgo test ./... 2025-03-19 11:35:52 +08:00
Li Jie
a732fa237c test: reduce unnecessary pkgs compilation for llgo test 2025-03-19 11:35:51 +08:00
Li Jie
fd4c22308d ssa: removed unused ssa.Program.goStrs 2025-03-19 11:25:51 +08:00
Li Jie
d6f18894e6 test: add llgo build tag to compiler test cases 2025-03-19 11:25:50 +08:00
xushiwei
992d54693f Merge pull request #1029 from visualfc/gogen
update gogen v1.16.8
2025-03-19 08:51:12 +08:00
visualfc
9be1bd0775 update gogen 2025-03-19 08:32:00 +08:00
xushiwei
29cc689abd Merge pull request #1023 from cpunion/toggle-rpath-change
link: don't run install_name_tool -change by default
2025-03-13 23:15:47 +08:00
xushiwei
39d28e507d Merge pull request #1022 from goplus/dependabot/go_modules/compiler/github.com/goplus/gogen-1.16.7
build(deps): bump github.com/goplus/gogen from 1.16.6 to 1.16.7 in /compiler
2025-03-13 23:12:38 +08:00
Li Jie
eacb5bc6f8 link: don't run install_name_tool -change by default 2025-03-13 19:55:48 +08:00
dependabot[bot]
19658454bd build(deps): bump github.com/goplus/gogen in /compiler
Bumps [github.com/goplus/gogen](https://github.com/goplus/gogen) from 1.16.6 to 1.16.7.
- [Release notes](https://github.com/goplus/gogen/releases)
- [Commits](https://github.com/goplus/gogen/compare/v1.16.6...v1.16.7)

---
updated-dependencies:
- dependency-name: github.com/goplus/gogen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-13 00:17:09 +00:00
xushiwei
02e3a6ae8b Merge pull request #1018 from cpunion/fix-libunwind
runtime: fix libunwind to compatible with homebrew linux
2025-03-04 19:46:35 +08:00
Li Jie
77376087db ci: optimize model download to avoid Huggingface blocking
Download the LLaMA model as a separate job and share it as an artifact to prevent
repeated downloads from Huggingface which could lead to rate limiting or blocking.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-04 11:20:16 +08:00
Li Jie
52a77f9efb runtime: fix libunwind to compatible with homebrew linux 2025-03-04 10:52:18 +08:00
xushiwei
d483b13107 Merge pull request #1011 from visualfc/deferargs2
support defer args
v0.10.0
2025-02-28 18:14:16 +08:00
xushiwei
dea4d9df63 Merge pull request #1015 from luoliwoshang/runtime/rmlog
runtime:rm log of StartProcess
2025-02-28 18:10:54 +08:00
xushiwei
b7601a7f08 Merge pull request #1016 from luoliwoshang/ctype
c:some type & stat's pub
2025-02-28 18:10:27 +08:00
luoliwoshang
2e148d6d0e c/pub:fix stat 2025-02-28 16:45:42 +08:00
luoliwoshang
8835a1a232 c:some type 2025-02-28 16:18:27 +08:00
visualfc
00e3b6b5a0 _demo/defer 2025-02-27 14:38:25 +08:00
visualfc
3bb51c5d51 ssa: defer load/store func and args 2025-02-27 14:32:21 +08:00
luoliwoshang
433df05858 runtime:rm log of StartProcess 2025-02-27 14:18:44 +08:00
xushiwei
22524b03c8 Merge pull request #1013 from tsingbx/llgo/llcppg.pub
add all llcppg.pub for clib
2025-02-27 10:41:44 +08:00
tsingbx
508fa62a48 delete llcppg.pub for debug,llama2,neco,setjmp,sys,syscall 2025-02-26 15:30:45 +08:00
tsingbx
e7f7f98c02 add all llcppg.pub for clib 2025-02-26 15:25:06 +08:00
xushiwei
9edaa8eb93 Merge pull request #1010 from cpunion/fix-empty-content
build: fix empty .ll file name generation
2025-02-22 17:46:36 +08:00
Li Jie
32587c1a40 build: fix empty .ll file name generation 2025-02-22 09:25:44 +08:00
xushiwei
019c482d18 Merge pull request #995 from cpunion/fix-llgo-test-crash
Build on Go 1.24, compatible with Go version directive 1.20-1.24 in go.mod
2025-02-21 06:04:21 +08:00
Li Jie
ca906d9c71 test: add byte and append coverage 2025-02-19 12:27:46 +08:00
Li Jie
35ba8476b0 runtime: net/textproto/textproto.go overlay don't import llgo runtime 2025-02-19 12:09:03 +08:00
Li Jie
a473901cfd runtime: patching testing/testing.go for go1.24 2025-02-19 11:46:47 +08:00
Li Jie
b163d71aed test: 3 attempts to avoid clang errors 2025-02-19 11:35:24 +08:00
Li Jie
d561f1399a test: test compiler/internal/build with verbose to show clang command line 2025-02-19 11:35:24 +08:00
Li Jie
00406e08fb ssa: record NeedRuntime, NeedPyInit in Package to compatible multi-packages building 2025-02-19 11:35:24 +08:00
Li Jie
0e4ca910d6 build: building multi packages outputs to temporary path 2025-02-19 11:35:24 +08:00
Li Jie
b00f52472b build: don't output pkg path 2025-02-19 11:35:24 +08:00
Li Jie
95a6e356ee build: let llgo build without -o outputs executable 2025-02-19 11:35:24 +08:00
Li Jie
f4da8e8876 runtime: disable godebug unimplemented warnings 2025-02-19 11:35:23 +08:00
Li Jie
1a08a59b49 env: fix devel version name 2025-02-19 11:35:23 +08:00
Li Jie
758ceb791b compiler: upgrade x/tools 0.30.0 2025-02-19 11:35:23 +08:00
Li Jie
6a1e0084f4 ssa: support len([]func()) 2025-02-19 11:35:23 +08:00
Li Jie
e318cab252 compiler: add internal/build tests 2025-02-19 11:35:23 +08:00
Li Jie
6b12547303 ci: filter out uncollected packages 2025-02-19 11:35:23 +08:00
Li Jie
96d6c00815 cl: regenerate test snapshots 2025-02-19 11:35:22 +08:00
Li Jie
7be79d81f9 ssa: uniform byte and uint8 name on different platforms 2025-02-19 11:35:22 +08:00
Li Jie
2be558d554 runtime: reflect.Value.Equal 2025-02-19 11:35:22 +08:00
Li Jie
60fac0a010 ci: test on go1.24 2025-02-19 11:35:21 +08:00
Li Jie
df0f239929 runtime: fix patch for testing 2025-02-17 07:50:37 +08:00
Li Jie
4e1aea4597 ci: run llgo test 2025-02-17 07:50:36 +08:00