Linux User
e6bcbf47b4
patch libsodium for windows the cmake way
2020-06-12 15:19:11 -05:00
Jason Rhinelander
83fc7de237
Get processor count properly
2020-06-10 14:53:57 -03:00
Jason Rhinelander
fa794e64cd
Build libsodium with ccache and fPIC
...
fPIC is needed in case we are building a shared liblokinet (within which
we want the static libsodium).
2020-05-17 23:31:41 -03:00
Jeff Becker
64157d5d44
track libcurl and libuv with cmake, add libuv submodule
2020-05-17 14:53:28 -03:00
Rick V
dbc559d4ff
finally fix cross-LTO on windows builds
2020-03-03 15:33:10 -06:00
Rick V
4cd7a22ca3
fix libsodium cross compile
2020-03-03 15:33:04 -06:00
Jason Rhinelander
7ab6220a41
Older cmake workaround
2020-02-06 17:13:57 -04:00
Jason Rhinelander
5a4700d868
Use ExternalProject to build downloaded libsodium
2020-02-06 16:27:51 -04:00
Jason Rhinelander
73239f4c39
Use glob to find sodium source files
...
Manually changing the list every time we want to change the libsodium
version is painful.
I tested this glob against libsodium 1.0.17 and verified it produces the
same set of files (aside from the generated version.h), and that in
1.0.18 it produces the same set modulo upstream files removed/added.
2020-02-02 22:12:29 -04:00
Jason Rhinelander
b72a4296b7
Fix libsodium 1.0.18 URL
2020-02-02 21:37:09 -04:00
Jason Rhinelander
2b93ccb393
Bump libsodium required version to 1.0.18
...
We use crypto_core_ed25519_scalar_mul which is only exported by
libsodium >= 1.0.18.
2020-02-02 16:38:48 -04:00
Jeff Becker
8bac293dc7
fix patching command
2019-11-05 08:09:17 -05:00
Jeff Becker
25c820f166
add compile time override for libsodium tarball url using -DSODIUM_TARBALL_URL= https://whatever/tarball.tar.gz
2019-11-01 11:05:09 -04:00
Rick V
c63d0b5be2
add cmake rule to patch libsodium on windows
...
# Conflicts:
# crypto/CMakeLists.txt
2019-10-31 17:08:34 -05:00
Jason Rhinelander
ac3cd441ac
Fix download hash verification & version string
...
Fix hash verification in downloaded libsodium package.
Fix @VERSION@ expansion in sodium/version.h (but don't set it globally
because VERSION is far too generic a variable to be leaving set).
2019-10-31 18:01:36 -03:00
Jason Rhinelander
57ccb1fd5c
Move sodium download into separate cmake include
2019-10-31 17:49:08 -03:00