Open Source Routing Machine - C++ backend
Go to file
Dane Springmeyer 6eebb1c089 Support passing OSRM_SHARED_LIBRARY_PATH env variable for cucumber tests
The need for this is that:

  - On OS X if libraries are stored in custom locations (not /usr/lib or /usr/local)
    and they do not embed an rpath (which is common to not have) then the developer
    needs to set DYLD_LIBRARY_PATH to ensure that osrm tools can find dependent libraries
    at runtime (this is normal and common).
  - But as of OS X > 10.11 DYLD_LIBRARY_PATH no longer is inherited. While it works in
    the main shell when running a command like `osrm-extract` you will find that when
    `osrm-extract` is run by cucumber (ruby child process) then DYLD_LIBRARY_PATH
    is blocked and the command cannot start.
  - So, this introduces the ability to pass in a variable that the cucumber tests will
    understand and can manually forward along to ensure that DYLD_LIBRARY_PATH is respected
    where it counts.

The intended usage of this is therefore:

    # set the environment variable
    export OSRM_SHARED_LIBRARY_PATH=${DYLD_LIBRARY_PATH}
    # then run cucumber tests
    cucumber -p verify
2016-02-11 02:43:51 +01:00
cmake Create public facing libraries for extractor, contractor and datastore 2016-01-21 06:47:34 +01:00
config new cucumber profile for Jenkins that doesn't fail because of an old Gherkin bug 2014-03-24 14:29:19 +01:00
docker No longer install osmosis in docker env 2016-01-13 17:57:22 +01:00
example Remove boost fusion dependency in RouteParameters 2016-01-26 22:57:02 +01:00
features Support passing OSRM_SHARED_LIBRARY_PATH env variable for cucumber tests 2016-02-11 02:43:51 +01:00
include Removes potentially dangerous and misleading lat, lon subscript oeprator 2016-02-11 02:37:33 +01:00
profiles Merge pull request #1818 from gardster/side_road_tag_support 2016-01-11 17:10:42 +01:00
scripts Fix python2 2016-01-26 07:01:11 +01:00
src Same undefined behavior from shifting into the sign bit in Storage 2016-02-08 11:47:44 -08:00
test Create public facing libraries for extractor, contractor and datastore 2016-01-21 06:47:34 +01:00
third_party Update in-tree libosmium dependency to 2.5.4 2016-01-05 12:01:06 +01:00
unit_tests Create public facing libraries for extractor, contractor and datastore 2016-01-21 06:47:34 +01:00
.clang-format don't binpack parameters on 100 column width 2014-04-21 17:40:05 +02:00
.clang-tidy Integration scripts for Clang's Modernize and Tidy tool. 2015-09-22 17:32:32 +02:00
.cncc.style Add simple cncc file 2016-01-05 12:06:33 +01:00
.gitignore Revert "Build osmium_convert in order to be able to eventually replace osmosis" 2016-01-13 17:57:22 +01:00
.gitmodules Removing Docs submodule 2012-12-26 18:29:16 +01:00
.travis.yml Only run script on linux 2016-01-26 07:01:11 +01:00
appveyor-build.bat Fix AppVayor tests 2016-01-04 11:15:37 +01:00
appveyor.yml Enable AppVeyor only for master/develop and PRs 2016-01-18 21:23:13 +01:00
build-local.bat Remove commented out line in windows build script. History is what git is for. 2015-11-19 15:02:42 -05:00
CMakeLists.txt Removes check-hsgr 2016-01-26 22:57:02 +01:00
Doxyfile.in Use Readme.md as mainpage untill we have something better. 2015-09-22 16:26:21 +02:00
Gemfile change copyright line from personal names to project 2015-02-19 09:19:51 +01:00
Gemfile.lock upgrade to cucumber 2.0 2015-04-30 18:15:46 +02:00
LICENCE.TXT We are at 2016 for the license 2016-01-04 18:13:05 +01:00
profile.lua readding profile.lua 2013-07-02 22:51:21 +02:00
Rakefile add raketask for clearing test cache files 2014-10-17 15:13:06 +02:00
README.md Squashed 'third_party/libosmium/' changes from c43f8db..0ff2780 2016-01-05 12:00:40 +01:00
taginfo.json Add taginfo checker script and update taginfo 2016-01-26 07:01:11 +01:00

About

The Open Source Routing Machine is a high performance routing engine written in C++11 designed to run on OpenStreetMap data.

Current build status

build config branch status
Linux  master Build Status
Linux  develop Build Status
Windows master/develop Build status
LUAbind fork  master Build Status

Building

For instructions on how to build and run OSRM, please consult the Wiki.

To quickly try OSRM use our free and daily updated online service

Documentation

See the Wiki's server API documentation as well as the library API documentation

References in publications

When using the code in a (scientific) publication, please cite

@inproceedings{luxen-vetter-2011,
 author = {Luxen, Dennis and Vetter, Christian},
 title = {Real-time routing with OpenStreetMap data},
 booktitle = {Proceedings of the 19th ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems},
 series = {GIS '11},
 year = {2011},
 isbn = {978-1-4503-1031-4},
 location = {Chicago, Illinois},
 pages = {513--516},
 numpages = {4},
 url = {http://doi.acm.org/10.1145/2093973.2094062},
 doi = {10.1145/2093973.2094062},
 acmid = {2094062},
 publisher = {ACM},
 address = {New York, NY, USA},
}