Daniel J. Hofmann
603e2ee7de
Adapts bindings to node-cmake v2, resolves #3879
2017-04-06 15:26:54 +02:00
Daniel J. Hofmann
2351b5a084
Merges node-osrm into repository
...
Build with
cmake .. -DCMAKE_BUILD_TYPE=Release -DENABLE_NODE_BINDINGS=On -DENABLE_MASON=On
2017-03-21 20:10:39 +00:00
Michael Krasnyk
851fcf0758
Use _TBB_DEFAULT_INSTALL_DIR as a single-value variable
2017-03-20 13:52:23 +00:00
Michael Krasnyk
7379be90f9
Configure custom TBB builds via TBB_INSTALL_DIR
2017-03-20 13:52:23 +00:00
Patrick Niklaus
7ecf3410bf
Bundle mason.cmake and mason.sh
2017-02-16 16:08:07 +00:00
Michael Krasnyk
337ecefa45
Added osrm-extract-conditionals tool
2017-01-24 10:31:59 +01:00
Michael Krasnyk
75e0b5a5c4
Fix Lua static library linking
2017-01-19 17:06:00 +01:00
Mathias Gug
a7d63283ab
Update Package Contact information.
2017-01-11 03:09:04 +01:00
Mathias Gug
84b8d3cfb9
Support rpm packages.
2017-01-11 03:09:04 +01:00
Daniel Patterson
f7e8581a1b
Replace fingerprint with semver-based scheme. ( #3467 )
2017-01-06 13:45:08 -08:00
Daniel Patterson
3dfbf42e61
Don't mark all lanes as designated when there are blank lane specifiers in the tag.
2016-12-15 10:55:16 +01:00
Dane Springmeyer
43566bfd14
support -flto with clang++
2016-12-01 21:55:17 +01:00
Patrick Niklaus
4489c8dfc2
Expose LibOSRM find_package style variable to work as subproject
2016-11-29 15:38:51 +00:00
Patrick Niklaus
a764fd1f29
Don't expose all OSRM flags only the ones needed by external code
2016-11-19 17:02:31 +01:00
Daniel Patterson
bf6df74d44
Consolidate datafacade file loading logic.
...
Both datafacades now use a single large memory block and common
file loading logic.
2016-11-15 16:55:02 -08:00
Dane Springmeyer
fa1a0a1325
Ensure pkg-config reports OSRM_LIB_LINKER_FLAGS
2016-11-12 14:35:32 +01:00
Daniel J. Hofmann
77931ffe24
Changes Lua detection to be less strict
2016-10-12 23:09:59 +02:00
Patrick Niklaus
58316c608d
Fix verison detection for multiple lua installations
...
If both lua 5.3 and lua 5.2 are installed the old code threw an error
that 5.2 was not found since FindLua always picks the neweste version.
2016-10-06 13:36:34 +02:00
Daniel J. Hofmann
dbd108df8c
Reworks how we search for Lua in CMake and constrain to Lua 5.1 5.2
...
At the moment we have a FindLua52.cmake module that is happy with
Lua52 but also Lua51 and even Lua53. Let's instead pull in the official
one from CMake (since it's not yet in CMake 2.8 which we support).
https://github.com/Kitware/CMake/blob/master/Modules/FindLua.cmake
BSD licenced.
Requires Lua 5.1 or Lua 5.2, since seeing memory issues on 5.3:
https://github.com/Project-OSRM/osrm-backend/issues/2926
2016-10-05 13:23:48 +02:00
karenzshea
eafe3fa928
remove luajit support
2016-09-28 11:12:11 +02:00
Dane Springmeyer
6ecc123d15
Fix various issues with pkg-config
2016-06-04 12:08:54 +02:00
Patrick Niklaus
6a1e17c6fa
Print TBB version in FindTBB
2016-05-29 00:06:45 +02:00
Daniel J. Hofmann
3343882876
Resolves issues with multiple includedirs in pkg-config file; closes #2195 .
2016-04-05 22:59:14 +02:00
Daniel J. Hofmann
54410988eb
Adds $prefix/include/osrm to include dirs so that transitive header includes without osrm prefix can be found
2016-04-05 22:58:32 +02:00
Daniel J. Hofmann
af554e7ed0
Provide uninstall target, closes #1972
2016-03-10 21:25:27 +01:00
Daniel J. Hofmann
ac0279aa83
RAII for auto-closing file streams
...
Small fixes I didn't want to include in unrelated PRs.
There are a few left in `storage.cpp` but since it's a single function
in 600 lines of code, I didn't want to touch the mess. The others are
safe to remove, cucumber and test run on Finland gives 👍 .
2016-03-09 17:46:02 +01:00
Patrick Niklaus
439eb9da3d
Create public facing libraries for extractor, contractor and datastore
...
New libraries libosrm_extract, libosrm_contract, libosrm_store
2016-01-21 06:47:34 +01:00
Mathias Gug
328faf3744
Fix debian package upgrades.
...
The postinst script fails on package upgrade given that the symlink
already exists.
Note that symlinks should *not* be handled in a postinst scripts.
Instead dh_links should be used so that symlinks are compliant with the
Debian policy.
2016-01-13 11:53:59 -08:00
Daniel J. Hofmann
f46706843b
STXXL's debug build creates stxxl_debug.{a,so}, adapts FindSTXXL
...
References:
- https://github.com/Project-OSRM/osrm-backend/issues/1885
2016-01-12 13:40:36 +01:00
Mathias Gug
c1709da6bf
Fix typo.
2016-01-05 14:25:14 -05:00
Mathias Gug
dcfa81f983
Add debian revision.
2016-01-05 14:15:55 -05:00
Mathias Gug
42b1eaa240
Use OSRM versions for Debian package version.
2016-01-05 11:44:24 -05:00
Daniel J. Hofmann
2d455018ae
We are at 2016 for the license
2016-01-04 18:13:05 +01:00
Patrick Niklaus
b618a1241f
Adapt build system
2016-01-03 18:22:31 +01:00
Patrick Niklaus
a8f11981e3
Include tbb in libosrm.pc
2015-12-15 21:42:32 +01:00
Fabien Girard
16fd5249dd
Fix pkgconfig cmake template
2015-11-19 17:38:04 +01:00
Kal Conley
cd458e7a44
Don't generate util/fingerprint_impl.hpp in source tree
2015-10-19 21:33:10 +02:00
Daniel J. Hofmann
ca0f8ed653
Immensly increase lua/luabind detection and check in buildsystem.
...
Instead of including the `luabind.hpp` header that transitively includes
basically everything else, we now only include the appropriate header
for luabind's open function.
It is important that this function is declared in the header but the
definition comes from the luabind shared object (library), such that we
can detect linker errors, too.
By only including this header, we also no longer transitively include
the header for the `luaL_newstate` function, with we have to add
manually.
With these changes, detecting, compiling, linking and checking for
lua/luabind with cmake now works instantly, instead of the 3-4
seconds as it was before! Yay, progress!
2015-09-30 18:22:26 +02:00
Daniel J. Hofmann
809bdb7c1f
Fixes version generation, no longer derives version on git tags.
...
We were stuck on the 4.5.0 tag from develop, since we searched for the
latest tag, but release tags are done on the master branch.
This commit rips out all the code for deriving the version on git tags.
Instead, we define major, minor, and patch versions in the CMakeLists
and then pass it on to:
- the `libosrm.pc` `pkg-config` file
- a `version.hpp` header that makes use of the preprocessor's string
concatenation to provide an easy way for generating version string
literals such as "v4.8.0".
That is, in the source code please now use the following defines:
#define OSRM_VERSION_MAJOR "@OSRM_VERSION_MAJOR@"
#define OSRM_VERSION_MINOR "@OSRM_VERSION_MINOR@"
#define OSRM_VERSION_PATCH "@OSRM_VERSION_PATCH@"
#define OSRM_VERSION "v" OSRM_VERSION_MAJOR "." OSRM_VERSION_MINOR "." OSRM_VERSION_PATCH
2015-09-30 18:22:25 +02:00
Daniel Patterson
b2d444d782
Only replace fingerprint file when MD5 changes. Avoids rebuilding several things if nothing has actually changes, as cmake is only looking at timestamps.
2015-09-04 14:07:40 +02:00
Daniel J. Hofmann
c39ca7189b
Remove protobuf dependencies from build system
2015-08-31 16:54:22 +02:00
Dennis Luxen
5adf792fad
fix build issue where cmake does not pick up generated output of a custom target
...
renamed: ../util/fingerprint.cpp.in -> ../util/fingerprint_impl.hpp.in
2015-03-31 10:45:35 +02:00
Dennis Luxen
97f6468663
yet another try to unhack libgomp linking: use OpenMP binding if and only if present
2015-01-29 17:29:03 +01:00
Dennis Luxen
a883b73981
add explicit cmake checking step for libgomp
2015-01-29 17:01:08 +01:00
Dennis Luxen
da469911d3
always link against libgomp
2015-01-29 16:23:04 +01:00
Dennis Luxen
d241aef502
fix checking for successful compilation of stxxl with OpenMP
2015-01-29 12:52:54 +01:00
Dennis Luxen
8b2ca6b13d
check if stxxl compiles with or without libgomp, fixes #1361
2015-01-29 12:52:54 +01:00
Dennis Luxen
b20b7e65bf
renamed: Util/* -> util/*
2015-01-27 17:47:23 +01:00
Dennis Luxen
0c1101739d
renamed: Server/DataStructures/*.h -> Server/data_structures/*.hpp
2015-01-27 12:14:08 +01:00
Dennis Luxen
ef9074f8e4
renamed: Util/finger_print.* -> Util/fingerprint.*
...
thx @emiltin
2015-01-13 11:16:13 +01:00