Commit Graph

206 Commits

Author SHA1 Message Date
Jeff Becker
3b26b8b24d
make gitlab pump out 32 bit installers, no lto for builds as that is cursed for now. 2020-04-02 11:08:08 -04:00
Jeff Becker
9d8e3736bf
update ci for windows installers 2020-04-02 11:08:07 -04:00
Jeff Becker
2190da8c81
cpack win32 2020-04-02 11:08:07 -04:00
Ryan Tharp
24cd9ca57d
fix make static when TOOLCHAIN isn't set 2020-03-17 21:54:38 -07:00
Jason Rhinelander
84186ce0b8 Always pass XSAN to cmake 2020-02-24 14:27:44 -04:00
Jason Rhinelander
561bfe24c0 Add cmake "check" target to run all tests
Renames the cmake Catch2 test target to "catch" (instead of "check") and
adds a "rungtest" for gtest (because the "gtest" target is already taken
by the gtest library itself), and then repurposes the "check" target to
run both test suite binaries.

Also updates the top-level Makefile to do the same thing, except that
there the gtest target is just "gtest" instead of "rungtest".
2020-02-24 14:27:44 -04:00
Jeff
6f182c4b26
Merge pull request #1077 from majestrate/mock-lokid-rpc-2020-02-02
mock lokid for loopback testnet
2020-02-19 12:01:00 -05:00
Jeff Becker
e35d17764a * add path::Path::UniqueEndpointSet_t
* start using check2 for new unit tests
* unit test for path::Path::UniqueEndpointSet_t
2020-02-14 17:41:31 -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
0c971f4e9d use system packages in venv so system packages override 2020-02-02 11:57:59 -05:00
jeff
88e8b7f98c mock lokid for loopback testnet 2020-02-02 11:32:15 -05:00
Jeff Becker
77213d7fa4
add hashpinned curl tarball for static build 2020-01-07 18:14:25 -05:00
Jeff Becker
2ce592e4af
static link with docs 2020-01-07 18:14:25 -05:00
Jeff Becker
a3addb7950
dont static link for release 2020-01-02 12:25:30 -05:00
Jason Rhinelander
54b644e280 Add -DDOWNLOAD_SODIUM to re-enabled dl&build of sodium
Also supported in the Makefile (e.g. `make DOWNLOAD_SODIUM=ON`)

Also DRYs out the Makefile a little.
2019-12-16 20:52:44 -04:00
Jeff Becker
abf9544ddc
make libuv on win32 work 2019-12-11 16:05:40 -05:00
Jeff
fac0b574a2
Merge pull request #930 from majestrate/master-branch-use-release-builds-2019-11-26
make master build release by default
2019-12-03 13:42:58 -05:00
Jeff Becker
fab87128a4
handle case with no git directory 2019-12-03 13:41:20 -05:00
Jeff Becker
ba0fd223d9 reduce number of jobs we put onto the logic thread 2019-11-29 18:45:06 -04:00
Jeff Becker
29f25e0724
make master build release by default 2019-11-26 06:52:55 -05:00
Jeff Becker
9d0d96b70f
get rid of NON_PC_TARGET 2019-11-05 06:45:49 -05:00
Rick V
83c5e9ace4
manually merge #859 2019-10-30 18:02:34 -05:00
Jeff Becker
22dcb0504b
make format 2019-10-28 10:21:57 -04:00
jeff
7d7c6bf38c Merge remote-tracking branch 'upstream/dev' into multithreaded-cryptography 2019-10-07 06:08:47 -04:00
Michael
07927746b8
Fix makefile location 2019-10-05 17:49:10 +01:00
jeff
32ed821763 Merge remote-tracking branch 'upstream/dev' into multithreaded-cryptography 2019-10-01 10:51:28 -04:00
Michael
fadedb4a7b
Distinct ios build 2019-09-30 09:59:34 +01:00
Michael
86a07e2a80
Enable more sanitisers 2019-09-23 11:47:58 +01:00
Michael
6719a1790c
Statically link releases 2019-09-18 21:33:08 +01:00
Jeff Becker
c01112e4b7
tracy lock contention testing and other fun things 2019-09-03 11:56:56 -04:00
Michael
7d39f84ef3
Partial fixes for shadow 2019-08-26 23:10:48 +00:00
Michael
c246851729
Dump config 2019-08-13 09:01:26 +00:00
Michael
0b80216d11
Fix format verify 2019-08-12 21:07:56 +00:00
Michael
98a93dbdeb
CI to catch missing make format 2019-08-12 13:16:35 +01:00
Rick V
b7ffe37ffb
add make windows config command line 2019-08-01 21:39:48 -05:00
Michael
9605bec0af
Add ASAN CI 2019-07-30 23:34:53 +01:00
Michael
614b669fd5
Abandon debian 2019-07-29 21:31:26 +01:00
Michael
df498c7bf8
try to make some windows 2019-07-29 21:31:26 +01:00
Jeff Becker
43cb62af16
fix android compile, have makefile pull in libuv for cmake on android 2019-07-24 11:25:40 -04:00
Michael
302c0ff18c
fixup printer.cpp 2019-07-21 16:57:11 +01:00
Jeff Becker
1f761a1cb0
* fix arm cross compile on ubuntu disco
* add toolchain option for cross compile
2019-07-16 09:41:43 -04:00
Jeff Becker
7a66de4368
make cross compile happen in makefile 2019-07-16 09:06:38 -04:00
Jeff Becker
095330b787
disable shell hooks by default 2019-07-12 09:06:59 -04:00
Jeff Becker
976beca43b
remove libuv variable from makefile 2019-06-17 10:01:18 -04:00
Jeff Becker
9deafa4cb8
use libuv 2019-06-02 17:17:05 -04:00
Jeff Becker
018dd008ec
add custom single threaded allocator for utp buffers
fix up test net stuff
2019-05-09 16:28:56 -04:00
Jeff Becker
afac44ae1a
use release build types for debian packages 2019-05-04 10:25:15 -04:00
Jeff Becker
dce4032c8d
propagate DESTDIR to cmake on install target 2019-05-04 06:59:59 -04:00
Michael
0b4d787042
More work on router docker image
- Multi-stage docker build (final image only 15MB!)
- Build in release mode
    - Fix bug with release mode
    - Fix compiler being dumb AF
    - Disable FORTIFY for now
- Enable LTO when making a staticly linked release
- Fix some gcc specific warnings
- Refactor cmake stuff into multiple files
2019-04-28 17:04:52 +01:00
Rick V
853d19209c
Revert "unbreak windows target"
select 64-bit target by default (since normal devs REEEEEEEE at the sight of 4 byte ptrs)
pretty much every _other_ linux/unix has a c++17 windows compiler

This reverts commit a844c61049.
2019-04-11 10:17:58 -05:00