Commit Graph

3850 Commits

Author SHA1 Message Date
Frank Denis
5ad0239a1d config.sub update 2022-01-22 23:37:47 +01:00
Frank Denis
a13eef3255 wasm32-wasi: add /opt/homebrew/bin to the default paths 2022-01-22 23:36:42 +01:00
Frank Denis
89b2d420d4 Lucet has reached EOL 2022-01-22 23:36:35 +01:00
Frank Denis
7d67f1909b 2022 2021-12-31 23:55:56 +01:00
Frank Denis
aa099f5e82 Revert "wasm-opt: use --strip-debug"
This reverts commit 0c2fb123f7.
2021-11-18 14:15:26 +01:00
Frank Denis
0c2fb123f7 wasm-opt: use --strip-debug 2021-11-17 21:03:25 +01:00
Frank Denis
77f77a67f5 Add Visual Studio 2022 support 2021-11-11 13:27:44 +01:00
Frank Denis
aed28f9a8c Update Zig to 0.8.1 2021-11-11 13:26:05 +01:00
Frank Denis
8cb92dc44e Azure Pipelines: build on MSVC 2022 2021-11-11 12:58:54 +01:00
Frank Denis
8c7e53f1b6 dotnet-core: add aarch64-macos builds
Fixes #1106
2021-11-11 12:40:09 +01:00
Frank Denis
715cbfad32 qemu is not needed 2021-11-11 12:14:10 +01:00
Frank Denis
5ef23a4b35 Indent GitHub Actions code 2021-11-10 15:59:50 +01:00
Jørgen P. Tjernø
100ccb452d Portability improvements (#1105)
* Move `raise` code to be behind an autoconf check

This moves the call to `raise` behind a `HAVE_RAISE` autoconf check,
in addition to `__wasm__`. This is intended to help porting to
other platforms that don't support `raise` (e.g. modern game consoles).

* Add autoconf check for `sysconf`

Only try to invoke `sysconf` if the target platform supports it, and
don't warn about unknown page size if `PAGE_SIZE` was defined. Add an
include for `sys/param.h` to increase likelihood of finding `PAGE_SIZE`.
This is intended to help porting to other platforms that don't support
`sysconf` (e.g. modern game consoles) that have a fixed hardware page
size.

* Don't try to use raise & sysconf in a WASI environment

Co-authored-by: Frank Denis <124872+jedisct1@users.noreply.github.com>
2021-10-09 18:39:02 +02:00
Frank Denis
a016aea612 Update msys2 2021-07-25 21:57:16 +02:00
Frank Denis
17741b1cb0 Remove the need for llvm 2021-07-19 12:55:35 +02:00
Frank Denis
dbb8d4ec44 No need to define the NM and STRIP commands 2021-07-19 12:52:29 +02:00
Frank Denis
4a64ce1836 WASI: remove wasi-sdk dependency; build module with zig 2021-07-19 12:36:29 +02:00
Frank Denis
7d71804ee0 Update config.sub 2021-07-13 16:59:44 +02:00
infinitydev
7d300e4c19 Fix build on z/OS using XLC (#1089)
Handle the Sun and the IBM compilers separately
2021-07-09 15:48:34 +02:00
Frank Denis
95673e5b51 Use assignement + case instead of memcpy() 2021-06-17 20:56:54 +02:00
Frank Denis
94daa0e15a Include private/sse2_64_32.h only where SSE2 is required
Fixes #1074
2021-06-13 21:46:08 +02:00
Frank Denis
355f156ab7 Update msys2 2021-06-13 18:52:34 +02:00
Alcaro
1e46e98d83 core.c: Make _sodium_crit_init static (#1073) 2021-06-13 18:22:57 +02:00
Alistair Evans
9cb9855cd5 Add multi-plat nuget package testing (#1070)
Build .net binaries targeting the various linux platforms as a self-contained deployment, then use QEMU to run those binaries on the appropriate architecture
2021-06-02 21:32:28 +02:00
Alistair Evans
3ca709c9e3 Adding linux-arm support for the .net build (#1069)
Generate an armhf cross-compile.
2021-05-26 20:00:56 +02:00
Frank Denis
24856f9e43 Bump nupkg version 2021-05-26 17:29:32 +02:00
Frank Denis
61425f4480 Ubuntu 16.04 has reached EOL and Alpine 3.7 looks really old as well 2021-05-26 16:33:24 +02:00
Frank Denis
28931a417d Format 2021-05-26 16:12:04 +02:00
Alistair Evans
782bb218ce Adds linux-arm64 binary to the generated nuget package (#1067)
Uses cross-compilation to run make; make check uses qemu to execute the tests on virtualised ARM.
2021-05-26 16:11:56 +02:00
Frank Denis
54b8a00051 Update project URL and regen autoconf files 2021-05-25 19:18:43 +02:00
Frank Denis
b5b62722b7 Autoconf update & regen 2021-05-22 12:21:15 +02:00
Frank Denis
fd8215d29d wasi-libc exposes getpid() but it doesn't work without emulation 2021-05-22 11:57:23 +02:00
Frank Denis
8aedf47338 Fix comment in ristretto255_elligator (#1052) 2021-04-21 16:47:07 +02:00
Frank Denis
7168944f16 Update some autoconf definitions 2021-04-08 10:57:21 +02:00
Frank Denis
0389b96972 Regen autoconf files 2021-04-08 10:12:12 +02:00
Frank Denis
b5753e3fae Add some more base64 decoding tests 2021-03-20 00:08:54 +01:00
Frank Denis
d3f4804f4d Proper check for the check-globals script 2021-03-15 12:03:44 +01:00
Frank Denis
dc2d459cc5 Regen autoconf 2021-03-15 11:04:51 +01:00
Frank Denis
312bb605ee Move lucet down 2021-03-10 18:46:07 +01:00
Frank Denis
d99f7745b6 apt-get update may be required on workflows 2021-03-01 12:52:46 +01:00
Frank Denis
23a7497f34 Update msys2 2021-02-28 21:06:02 +01:00
Tobias Nießen
fcff8e9cee test: fix two error messages (#1034) 2021-02-24 23:56:35 +01:00
Frank Denis
3d807d9205 wasm bench: make lucet performance significantly better
By default, lucetc generates code with explicit bound checking,
even though the runtime has guard pages.

Elision only happens with --reserved-size=4GiB
2021-02-24 21:52:44 +01:00
Frank Denis
d73fd3903f Remove unused hash2.exp 2021-02-21 00:52:29 +01:00
Frank Denis
88a591050e Add support for Node without wasmer-js 2021-02-20 21:24:29 +01:00
Frank Denis
25316cce5a Add support for SSVM 2021-02-20 20:55:52 +01:00
Frank Denis
044c3ef3f2 WASM benchmarks: add lucet and WAMR, update wasmtime & wasmer 2021-02-19 23:11:29 +01:00
Frank Denis
afaf3aa1d8 Braces 2021-02-13 12:10:21 +01:00
Frank Denis
e3da8b137f Merge branch 'stable' of github.com:jedisct1/libsodium into stable
* 'stable' of github.com:jedisct1/libsodium:
  Only run test-globals if it exists
  Put <meta> tag outside <style>
  fix for asm.js async loading
2021-02-12 17:19:46 +01:00
Frank Denis
9e625a0b2a Fix typos in comments
Backport from #1032
2021-02-12 17:19:07 +01:00