Created
May 6, 2015 00:00
-
-
Save springmeyer/88919dc19762765be877 to your computer and use it in GitHub Desktop.
Install OSRM against mason depedencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# assumes you've got a working C++11 compiler | |
# installs all OSRM deps (and cmake too) locally in ./mason_packages | |
# and then builds OSRM against them | |
git clone --depth 10 https://github.com/Project-OSRM/osrm-backend -b masonize | |
cd osrm-backend | |
source ./bootstrap.sh | |
mkdir build && cd build | |
../mason_packages/.link/bin/cmake ../ \ | |
-DBoost_NO_SYSTEM_PATHS=ON \ | |
-DTBB_INSTALL_DIR=${MASON_HOME} \ | |
-DCMAKE_INCLUDE_PATH=${MASON_HOME}/include \ | |
-DCMAKE_LIBRARY_PATH=${MASON_HOME}/lib \ | |
-DOSMPBF_INCLUDE_DIR=${MASON_HOME}/include | |
make | |
make tests |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment