Skip to content

Commit 384cb54

Browse files
authored
Add ldpath parameter to build configuration (#296)
1 parent 68bb5a9 commit 384cb54

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

templates/build.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,17 @@ parameters:
77
default: False
88
- name: builddir
99
type: string
10-
default: 'procdump_build'
10+
default: 'procdump_build'
11+
- name: ldpath
12+
type: string
13+
default: ''
1114

1215
steps:
1316
- script: |
17+
if [ -n "${{ parameters.ldpath }}" ]; then
18+
export LD_LIBRARY_PATH="${{ parameters.ldpath }}:$LD_LIBRARY_PATH"
19+
fi
20+
1421
mkdir -p ${{ parameters.srcPath }}/${{ parameters.builddir }} && cd ${{ parameters.srcPath }}/${{ parameters.builddir }}
1522
cmake ..
1623
make

0 commit comments

Comments
 (0)