Jason Rhinelander
4c470f3e33
Bump version to 1.0.4
2020-03-29 15:21:44 -03:00
Jason Rhinelander
2493e2abd4
Remove empty file
...
All the batch implementation code is in jobs.cpp, this file wasn't meant
to be committed originally.
2020-03-29 12:29:38 -03:00
Jason Rhinelander
7f9141a4a9
1.0.3 release
2020-03-27 18:55:16 -03:00
Jason Rhinelander
9fec81856f
1.0.2 version bump
2020-03-24 11:35:31 -03:00
Jason Rhinelander
48d3f261d3
1.0.1 release
...
- internal data structure change to help armhf/gcc-6
- various test suite fixes
- various build system improvements
2020-03-21 12:57:45 -03:00
Jason Rhinelander
a36e53d409
More linking overhaul
...
- Don't try to use cppzmq, just find libzmq ourselves.
- Allow existing `libzmq` and `sodium` targets to be used to control how
we link to libzmq and/or sodium.
- Use PkgConfig:: targets instead of the older bunch-of-variables
approach (requires cmake >= 3.6).
2020-03-15 01:43:23 -03:00
Jason Rhinelander
bc0e6be801
Add sodium dep if embedding static lib when doing a shared build, too
2020-03-14 16:06:58 -03:00
Jason Rhinelander
dd088c8ba5
cmake compatibility fix
2020-03-14 15:17:48 -03:00
Jason Rhinelander
3d315ba123
More static build linking fixes
...
Static linking is a dumpster fire.
2020-03-14 14:34:56 -03:00
Jason Rhinelander
dd1a8eeb1d
Use the correct variable for shared libs
2020-03-14 02:20:43 -03:00
Jason Rhinelander
c4d74a8640
Slightly relax build dep to 4.3
...
Distros (such as buster) include a patched 4.3.1, which is fine to use.
2020-03-13 19:41:08 -03:00
Jason Rhinelander
49f8ef21f1
Install mapbox-variant and cppzmq headers
2020-03-13 19:05:12 -03:00
Jason Rhinelander
a4ec2c982b
Add and install pkgconfig file
2020-03-13 15:31:43 -03:00
Jason Rhinelander
4db1cd6be7
Fix lib install dir
2020-03-13 15:29:59 -03:00
Jason Rhinelander
e1e8b85de6
Rearrange cmakelists.txt more logically
2020-03-13 15:29:30 -03:00
Jason Rhinelander
344fcb80d6
Disable gnu cxx extensions
2020-03-13 15:28:03 -03:00
Jason Rhinelander
4f4862fd0b
Explicitly add thread linking
2020-03-13 15:27:29 -03:00
Jason Rhinelander
1f99a70f48
Build shared libraries by default
...
Static libraries are cursed and like to explode in bad ways.
2020-03-13 14:28:21 -03:00
Jason Rhinelander
e17ca30411
Split up into logical headers and compilation units
...
lokimq.cpp and lokimq.h were getting monolithic; this splits lokimq.cpp
into multiple smaller cpp files by logical purpose for better parallel
compilation ability. It also splits up the lokimq.h header slightly by
moving the ConnectionID and Message types into their own headers.
2020-03-13 14:28:21 -03:00
Jason Rhinelander
1c80b61335
Add version to cmake, generate version header
2020-03-13 14:28:05 -03:00
Jason Rhinelander
3eb6c482e1
Fix static build
...
Depend on cppzmq-static when doing a static build.
cppzmq-static itself has a dependency problem with libsodium, so
explicitly set the missing but required libsodium dependency on it.
2020-03-12 17:55:34 -03:00
Jason Rhinelander
75a3d7ff11
Add libsodium dependency
...
We don't necessarily get this through libzmq
2020-03-05 16:29:59 -04:00
Jason Rhinelander
279a4d3ea1
Set PIC on lokimq
2020-03-05 14:52:28 -04:00
Jason Rhinelander
443eca3955
Build a static libzmq if no system one or system one is too old
2020-03-05 01:00:35 -04:00
Jason Rhinelander
2207198574
Add DESTINATION for lokimq target
2020-03-03 15:25:19 -04:00
Jason Rhinelander
7be9d71d7f
CMake updates: exports, drop static, disable cppzmq tests
...
- Properly export the lokimq::lokimq target for use as a sub-project
- Drop the lokimq::static target; the library will just be static or
non-static dependending on cmake's BUILD_SHARED_LIBS setting
- Properly disable cppzmq tests (the previous setting resulted in cmake
warnings)
2020-03-02 14:24:07 -04:00
Jason Rhinelander
46c9f147ec
Better subproject cmake support
...
- disable cppzmq test building
- add target for main and static library
- don't build tests by default when used as a subproject
2020-03-01 14:28:50 -04:00
Jason Rhinelander
63c71396be
Add initial test suite with some batch job tests
2020-02-06 18:10:26 -04:00
Jason Rhinelander
8d97ba31ad
Added missing CMakeLists.txt and LICENSE
2020-02-05 20:21:02 -04:00