mirror of
https://github.com/marian-nmt/marian.git
synced 2024-11-03 20:13:47 +03:00
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:
parent
69dc82c360
commit
a6436668cc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user