|
20eacb22
|
2025-08-02T15:28:46
|
|
Emscripten: Add wasm64 target (#927)
* src/wasm32: Allow building with Emscripten with 64bit support
MEMORY64 enables 64bit pointers so this commit updates the accessors for the
libffi data structures accordingly.
Each JS functions in ffi.c receives pointers as BigInt (i64) values and with
casts them to Numer (i53) using bigintToI53Checked. While memory64 supports
64bit addressing, the maximum memory size is currently limited to 16GiB
[1]. Therefore, we can assume that the passed pointers are within the
Number's range.
[1] https://webassembly.github.io/memory64/js-api/#limits
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
* Add wasm64 target to the build scripts
This commit adds support for the wasm64 target via the configure
script. Emscripten supports two modes of the -sMEMORY64 flag[1] so the
script allows users specifying the value through a configuration variable.
Additionally, "src/wasm32" directory has been renamed to the more generic
"src/wasm" because it's now shared between both 32bit and 64bit builds.
[1] https://emscripten.org/docs/tools_reference/settings_reference.html#memory64
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
* GitHub Actions: Add wasm64 tests
This commit adds a test matrix for wasm32, wasm64 and wasm64 with the
-sMEMORY64=2 flag, using the latest version of Emscripten. -Wno-main is
added to suppress the following warning in unwindtest.cc and
unwindtest_ffi_call.cc.
> FAIL: libffi.closures/unwindtest_ffi_call.cc -W -Wall -O2 (test for excess errors)
> Excess errors:
> ./libffi.closures/unwindtest_ffi_call.cc:20:5: warning: 'main' should not be 'extern "C"' [-Wmain]
> 20 | int main (void)
> | ^
> 1 warning generated.
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
* testsuite: Fix types of main function
test_libffi.py calls each test's main function without arguments, but some
tests define the main function with parameters. This signature mismatch
causes a runtime error with the recent version of Emscripten.
This commit resolves this issue by updating the function signatures to match
the way they are called.
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
* README: Add document about WASM64
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
---------
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
|
|
e28a0d5b
|
2025-06-10T16:17:58
|
|
ci: add fail-if-no-assets option in tarball workflow
|
|
517310dd
|
2025-06-09T19:03:49
|
|
ci: update compiler versions in github workflow
|
|
d994395c
|
2025-06-09T18:43:40
|
|
ci: update gcc version to 15 in build process
|
|
a18d4e95
|
2025-06-09T13:35:29
|
|
feat(.github/workflows): add step to wipe old snapshot assets in tarball.yml
|
|
b9b83785
|
2025-06-09T13:29:03
|
|
fix(github-actions): correct regex in version extraction
|
|
7ac6f145
|
2025-06-09T13:08:02
|
|
ci: change packages installed during workflow
|
|
ceab352d
|
2025-06-09T13:01:50
|
|
ci: add installation of necessary tools to tarball workflow
|
|
1f73aa50
|
2025-06-09T12:56:19
|
|
refactor(.github/workflows/tarball): remove repeated job blocks
|
|
7f5375d7
|
2025-06-09T12:55:09
|
|
chore(workflows): update snapshot release description in tarball.yml
|
|
2a5195bb
|
2025-06-09T12:54:55
|
|
chore(.github/workflows): update tarball.yml indentation
|
|
2f535b8f
|
2025-06-09T12:52:43
|
|
chore(ci): update tarball workflow in GitHub Actions
|
|
172bfb41
|
2025-06-09T12:22:35
|
|
chore(.github/workflows): update tarball workflow to use softprops/action-gh-release
|
|
0947743f
|
2025-06-09T11:53:15
|
|
Make tarballs (#924)
* Create tarballs in CI
|
|
40a76827
|
2025-06-09T09:49:00
|
|
Improve CI test coverage (#923)
Add CI testing on Windows with both gcc and clang.
|
|
64a42f61
|
2025-06-08T16:59:58
|
|
More CI testing (#921)
* ci: add new build configuration in GitHub Actions
* ci: add Windows clang build workflow
* ci: add additional packages to GitHub workflows build
* ci: optimize build workflow and improve commenting
* ci: remove unused MSVC dev command from build workflow
* ci: modify build workflow to support multiple compilers
* build(github-actions): use matrix.compiler for CC and CXX variables
|
|
8b0eab28
|
2025-06-08T12:16:38
|
|
Update License date and improve rcedit DLL metadata (#919)
* rcedit add architecture and original filename
* Update LICENSE to 2025
|
|
e3cbebff
|
2025-06-06T22:40:40
|
|
use rcedit to add metainfo to DLL (#918)
* use rcedit to add metainfo to DLL
* remove trailing backslash in build.yml
* build.yml: add rcedit execute permission
* build.yml: cd to the right directory
|
|
9bb21f1d
|
2025-06-06T13:48:25
|
|
fix: correct path in LDFLAGS line of build.yml workflow
|
|
c2ae66fc
|
2025-06-06T13:41:56
|
|
fix(build): change version.o to version.obj in build.yml
|
|
d326a4c0
|
2025-06-05T09:35:47
|
|
refactor: simplify versioning in .github/workflows/build.yml
|
|
d241e510
|
2025-06-05T09:22:10
|
|
chore(build): update build script to use object file for versioning
|
|
c07b0c4d
|
2025-06-05T08:52:41
|
|
fix(github workflows): correct LDFLAGS path in build.yml
|
|
ec22d0fe
|
2025-06-05T08:44:36
|
|
build(.github/workflows): include build number in version info
|
|
e133ee84
|
2025-06-05T07:42:52
|
|
chore(build): add command to log version information in build script
|
|
c8d929fc
|
2025-06-05T07:33:57
|
|
ci: add version logging in build workflow
|
|
d6029210
|
2025-06-05T07:11:43
|
|
ci: refactor version retrieval in build workflow
|
|
49c70cab
|
2025-06-05T06:57:20
|
|
fix(build): correct variables for FILEVERSION and PRODUCTVERSION
|
|
27f93a70
|
2025-06-05T06:50:12
|
|
feat(build): add version information resource to build script and update documentation version
|
|
bac99f2f
|
2025-06-05T06:12:10
|
|
Release candidate 1 for 3.5.0. Windows build fixes. (#916)
* refactor(ci): improve wget retry logic in .ci/install.sh
* build(github-actions): use static runtime library in build
* refactor(ffi.h.in): export version API
* chore: update libffi version to 3.5.0-rc1
|
|
5ad529fb
|
2025-06-03T19:12:49
|
|
Many CI testing fixes and improvements. (#913)
|
|
854ce7be
|
2025-06-02T20:18:46
|
|
Make 3.5.0-pre0 release. Build and publish Windows binaries. Clean up testing. (#912)
This commit removes many platforms from the testing workflow.
They will be added back in future commits.
|
|
dcc9e93b
|
2025-05-28T14:32:02
|
|
Add Issue labeler Action
|
|
adfe4489
|
2025-01-31T21:41:56
|
|
Emscripten: remove support for `-sWASM_BIGINT=0` (#874)
* Emscripten: cleanup
* Emscripten: remove support for `-sWASM_BIGINT=0`
* Emscripten: remove redundant CircleCI config
* Emscripten: modernize CI
* Ensure test helper methods are static
Similar to #644.
* Fix test failures in `cls_multi_{s,u}shortchar`
|
|
377a1369
|
2024-09-15T07:38:22
|
|
Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows (#856)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7)
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
|
94eaedb4
|
2024-02-18T08:41:04
|
|
Update sparc64 host
|
|
e1dcf03b
|
2024-02-18T08:02:45
|
|
Update cfarm hostnames
|
|
c07c40ee
|
2024-01-31T22:43:38
|
|
`feat(github-actions): add new build workflow for warp`
|
|
adbcf2b2
|
2023-10-21T09:58:28
|
|
Disable firefox testing
|
|
22b50e89
|
2023-08-31T16:31:42
|
|
Fix python and pyodide version
|
|
4467a3bc
|
2023-08-31T08:48:50
|
|
Upgrade pyodide version to match newer selenium API
|
|
23752064
|
2023-02-09T12:23:35
|
|
Normalize libffi labels
|
|
ca268015
|
2023-02-09T10:31:22
|
|
Use rlgl
|
|
7d23c2d2
|
2023-02-09T06:01:37
|
|
Add emscripten gha workflow (#768)
Resolves issue #767
|
|
883f5ae6
|
2023-02-05T09:51:37
|
|
Rename label
|
|
c267c72f
|
2023-02-02T16:04:34
|
|
Modernize
|
|
7611bb4c
|
2023-01-08T09:01:00
|
|
Use checkout@v3, with nodejs 16
|
|
45e49295
|
2022-10-16T12:41:56
|
|
Add 32-bit cygwin test
|
|
c163d93a
|
2022-10-08T18:35:38
|
|
Add gcc-12 testing for aarch64 linux
|
|
e9e44157
|
2022-09-27T21:25:30
|
|
Don't tweak path
|
|
4594dcc9
|
2022-09-27T21:05:26
|
|
Fix find
|
|
fe68a7b9
|
2022-09-27T20:29:17
|
|
Locate tools
|
|
cfb3f4c2
|
2022-09-27T20:13:42
|
|
Use cross tools for Windows
|
|
ae544e00
|
2022-09-27T18:23:06
|
|
Fix shell
|
|
b8d849bd
|
2022-09-27T17:58:31
|
|
Find ms tools
|
|
9785eee0
|
2022-09-27T17:39:44
|
|
32- and 64-bit Windows
|
|
1421717e
|
2022-09-27T08:13:17
|
|
Add "lto" to triple to identify lto builds
|
|
425acd4c
|
2022-09-27T07:57:37
|
|
Try aarch64 linux with -flto
|
|
c4261a05
|
2022-09-26T16:45:00
|
|
Show compiler version
|
|
5ce26a0e
|
2022-09-26T13:43:40
|
|
CI: add Android builds (#732)
|
|
e79f1948
|
2022-09-24T17:11:30
|
|
Add test case transcribed from cpython
|
|
ab960387
|
2022-09-19T19:42:35
|
|
Set host triplet for native builds
|
|
a6fc8165
|
2022-09-19T19:25:09
|
|
Update job names
|
|
6b7fb6ce
|
2022-09-19T18:23:42
|
|
Give better names to CI workflows
|
|
2abf00a6
|
2022-09-15T08:25:39
|
|
Tweak msys2 tools again
|
|
d1b31536
|
2022-09-15T08:16:26
|
|
Fix msys2 tool selection
|
|
d352ed36
|
2022-09-15T08:10:53
|
|
Build 32- and 64-bit msys2
|
|
a509abf6
|
2022-09-15T06:45:00
|
|
Install unzip
|
|
950ed4a7
|
2022-09-15T06:33:14
|
|
Don't make msys2 default shell
|
|
5d02c0cc
|
2022-09-15T06:28:23
|
|
Try msys2
|
|
64a78fa7
|
2022-09-15T06:08:30
|
|
Try new path
|
|
77fdeae8
|
2022-09-15T01:37:31
|
|
Find mingw32
|
|
bb4e7278
|
2022-09-15T01:28:58
|
|
DEbug
|
|
7443b421
|
2022-09-14T23:17:21
|
|
Try new shell
|
|
2ebc36f4
|
2022-09-14T23:11:52
|
|
Fix indentation
|
|
3740b243
|
2022-09-14T23:10:43
|
|
set mingw32 path
|
|
7bf23f89
|
2022-09-14T23:04:42
|
|
Rename job
|
|
ce5b2208
|
2022-09-14T23:02:32
|
|
Fix mingw32 github actions
|
|
317c9b6a
|
2022-09-14T22:54:10
|
|
Add mingw32 testing
|
|
26cc9a6c
|
2022-09-10T20:36:45
|
|
Remove stray }}
|
|
07818488
|
2022-09-10T11:45:28
|
|
Update rlgl usage (switch from player ID to labels)
|
|
6e7caacb
|
2022-09-10T10:31:37
|
|
Label rlgl reports
|
|
d9a19e21
|
2022-09-07T07:58:03
|
|
The right kind of quotes
|
|
2b264496
|
2022-09-07T07:57:26
|
|
More quotes
|
|
eb9eb1f6
|
2022-09-07T07:49:51
|
|
Fix random build dir
|
|
cca77833
|
2022-09-07T07:20:59
|
|
Fix typo
|
|
08693502
|
2022-09-07T07:12:10
|
|
Set CC and CXX for GCC compile farm builds
|
|
b86c3dc0
|
2022-09-06T14:25:09
|
|
Fix typos
|
|
c9be1378
|
2022-09-06T14:12:21
|
|
Retry autoconf downloads
|
|
62471fd0
|
2022-09-06T13:00:02
|
|
Fix typo
|
|
5a6c94f7
|
2022-09-05T22:04:52
|
|
Test with gcc and clang on macos 11 and 12.
|
|
351318e3
|
2022-09-05T15:45:53
|
|
Switch to 7 char SHA IDs. Fix windows crlf at git clone time.
|
|
2a024088
|
2022-09-05T12:56:19
|
|
Use GitHub SHA for rlgl ID
|
|
4b79267b
|
2022-09-05T08:11:45
|
|
outputs vs output
|
|
3020ad83
|
2022-09-05T08:07:57
|
|
Use single quotes
|
|
f969a50a
|
2022-09-05T08:06:53
|
|
Try {{}}
|
|
8df671a3
|
2022-09-05T08:05:39
|
|
Fix compares
|
|
6a9bbc85
|
2022-09-05T07:54:47
|
|
Show host availability
|
|
49a361c3
|
2022-09-05T07:51:34
|
|
Fix conditionals?
|
|
d9189beb
|
2022-09-05T07:47:46
|
|
Use boolean values
|