Frank Denis
|
e9cc216804
|
Undefine HAVE_{AMD64,AVX}_ASM with the Windows calling convention
Fixes #1371
|
2024-05-23 15:49:46 +02:00 |
|
Frank Denis
|
4b9ddc6b8d
|
Replace .{ .path= ...} with b.path()
|
2024-05-09 22:08:08 +02:00 |
|
Frank Denis
|
b6ed54f17f
|
Exclude shared libraries on WebAssembly
|
2024-04-29 00:19:08 +02:00 |
|
Frank Denis
|
e77588fe8f
|
Don't skip shared libraries for musl, but do it for android
|
2024-04-28 22:52:05 +02:00 |
|
Frank Denis
|
ef9ad0c041
|
Simplify build of .NET pakages, including Windows/arm64
|
2024-04-28 00:16:15 +02:00 |
|
Frank Denis
|
bf972efda0
|
Use clang pragmas to enable features rather than depend on compiler settings
|
2024-04-27 23:18:59 +02:00 |
|
Frank Denis
|
6669f95b9f
|
Zig: use "const" for variables that are never mutated
|
2023-11-20 18:59:15 +01:00 |
|
Frank Denis
|
426082ee25
|
Zig 0.12 compat
|
2023-11-02 06:51:44 +01:00 |
|
Frank Denis
|
5391211b5d
|
Try to support both zig 0.11 and zig-master
|
2023-10-20 12:36:05 +02:00 |
|
Frank Denis
|
d84fbc2304
|
build.zig: predefine some CPU features
Eventually, we should compile files depending on specific CPU
extensions separately, like what regular Makefiles are doing.
|
2023-09-11 00:16:19 +02:00 |
|
Frank Denis
|
bb607f453e
|
Enable more SIMD optimizations when using Zig
|
2023-09-09 20:39:16 +02:00 |
|
Frank Denis
|
a12afb7b9d
|
Sync build.zig with 1.0.19 and 1.0.20
|
2023-09-09 00:43:27 +02:00 |
|
Frank Denis
|
411905f83b
|
Reorder
|
2023-08-05 11:08:44 +02:00 |
|
Frank Denis
|
c298d1a8c6
|
Only create a shared library where we know it works
|
2023-08-05 11:07:50 +02:00 |
|
Frank Denis
|
4936130b91
|
Build shared libraries again, even on Windows
|
2023-08-05 10:38:39 +02:00 |
|
Frank Denis
|
2300119c4f
|
Update for Zig 0.11
|
2023-08-03 22:35:07 +02:00 |
|
Frank Denis
|
adef28f318
|
Define SODIUM_STATIC for Windows static builds
|
2023-04-27 08:24:28 +02:00 |
|
Frank Denis
|
0c5ac65576
|
build.zig don't strip in Debug mode
|
2023-03-01 17:05:26 +01:00 |
|
Frank Denis
|
135d7ef047
|
Remove redundant strip
|
2023-02-16 22:00:45 +01:00 |
|
Frank Denis
|
abfbcab412
|
Use CLOCK_MONOTONIC for benchmarking, if possible
|
2023-02-15 19:53:33 +01:00 |
|
Frank Denis
|
4275023f16
|
On Windows, a ".LIB" file can be either shared or static
We were overwriting the static library with the shared one.
|
2023-01-18 23:04:24 +01:00 |
|
Frank Denis
|
1ff1396283
|
Add the ability to convert tests into benchmarks
|
2022-12-17 21:36:15 +01:00 |
|
Frank Denis
|
6aa4e8c240
|
Don't built shared library for WASI
|
2022-12-17 20:18:11 +01:00 |
|
Frank Denis
|
42743db558
|
build.zig: require at least SSE4.1 when targeting x86_64
|
2022-11-27 22:42:44 +01:00 |
|
Frank Denis
|
f480b547e4
|
getentropy() didn't exist on old glibc versions
|
2022-11-27 22:02:32 +01:00 |
|
Frank Denis
|
284bc95456
|
getrandom() didn't exist on ancient glibc versions
|
2022-11-27 22:01:26 +01:00 |
|
Frank Denis
|
eee31da071
|
Tests: disable LTO, strip
|
2022-11-27 21:49:13 +01:00 |
|
Frank Denis
|
1203bbcc4d
|
Windows doesn't have getpid()
|
2022-11-27 21:27:28 +01:00 |
|
Frank Denis
|
8081df0b64
|
build.zig: define a few OS-specific feature macros
|
2022-11-27 21:11:18 +01:00 |
|
Frank Denis
|
3075417ef8
|
Add a simple test runner to zig-out/bin/
|
2022-11-23 21:47:39 +01:00 |
|
Frank Denis
|
14e6867981
|
build.zig: statically compile and install all the tests
|
2022-11-23 21:47:35 +01:00 |
|
Frank Denis
|
35e1fdf5da
|
Zig build: enable ARM Crypto
|
2022-11-13 20:51:00 +01:00 |
|
Frank Denis
|
c33ab2d45c
|
Update build.zig for Zig-current
|
2022-10-20 14:42:14 +02:00 |
|
Frank Denis
|
77ab3f8811
|
Strip builds
|
2022-06-07 17:36:00 +02:00 |
|
Frank Denis
|
07f9ab9020
|
Add Zig build system
|
2022-04-28 18:21:39 -07:00 |
|