Commit Graph

6405 Commits

Author SHA1 Message Date
Jeff Becker
c66e925fb2
add more cmake incantations for windows cross compile 2020-06-17 11:06:12 -04:00
Jeff Becker
fdfdd2a1d2
turn off lto, add patches 2020-06-17 10:37:41 -04:00
Jeff Becker
db3d43a513
fix typo 2020-06-17 10:23:41 -04:00
Jeff Becker
26a2f54b0b
set ar and ranlib on openssl cross compile to appease the cmake god 2020-06-17 10:20:14 -04:00
Jeff Becker
ba1265d94f
set ARCH_TRIPLET to CROSS_TARGET to please the cmake cross compile god 2020-06-17 09:48:57 -04:00
Jeff Becker
48c7d6fbe5
consolidate windows ci drone jizz 2020-06-17 09:42:11 -04:00
Jeff Becker
2e806cc145
set CMAKE_CROSSCOMPILE to on so we are cross compiling in ci 2020-06-17 09:10:50 -04:00
Thomas Winget
9905a2bd4b static build flag for win/mac static builds in drone config 2020-06-16 20:53:36 -04:00
Jason Rhinelander
cdd57ac09b fix unbound ssl linking 2020-06-16 21:18:13 -03:00
Thomas Winget
0ecdf60777 static build fixes in cmake stuff
I hate cmake so much.
2020-06-16 18:52:20 -04:00
Thomas Winget
32843510bb libunbound can now be built as a static dep 2020-06-15 18:44:59 -04:00
Thomas Winget
8f0330c9f2 std::vector instead of std::array 2020-06-15 18:32:57 -04:00
Thomas Winget
b875d40491 restructure how upstream dns replies are handled
llarp::dns::Message does not fully support DNS packets,
so converting the upstream response to one will not work
for all query types.  Also it is kinda silly to begin with,
as the upstream reply is already a network packet, ready to go.
2020-06-15 18:32:57 -04:00
Thomas Winget
755b4d89b6 libunbound deps in drone config 3: dependency boogaloo 2020-06-15 18:32:57 -04:00
Thomas Winget
4ee95d4ad0 libunbound deps in drone config...watch *them* have deps too 2020-06-15 18:32:57 -04:00
Thomas Winget
221e9ff5de make format 2020-06-15 18:32:57 -04:00
Thomas Winget
f58c7df54d add libunbound-dev dep to drone config 2020-06-15 18:32:57 -04:00
Thomas Winget
df284cb757 proper CMake finding and using of libunbound 2020-06-15 18:32:57 -04:00
Thomas Winget
c2a30692cf Implement upstream DNS using libunbound 2020-06-15 18:32:57 -04:00
Jeff
b6817646f6
Merge pull request #1310 from tewinget/static-build-changes
add functionality to download and build static libs
2020-06-15 17:18:13 -04:00
Thomas Winget
926d306443 add functionality to download and build static libs
The libs with rules already set up in StaticBuild.cmake are dependencies
which will be introduced in following commits.
2020-06-15 16:32:44 -04:00
Jeff
36bb43d14a
Merge pull request #1278 from despair86/dev
fix win32 build rules and add to drone ci
2020-06-15 12:08:18 -04:00
Rick V
dc52f8c2fe remove stray path separator 2020-06-12 20:50:00 -05:00
Rick V
b2fcf6c896 sodium requires stack protection on windows (-D_FORTIFY_SOURCE works
now!)
2020-06-12 18:17:07 -05:00
Rick V
2fe4c15792 why jeff why 2020-06-12 18:00:39 -05:00
Rick V
2efc884acf 64-bit LTO cursed for ages 2020-06-12 17:50:25 -05:00
Rick V
a787db9b35 fix ipv4_hdr 2020-06-12 17:34:53 -05:00
Rick V
6d5155def4
jeff pls 2020-06-12 17:13:19 -05:00
Rick V
052bc25c4f
install make 2020-06-12 16:51:41 -05:00
Rick V
1f5df55443
don't use builtin patch 2020-06-12 16:41:30 -05:00
Rick V
e43869d9a2
FUWAS 2020-06-12 16:03:45 -05:00
Rick V
8ac5213b42
windows builds on alpine lunix 2020-06-12 15:55:24 -05:00
Linux User
e6bcbf47b4
patch libsodium for windows the cmake way 2020-06-12 15:19:11 -05:00
Rick V
adf253e800
picflags differ slightly on native vs wow64 builds 2020-06-12 15:19:10 -05:00
Rick V
45890133bc
LIBUV_ROOT override for win32
emit PIC code (.reloc) on win32 for aslr
2020-06-12 15:18:57 -05:00
Jeff
f8bec34f80
Merge pull request #1309 from jagerman/drone-submodules-step
Add tags/submodules as separate step
2020-06-12 14:33:03 -04:00
Jason Rhinelander
f4b4e4799f Add tags/submodules as separate step
Drone's initial clone doesn't include tags or submodules; add a step to
fetch both (rather than doing this in the build step).
2020-06-12 14:20:02 -03:00
Jeff
0d2572d94d
Merge pull request #1308 from jagerman/drone-typo
Fix static distro drone typo in description
2020-06-12 06:56:34 -04:00
Jason Rhinelander
b3f38883b8 Fix static distro drone typo
Static build runs on bionic, not focal.
2020-06-12 02:17:37 -03:00
Jason Rhinelander
1131ad9902
Merge pull request #1305 from jagerman/processor-count
Get processor count properly
2020-06-10 21:08:22 -03:00
Jeff
6ff828be13
Merge pull request #1304 from jagerman/cmake-modernize-ccache
Modernize how we set up ccache
2020-06-10 14:04:32 -04:00
Jason Rhinelander
83fc7de237 Get processor count properly 2020-06-10 14:53:57 -03:00
Jason Rhinelander
d24feacae0 Modernize how we set up ccache
CMAKE_<LANG>_COMPILER_LAUNCHER was added around cmake 3.4 and, usefully,
can be enabled/disabled via cmake invocation flags (unlike the older
RULE_LAUNCH_COMPILE property).
2020-06-10 13:34:02 -03:00
Jeff
e25500f091
Merge pull request #1302 from majestrate/pybind11-log-silencer-2020-06-08
add pybind to CI
2020-06-08 15:54:58 -04:00
Jeff Becker
6984cda3a6
add pybind and router hive to ci 2020-06-08 15:50:12 -04:00
Jeff
dc71a5c018
Merge pull request #1301 from majestrate/ensure-key-backup-bug-squashed-2020-06-08
add regression test for key backup bug
2020-06-08 15:48:41 -04:00
Jeff Becker
b8e1ffa83e
add comments and improve the regression test 2020-06-08 15:36:47 -04:00
Jeff Becker
3358a3371e
restore correct logstream 2020-06-08 09:31:09 -04:00
Jeff Becker
3d2990f90d
use llarp::LogSilencer to shut up loging in unit tests 2020-06-08 09:26:53 -04:00
Jeff Becker
a73335579a
silence logging in regression test 2020-06-08 09:07:49 -04:00