diff options
author | Roman Grundkiewicz <rogrundk@microsoft.com> | 2020-09-11 15:03:26 +0300 |
---|---|---|
committer | Roman Grundkiewicz <rogrundk@microsoft.com> | 2020-09-11 15:03:26 +0300 |
commit | 02d15861a6fd1728dae6242398335d9f8081a76a (patch) | |
tree | 7881bc7c6ba04e02d596db7f3eeb8714e4cd2a44 /azure-pipelines.yml | |
parent | 29d805a101f14255121638762b00746318c8fd48 (diff) |
Windows builds with marian-server
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8a20c56d..b6631dcb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -36,12 +36,11 @@ stages: strategy: matrix: - # TODO: Compile with Boost and marian-server - # Windows CPU-only build, without Boost + # Windows CPU-only build "CPU": cuda: false cuda_version: "" - # Windows CPU+GPU build, without Boost + # Windows CPU+GPU build "CUDA 10.2": cuda: true cuda_version: 10.2 @@ -99,13 +98,16 @@ stages: -DCMAKE_TOOLCHAIN_FILE="$(VCPKG_DIR)\scripts\buildsystems\vcpkg.cmake" ^ -DVCPKG_TARGET_TRIPLET="x64-windows-static" ^ ^ + -DBOOST_ROOT="$(BOOST_ROOT)" ^ + -DBOOST_INCLUDEDIR="$(BOOST_ROOT)/include" ^ + -DBOOST_LIBRARYDIR="$(BOOST_ROOT)/lib" ^ -DOPENSSL_USE_STATIC_LIBS="TRUE" ^ -DOPENSSL_MSVC_STATIC_RT="TRUE" ^ ^ -DCOMPILE_CPU="TRUE" ^ -DCOMPILE_CUDA="$(cuda)" ^ -DCOMPILE_EXAMPLES="FALSE" ^ - -DCOMPILE_SERVER="FALSE" ^ + -DCOMPILE_SERVER="TRUE" ^ -DCOMPILE_TESTS="TRUE" ^ ^ -DUSE_CUDNN="FALSE" ^ @@ -119,6 +121,7 @@ stages: # Set envvars so that CMake can find the installed packages MKLROOT: $(MKL_DIR) CUDA_PATH: $(CUDA_PATH_WINDOWS)/v$(cuda_version) + BOOST_ROOT: $(BOOST_ROOT_1_69_0) - script: | call "$(VS_PATH)/VC/Auxiliary/Build/vcvarsall.bat" x64 @@ -137,6 +140,7 @@ stages: .\marian.exe --version .\marian-decoder.exe --version .\marian-scorer.exe --version + .\marian-server.exe --version .\spm_encode.exe --version displayName: Print versions workingDirectory: build |