Skip to content

Commit

Permalink
github/workflow: Fix coverity build error for fabtests
Browse files Browse the repository at this point in the history
LD_LIBRRARY_PATH (for rdma-core libraries) was set to relative path,
which didn't work for fabtests build due to working directory change.

Fix by using absolution path.

Signed-off-by: Jianxin Xiong <[email protected]>
  • Loading branch information
j-xiong committed Feb 11, 2024
1 parent 7abcf3a commit 1386ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
set -x
git clone --depth 1 -b ${{ env.RDMA_CORE_VERSION }} https://github.com/linux-rdma/rdma-core.git
pushd rdma-core; bash build.sh; popd
export LD_LIBRARY_PATH="${{ env.RDMA_CORE_PATH }}/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$PWD/${{ env.RDMA_CORE_PATH }}/lib:$LD_LIBRARY_PATH"
# We use a compiler extension that supports broader complex type
# definitions than what's defined in C99 standard (which only defines
Expand Down

0 comments on commit 1386ffa

Please sign in to comment.