Merged PR 17548: Fix 'no disk space left' in Azure Pipelines jobs

Removing `build/src` after compilation seems to fix an issue with 'no disk space left' in Ubuntu 18.04 CUDA 10.2 gcc-8 pipeline that we see recently.
This commit is contained in:
Roman Grundkiewicz 2021-02-05 19:15:50 +00:00 committed by Martin Junczys-Dowmunt
parent 916a790241
commit bd9feacf49

View File

@ -267,7 +267,10 @@ stages:
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-$(cuda)
displayName: Configure CMake
- bash: make -j3
# Clean build/src/ to safe disk space on Azure-hosted VMs and stay below the 10GB limit
- bash: |
make -j3
rm -rf src/
displayName: Compile
workingDirectory: build