Commit graph

81 commits

Author SHA1 Message Date
Grant Limberg
d7c6f8ae3f
armel/armhf differentiation in builds 2020-06-23 11:49:43 -07:00
Grant Limberg
4d80f7c41d
more go static build flags 2020-06-23 09:53:46 -07:00
Grant Limberg
f96a9f63ea
. 2020-06-23 08:53:13 -07:00
Grant Limberg
09a8b66d3b
enable -DPACKAGE_STATIC=1 builds
Only configures the project for packaging of the statically built binary placed in build/
2020-06-22 13:50:35 -07:00
Grant Limberg
7c6f5e2c37
make install works on Linux 2020-06-22 11:00:48 -07:00
Grant Limberg
02493d473f
basic RPM package
still needs systemd/init scripts
2020-06-19 16:21:47 -07:00
Grant Limberg
b126bf727a
non-static build debian packages 2020-06-19 15:33:08 -07:00
Grant Limberg
b369d4b9a1
fix 32-bit windows build 2020-06-18 13:01:05 -07:00
Grant Limberg
ea5bb43cf9
windows 32bit builds 2020-06-18 11:58:00 -07:00
Adam Ierymenko
c348bfff30
Fix quote craziness. 2020-06-16 22:33:43 -07:00
Adam Ierymenko
224c468aa3 OMG Windows builds! 2020-06-16 22:26:47 -07:00
Adam Ierymenko
143f4bef9f
Select the right C++ library, hopefully. 2020-06-16 15:00:59 -07:00
Adam Ierymenko
3c6448a717
Move all CGO flags into CMakeLists.txt so they can inherit all our system detection and stuff. 2020-06-16 13:36:43 -07:00
Grant Limberg
77342f8571
try setting scl_source on centos7 for newer compilers 2020-06-16 10:40:01 -07:00
Grant Limberg
1a38dfdbde
back to go main 2020-06-15 13:51:24 -07:00
Grant Limberg
001fb54b15
fix go static command line 2020-06-12 16:08:34 -07:00
Grant Limberg
a1649d6cda
trying again for static build. also add static go flags 2020-06-12 15:58:00 -07:00
Grant Limberg
5166aa6913
added static build option 2020-06-12 15:43:12 -07:00
Grant Limberg
47ec246520
try to force 32 bit with BUILD_32BIT flag. force VERBOSE=1 cmake build too 2020-06-10 16:19:39 -07:00
Grant Limberg
42104cfc4c
go wrangling 2020-06-10 15:56:16 -07:00
Grant Limberg
1bab9b202f
default off 2020-06-10 15:40:14 -07:00
Grant Limberg
74ce98f39b
set CMAKE_SYSTEM_PROCESSOR to x86 2020-06-10 15:39:48 -07:00
Grant Limberg
3268effabf
enable 32bit builds on 64-bit hosts 2020-06-10 15:31:40 -07:00
Grant Limberg
09c9e338bc
needs /bin? 2020-06-10 09:51:57 -07:00
Grant Limberg
df9483408d
CMake error if go not found 2020-06-10 09:33:48 -07:00
Grant Limberg
4833478eee
Fix linux link ordering and add Dockerfile for central controllers
Builds but obviously won't actually do anything yet
2020-06-09 14:14:11 -07:00
Grant Limberg
c8f640f3f2
compile go code to static library & call via main.cpp
This allows CMake to manage the linkage of C/C++ libraries rather than an exponentially growing list of cgo directives based on build options
2020-06-09 12:03:16 -07:00
Grant Limberg
736edeeed0
figure out conditional compilation & cgo based on go build tags 2020-06-08 15:54:10 -07:00
Grant Limberg
17f0dc9ba2
2.0 compiles with postgres/redis controller code
Probably doesn't work yet
2020-06-08 14:11:07 -07:00
Adam Ierymenko
73795d05eb
Reorg done and builds 2020-06-05 14:38:35 -07:00
Adam Ierymenko
af846f7e3f
Fix clean 2020-06-05 13:45:43 -07:00
Adam Ierymenko
a0374da4f3
Reorg. 2020-06-05 13:42:34 -07:00
Adam Ierymenko
3dd2c94f4e
Moar reorganization. 2020-06-05 13:26:35 -07:00
Adam Ierymenko
d3cf7b2202
Reorg. 2020-06-05 12:56:20 -07:00
Adam Ierymenko
3621fe8897
Some AES cleanup and include controller with Go build. 2020-05-30 17:03:12 -07:00
Adam Ierymenko
b99dd7d916
Fix code generation for AES stuff so it runs on chips that do not have AVX or VAES. 2020-05-18 16:50:05 -07:00
Adam Ierymenko
aad21cf395
Blazing fast VAES (256 and 512) AES-CTR, Identity fixes, test fixes. 2020-05-18 16:29:41 -07:00
Adam Ierymenko
d537428421
Build fixes. 2020-05-18 09:44:23 -07:00
Adam Ierymenko
2b0127c26d
Work in progress on crypto stuff, refactoring to back out of use of structs for encode/decode as it is questionably portable. 2020-04-16 12:34:51 -07:00
Adam Ierymenko
0aa78d0ecb
Small fixes. 2020-03-27 19:03:09 -07:00
Adam Ierymenko
2da096944d
Everything but root builds now. Back to testing. 2020-03-18 07:20:04 -07:00
Adam Ierymenko
da5b11bf2d
Rename version constants to something more canonical, and more cleanup. 2020-03-03 07:38:51 -08:00
Adam Ierymenko
13e86fdb6c
lalala build fixes 2020-02-27 11:57:45 -08:00
Adam Ierymenko
fabb0f734a
build fix 2020-02-27 11:47:01 -08:00
Adam Ierymenko
789b8b8454
compile fix 2020-02-27 11:43:54 -08:00
Adam Ierymenko
c5bd21a23e
various optimization 2020-02-26 17:00:03 -08:00
Adam Ierymenko
87890565f3
It builds, and basic stuff and crypto passes tests. 2020-02-21 16:43:12 -08:00
Adam Ierymenko
55b0555aa0
A bunch more build fixes. 2020-02-21 14:46:01 -08:00
Adam Ierymenko
d7b31fe014
Warning removal and build fixes. 2020-01-21 12:55:51 -08:00
Adam Ierymenko
b2f0b35608
Move self-test so it can be called from CLI and always builds, implement Endpoint and Locator deserialization in Go as well as C++. 2020-01-14 14:37:49 -08:00