Merged PR 16429: Use Boost 1.72 in Azure pipelines

Update to Boost 1.72 and explicitly use the ubuntu-18.04 image.
This commit is contained in:
Roman Grundkiewicz 2020-11-13 19:17:25 +00:00 committed by Martin Junczys-Dowmunt
parent 69dc82c360
commit a6436668cc

View File

@ -158,7 +158,7 @@ stages:
################################################################
# Ubuntu CPU-only build
"CPU-only":
image: ubuntu-latest
image: ubuntu-18.04
boost: true
cpu: true
gpu: false
@ -169,7 +169,7 @@ stages:
static: true
# Ubuntu GPU-only build
"GPU-only":
image: ubuntu-latest
image: ubuntu-18.04
boost: true
cpu: false
gpu: true
@ -260,9 +260,9 @@ stages:
-DUSE_FBGEMM=on \
-DUSE_SENTENCEPIECE=on \
-DUSE_STATIC_LIBS=$(static) \
-DBOOST_ROOT=$BOOST_ROOT_1_69_0 \
-DBOOST_INCLUDEDIR=$BOOST_ROOT_1_69_0/include \
-DBOOST_LIBRARYDIR=$BOOST_ROOT_1_69_0/lib \
-DBOOST_ROOT=$BOOST_ROOT_1_72_0 \
-DBOOST_INCLUDEDIR=$BOOST_ROOT_1_72_0/include \
-DBOOST_LIBRARYDIR=$BOOST_ROOT_1_72_0/lib \
-DBoost_ARCHITECTURE=-x64 \
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-$(cuda)
displayName: Configure CMake