wip
This commit is contained in:
parent
419b73bb77
commit
53a251c04d
43
.github/workflows/osrm-backend.yml
vendored
43
.github/workflows/osrm-backend.yml
vendored
@ -397,6 +397,35 @@ jobs:
|
||||
echo "JOBS=$((`sysctl -n hw.ncpu` + 1))" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: Cache Boost
|
||||
id: cache-boost
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
/usr/local/include/boost
|
||||
/usr/local/lib/libboost*
|
||||
key: boost-${{ runner.os }}-${{ env.BOOST_VERSION }}
|
||||
restore-keys: |
|
||||
boost-${{ runner.os }}-
|
||||
|
||||
- name: Install Boost
|
||||
if: steps.cache-boost.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
BOOST_VERSION="1.85.0"
|
||||
BOOST_VERSION_UNDERSCORE="${BOOST_VERSION//./_}"
|
||||
wget -q https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}/source/boost_${BOOST_VERSION_UNDERSCORE}.tar.gz
|
||||
tar xzf boost_${BOOST_VERSION_UNDERSCORE}.tar.gz
|
||||
cd boost_${BOOST_VERSION_UNDERSCORE}
|
||||
sudo ./bootstrap.sh
|
||||
sudo ./b2 install
|
||||
cd ..
|
||||
sudo rm -rf boost_${BOOST_VERSION_UNDERSCORE}*
|
||||
|
||||
- name: Verify Boost installation
|
||||
run: |
|
||||
ls /usr/local/include/boost
|
||||
ls /usr/local/lib/libboost*
|
||||
|
||||
- name: Install dev dependencies
|
||||
run: |
|
||||
python3 -m pip install "conan<2.0.0" || python3 -m pip install "conan<2.0.0" --break-system-packages
|
||||
@ -424,20 +453,6 @@ jobs:
|
||||
if [[ "${ENABLE_COVERAGE}" == "ON" ]]; then
|
||||
sudo apt-get install -y lcov
|
||||
fi
|
||||
|
||||
# Install Boost 1.85
|
||||
sudo conda install -y -c conda-forge boost=1.85.0
|
||||
conda activate boost_conda
|
||||
echo "BOOST_ROOT=$(conda info --base)/envs/boost_conda" >> $GITHUB_ENV
|
||||
# BOOST_VERSION="1.85.0"
|
||||
# BOOST_VERSION_UNDERSCORE="${BOOST_VERSION//./_}"
|
||||
# wget -q https://boostorg.jfrog.io/artifactory/main/release/${BOOST_VERSION}/source/boost_${BOOST_VERSION_UNDERSCORE}.tar.gz
|
||||
# tar xzf boost_${BOOST_VERSION_UNDERSCORE}.tar.gz
|
||||
# cd boost_${BOOST_VERSION_UNDERSCORE}
|
||||
# sudo ./bootstrap.sh
|
||||
# sudo ./b2 install
|
||||
# cd ..
|
||||
# sudo rm -rf boost_${BOOST_VERSION_UNDERSCORE}*
|
||||
fi
|
||||
|
||||
# TBB
|
||||
|
||||
Loading…
Reference in New Issue
Block a user