We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I researched building osrm-backend on Arch Linux. Perhaps someone will be interested
Some dependencies were installed before the build started. If something is missing from the list, write, I will add
Clang 14 was chosen as the compiler. For some reason, GCC 12 gives a lot of errors
wget http://archive.ubuntu.com/ubuntu/pool/universe/t/tbb/tbb_2017~U7.orig.tar.xz
tar xf tbb_2017\~U7.orig.tar.xz
cd tbb-2017_U7
Check parameters:
make compiler=clang info
My output:
OS: linux arch=intel64 compiler=clang runtime=cc12.1.0_libc2.35_kernel5.18.11 tbb_build_prefix=linux_intel64_clang_cc12.1.0_libc2.35_kernel5.18.11
And build:
CXXFLAGS="-std=c++14" make compiler=clang
Copy includes:
sudo cp -r include/serial /usr/include/
sudo cp -r include/tbb /usr/include/
Copy shared libraries:
sudo cp build/linux_intel64_clang_cc12.1.0_libc2.35_kernel5.18.11_release/libtbb* /lib64/
export CXX=clang++
export CXXFLAGS="-std=c++14"
export CC=clang
git clone --recursive https://github.com/Project-OSRM/osrm-backend/
cd osrm-backend
mkdir -p build
cd build
cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS=ON \ -DLUA_INCLUDE_DIR=/usr/include
sudo make install
The text was updated successfully, but these errors were encountered:
Not actual after #6300
Sorry, something went wrong.
No branches or pull requests
I researched building osrm-backend on Arch Linux.
Perhaps someone will be interested
Dependencies
Some dependencies were installed before the build started. If something is missing from the list, write, I will add
Clang 14 was chosen as the compiler. For some reason, GCC 12 gives a lot of errors
Build
Build old tbb
Download source code from ubuntu repository
wget http://archive.ubuntu.com/ubuntu/pool/universe/t/tbb/tbb_2017~U7.orig.tar.xz
Unpack
tar xf tbb_2017\~U7.orig.tar.xz
cd tbb-2017_U7
Build
Check parameters:
make compiler=clang info
My output:
And build:
CXXFLAGS="-std=c++14" make compiler=clang
Install
Copy includes:
sudo cp -r include/serial /usr/include/
sudo cp -r include/tbb /usr/include/
Copy shared libraries:
sudo cp build/linux_intel64_clang_cc12.1.0_libc2.35_kernel5.18.11_release/libtbb* /lib64/
Build osrm-backend
Setup enviroment
export CXX=clang++
export CXXFLAGS="-std=c++14"
export CC=clang
Build
git clone --recursive https://github.com/Project-OSRM/osrm-backend/
cd osrm-backend
mkdir -p build
cd build
sudo make install
The text was updated successfully, but these errors were encountered: