Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 15, 2021
1 parent d5b0768 commit 8740c55
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/clang_static_analyzer/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ wget -nv https://releases.llvm.org/9.0.0/$CLANG_LLVM.tar.xz
tar xJf $CLANG_LLVM.tar.xz
mv $CLANG_LLVM clang+llvm-9

export PATH=$PWD/clang+llvm-9/bin:$PATH

# prepare build files
mkdir -p build
cd build
Expand All @@ -20,7 +22,6 @@ NPROC=$(nproc)
echo "NPROC=${NPROC}"
export MAKEFLAGS="-j ${NPROC}"

export PATH=$PWD/clang+llvm-9/bin:$PATH
CXXFLAGS="-std=c++11" scan-build -o scanbuildoutput -plist -v cmake ..
rm -rf scanbuildoutput
TOPDIR=$PWD
Expand Down

0 comments on commit 8740c55

Please sign in to comment.