aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates/steps-build-uhd-make.yml
diff options
context:
space:
mode:
Diffstat (limited to '.ci/templates/steps-build-uhd-make.yml')
-rw-r--r--.ci/templates/steps-build-uhd-make.yml12
1 files changed, 11 insertions, 1 deletions
diff --git a/.ci/templates/steps-build-uhd-make.yml b/.ci/templates/steps-build-uhd-make.yml
index 22cb60cc9..a3c4c7eb5 100644
--- a/.ci/templates/steps-build-uhd-make.yml
+++ b/.ci/templates/steps-build-uhd-make.yml
@@ -3,13 +3,23 @@ parameters:
type: string
- name: uhdBuildDir
type: string
+- name: uhdEnableTraceLog
+ type: boolean
+ default: false
steps:
- script: |
mkdir -p ${{ parameters.uhdBuildDir }}
cd ${{ parameters.uhdBuildDir }}
- cmake ${{ parameters.uhdSrcDir }}/host
+ if [[ "${{ parameters.uhdEnableTraceLog }}" = "True" ]]; then
+ echo "Enabling UHD Tracing"
+ export UHD_CI_CMAKE_OPTIONS="-DUHD_LOG_MIN_LEVEL=trace $UHD_CI_CMAKE_OPTIONS"
+ fi
+ cmake \
+ $UHD_CI_CMAKE_OPTIONS \
+ ${{ parameters.uhdSrcDir }}/host
displayName: cmake make UHD
+
- script: |
cd ${{ parameters.uhdBuildDir }}
make -j$(nproc)