Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Grundkiewicz <rogrundk@microsoft.com>2020-09-11 15:31:02 +0300
committerRoman Grundkiewicz <rogrundk@microsoft.com>2020-09-11 15:31:02 +0300
commitf9a069c0eb53bea0b3d679f3882b9ebf183ef954 (patch)
treede5118318a1228caca045b2c54452f96bc1bd2b7 /azure-pipelines.yml
parent976f892917917ee8fb13af361f5a5f35e6b522c8 (diff)
Add matrix.static to Ubuntu builds
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 2ad35f4f..1eff77a8 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -163,6 +163,7 @@ stages:
gcc: 7
unit_tests: true
examples: false
+ static: true
# Ubuntu GPU-only build
"GPU-only":
image: ubuntu-latest
@@ -173,6 +174,7 @@ stages:
gcc: 7
unit_tests: false
examples: false
+ static: false
################################################################
# Ubuntu 20.04 supports CUDA 11+
#
@@ -182,10 +184,13 @@ stages:
#"20.04 CUDA 11.0 gcc-9":
#image: ubuntu-20.04
#boost: false # ubuntu-20.04 does not have Boost pre-installed yet
+ #cpu: true
+ #gpu: true
#cuda: 11.0
#gcc: 9
#unit_tests: false # disable unit tests to minimize compilation time
#examples: false # disable examples to minimize compilation time
+ #static: false
################################################################
# Ubuntu 18.04 supports CUDA 10.1+
"18.04 CUDA 10.2 gcc-8":
@@ -197,6 +202,7 @@ stages:
gcc: 8
unit_tests: true
examples: true
+ static: true
################################################################
# Ubuntu 16.04 supports CUDA 8+
"16.04 CUDA 10.2 gcc-7":
@@ -208,6 +214,7 @@ stages:
gcc: 7
unit_tests: true
examples: true
+ static: false
"16.04 CUDA 9.2 gcc-7":
image: ubuntu-16.04
boost: true
@@ -217,6 +224,7 @@ stages:
gcc: 7
unit_tests: false
examples: false
+ static: false
pool:
vmImage: $(image)
@@ -254,6 +262,7 @@ stages:
-DCOMPILE_CPU=$(cpu) -DCOMPILE_CUDA=$(gpu) \
-DCOMPILE_EXAMPLES=$(examples) -DCOMPILE_SERVER=$(boost) -DCOMPILE_TESTS=$(unit_tests) \
-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_ARCHITECTURE=-x64 \
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-$(cuda)