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-14 16:23:10 +0300
committerRoman Grundkiewicz <rogrundk@microsoft.com>2020-09-14 16:23:10 +0300
commit621be16954c7440e8cbce2fcfec524e2a8efb50d (patch)
tree398c9cc01886fde219a4178b060e4d44942a24e8 /azure-pipelines.yml
parent26175e8286db7d8fe2633bc4b4dda5cb5b27233e (diff)
Build marian-server on Windows with Boost 1.72
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 5f5218b3..3b951f9c 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -107,7 +107,7 @@ stages:
-DCOMPILE_CPU="TRUE" ^
-DCOMPILE_CUDA="$(cuda)" ^
-DCOMPILE_EXAMPLES="FALSE" ^
- -DCOMPILE_SERVER="FALSE" ^
+ -DCOMPILE_SERVER="TRUE" ^
-DCOMPILE_TESTS="TRUE" ^
^
-DUSE_CUDNN="FALSE" ^
@@ -122,7 +122,8 @@ stages:
MKLROOT: $(MKL_DIR)
CUDA_PATH: $(CUDA_PATH_WINDOWS)/v$(cuda_version)
# Boost is pre-installed on Azure/GitHub-hosted Windows runners
- BOOST_ROOT: $(BOOST_ROOT_1_69_0)
+ # https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md#boost
+ BOOST_ROOT: $(BOOST_ROOT_1_72_0)
- script: |
call "$(VS_PATH)/VC/Auxiliary/Build/vcvarsall.bat" x64
@@ -137,11 +138,12 @@ stages:
workingDirectory: build
condition: eq(variables.cuda, false)
- - pwsh: |
+ # Note that versions from Marian executables will not be printed for CUDA builds
+ - script: |
.\marian.exe --version
.\marian-decoder.exe --version
.\marian-scorer.exe --version
- #.\marian-server.exe --version
+ .\marian-server.exe --version
.\spm_encode.exe --version
displayName: Print versions
workingDirectory: build