Created
April 22, 2021 12:15
-
-
Save mster429/83beff87380b13a69c23b616bc552dd0 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
sudo apt install build-essential git cmake pkg-config \ | |
libbz2-dev libxml2-dev libzip-dev libboost-all-dev \ | |
lua5.2 liblua5.2-dev libtbb-dev | |
OSRM_VERSION="5.24" | |
git clone https://github.com/Project-OSRM/osrm-backend.git | |
cd osrm-backend | |
git checkout ${OSRM_VERSION} | |
mkdir -p build | |
cd build | |
cmake .. -DCMAKE_BUILD_TYPE=Release | |
cmake --build . | |
sudo cmake --build . --target install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment