From 083f7ebaa1bbc7b90259d4b64f62c69d8f5acf88 Mon Sep 17 00:00:00 2001 From: Jianxin Xiong Date: Sat, 10 Feb 2024 13:25:20 -0800 Subject: [PATCH] github/workflow: Fix coverity build error for fabtests 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 --- .github/workflows/coverity.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml index 92bf6b189d9..305e019b936 100644 --- a/.github/workflows/coverity.yml +++ b/.github/workflows/coverity.yml @@ -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