1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00
Commit Graph

24 Commits

Author SHA1 Message Date
Frank Denis
da1be5bf55 build.zig: build only static libraries 2023-03-01 17:04:21 +01:00
Frank Denis
bb2ee2359f Update for Zig 0.11 2023-02-16 21:59:29 +01:00
Frank Denis
05b8da1a49 Use CLOCK_MONOTONIC for benchmarking, if possible 2023-02-15 19:42:08 +01:00
Frank Denis
9cd9a0d120 On Windows, a ".LIB" file can be either shared or static
We were overwriting the static library with the shared one.
2023-01-18 22:13:29 +01:00
Frank Denis
e0f6d836a3 Add the ability to convert tests into benchmarks 2022-12-17 21:36:51 +01:00
Frank Denis
fb01eda660 Don't built shared library for WASI 2022-12-17 20:17:50 +01:00
Frank Denis
e484cf4959 build.zig: require at least SSE4.1 when targeting x86_64 2022-11-27 22:42:29 +01:00
Frank Denis
b0a4ef1939 getentropy() didn't exist on old glibc versions 2022-11-27 22:02:39 +01:00
Frank Denis
a3a9773516 getrandom() didn't exist on ancient glibc versions 2022-11-27 22:01:20 +01:00
Frank Denis
520592d38b Tests: disable LTO, strip 2022-11-27 21:49:35 +01:00
Frank Denis
e474a5475c Windows doesn't have getpid() 2022-11-27 21:27:07 +01:00
Frank Denis
f40cb1e142 build.zig: define a few OS-specific feature macros 2022-11-27 21:10:10 +01:00
Frank Denis
71c7aa0975 Add a simple test runner to zig-out/bin/ 2022-11-23 21:37:20 +01:00
Frank Denis
195e98af39 build.zig: statically compile and install all the tests 2022-11-23 21:17:21 +01:00
Frank Denis
77c676a9e1 Zig build: enable ARM Crypto 2022-11-13 20:50:27 +01:00
Frank Denis
ee11a1ff8a Update build.zig for Zig-current 2022-10-20 14:42:39 +02:00
Frank Denis
a0058a7623 Strip builds 2022-06-07 17:35:41 +02:00
Frank Denis
94100e5920 build.zig: build both static and shared versions, copy version file 2022-04-28 18:19:02 -07:00
Frank Denis
be7c15b23b build.zig remove ASM_BUILD_SYMBOL 2022-04-28 17:46:37 -07:00
Frank Denis
826b7d2a10 Compile assembly files 2021-11-10 15:40:20 +01:00
Frank Denis
620d4529b6 Strip non-debug builds 2021-11-10 15:35:22 +01:00
Frank Denis
91340df7a0 Correct target library name 2021-11-10 15:33:37 +01:00
Frank Denis
1329ba8ad8 Remove duplicate definition 2021-11-10 15:31:59 +01:00
Frank Denis
59b869b356 Add preliminary build.zig file 2021-11-10 15:31:32 +01:00