Skip to content

Instantly share code, notes, and snippets.

@mster429
Created April 22, 2021 12:15
Show Gist options
  • Save mster429/83beff87380b13a69c23b616bc552dd0 to your computer and use it in GitHub Desktop.
Save mster429/83beff87380b13a69c23b616bc552dd0 to your computer and use it in GitHub Desktop.
#!/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