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 19:36:55 +0300
committerRoman Grundkiewicz <rogrundk@microsoft.com>2020-09-11 19:36:55 +0300
commit3348390f27b8ba1fa2bc2ec0cd27bc39b71c1784 (patch)
treee0f1e834d3e3a03e95a4a43cb968bd5c08f0fae2 /azure-pipelines.yml
parent9e0d6e5f3a5370d70d41371c0ddfc8c3349b5dfe (diff)
Use CUDA 10 in UbuntuBuildMinimal
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 25a617d9..dab823f8 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -304,8 +304,10 @@ stages:
- checkout: self
submodules: true
- # The script simplifies installation of different versions of CUDA
- - bash: ./scripts/ci/install_cuda_ubuntu.sh "9.0"
+ # The script simplifies installation of different versions of CUDA.
+ # Ubuntu 16.04 on Azure-hosted VMs have GCC 5.5 as gcc-5, which is not compatible with CUDA 9.
+ # Downgrading to GCC 5.4 (the default gcc on Ubuntu 16.04) would be more work...
+ - bash: ./scripts/ci/install_cuda_ubuntu.sh "10.0"
displayName: Install CUDA
# CMake 3.5.1 is the minimum version supported
@@ -323,7 +325,7 @@ stages:
CC=/usr/bin/gcc-5 CXX=/usr/bin/g++-5 CUDAHOSTCXX=/usr/bin/g++-5 \
../cmake-3.5.1-Linux-x86_64/bin/cmake .. \
-DCOMPILE_CPU=on \
- -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-9.0
+ -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-10.0
displayName: Configure CMake
- bash: make -j3