Commit Graph

2685 Commits

Author SHA1 Message Date
Li Jie
739cc66d0d test wasm with _demo/hello 2025-04-18 00:37:02 +08:00
Li Jie
28d944c6af remove unused wasm_import 2025-04-17 22:59:34 +08:00
Li Jie
19b98393a6 TODO: defer workaround, should remove after fix 2025-04-17 10:06:59 +08:00
Li Jie
5a13e7400e update outdated github.com/goplus/llgo/c references 2025-04-17 10:06:56 +08:00
Li Jie
a56129d675 blank syscall.SetNonblock on wasm 2025-04-17 09:58:52 +08:00
Li Jie
0d75bbace0 fix itab on 32bit 2025-04-17 09:58:52 +08:00
Li Jie
29ec4a7a0e allow config LLGO_WASM_RUNTIME with args 2025-04-17 09:58:52 +08:00
Li Jie
8b26c48d9b execute clang -v in verbose mode 2025-04-17 09:58:52 +08:00
Li Jie
ddd0535d30 split llfiles and ldflags and extract compileAndLinkLLFiles to prepare multi-phase build 2025-04-17 09:58:52 +08:00
Li Jie
3110382d88 fix abi methods crash on wasm 2025-04-11 17:16:02 +08:00
Li Jie
9ee55896e3 update link args for wasm target 2025-04-11 16:28:48 +08:00
Li Jie
ad6f41f312 add LLGO_STDIO_NOBUF to toggle stdout/stderr buffer 2025-04-11 16:28:48 +08:00
Li Jie
8512395985 AllocCStr allocates on heap 2025-04-11 16:28:48 +08:00
Li Jie
7284042823 run wasm with iwasm 2025-04-11 16:28:47 +08:00
Li Jie
0ef683bba9 add LLGO_WASI_THREADS to toggle wasi threads support 2025-04-11 16:28:47 +08:00
Li Jie
d4bf66936a specify setjmp/longjmp function names on wasm 2025-04-11 16:28:47 +08:00
Li Jie
be4737461a make runtime compatible with wasm 2025-04-11 16:28:44 +08:00
Li Jie
7c81d9293b blank ffi for wasm 2025-04-09 14:57:33 +08:00
Li Jie
d1dce65313 update link flags 2025-04-09 14:57:33 +08:00
Li Jie
641f9bbf7c select WASM runtime by LLGO_WASM_RUNTIME 2025-04-09 14:57:32 +08:00
xushiwei
be0e42cf82 Merge pull request #1057 from cpunion/cross-compiling
Cross compiling
2025-04-09 14:26:09 +08:00
Li Jie
3a883b8821 upgrade to github.com/goplus/lib v0.2.0 2025-04-08 19:32:26 +08:00
Li Jie
4bbc58d62d test cross compile on macos 2025-04-08 11:53:21 +08:00
Li Jie
5f4b09bede regenerate snapshot tests 2025-04-08 11:13:00 +08:00
Li Jie
f0ade21155 update docs and CI 2025-04-08 11:12:59 +08:00
Li Jie
f35063ee6e build: download and compile with wasi-sdk 2025-04-08 11:12:57 +08:00
Li Jie
e6c7627ee8 cross compilation 2025-04-08 10:46:14 +08:00
Li Jie
a85d937482 enable command tests 2025-04-08 09:38:00 +08:00
Li Jie
b17632a352 xtool: clang.Cmd supports Env/Verbose/Stdio, add CCFLAGS support 2025-04-08 09:25:49 +08:00
xushiwei
b11eb742cb Merge pull request #1055 from cpunion/fix-ll
fix remote install test
v0.11.0
2025-04-03 18:16:09 +08:00
Li Jie
b63a7f64fd fix _readme tests 2025-04-03 17:35:45 +08:00
xushiwei
cafc438972 Merge pull request #1054 from cpunion/fix-ll
fix readme link and tests
2025-04-03 17:29:22 +08:00
Li Jie
33ef7f737b fix doc links 2025-04-03 17:08:13 +08:00
Li Jie
3e26685a44 fix _readme tests 2025-04-03 17:02:06 +08:00
xushiwei
6a306be480 Merge pull request #1052 from cpunion/fix-ll
mv llgo/{c,cpp,py,x} => lib/{c,cpp,py,x}
2025-04-03 16:56:37 +08:00
Li Jie
9defb6289b separate doc/_readme as a module 2025-04-03 16:44:44 +08:00
Li Jie
a47ad2886f fix broken links 2025-04-03 16:43:23 +08:00
Li Jie
c8d791f206 fix llgo test unit test 2025-04-03 16:32:46 +08:00
Li Jie
8c5f915569 update installation scripts and docs 2025-04-03 16:26:15 +08:00
Li Jie
ed366568b4 move out c/cpp/py 2025-04-03 16:26:11 +08:00
xushiwei
0a8a4eb6a6 Merge pull request #1050 from cpunion/llvm-19
Llvm 19
2025-04-03 11:55:32 +08:00
Li Jie
fdc6cf4838 ci: add -mmacosx-version-min=10.13 to goreleaser macos build 2025-04-03 01:00:53 +08:00
Li Jie
e52af0077b doc: brew link lld@19 2025-04-03 00:26:10 +08:00
Li Jie
847f544839 ci: hide sync progress 2025-04-02 23:28:13 +08:00
Li Jie
685d3202d0 ci: update goreleaser config 2025-04-02 21:49:11 +08:00
Li Jie
33a2580cc3 xtool: update llvm@19 env 2025-04-02 21:49:11 +08:00
Li Jie
a8da654597 ci: make doc verify continue on error 2025-04-02 21:06:07 +08:00
Li Jie
ae01a023ad cl: update snapshot tests 2025-04-02 20:13:02 +08:00
Li Jie
ec20af3c4d ci: upgrade to llvm 19 2025-04-02 20:12:41 +08:00
Li Jie
a6f1ad1c2c compiler: upgrade to llvm@v0.8.3 (llvm 19) 2025-04-02 20:07:52 +08:00