Skip to content

Commit

Permalink
Fix includes and update IWYU version
Browse files Browse the repository at this point in the history
  • Loading branch information
PikaCat-OuO committed Apr 10, 2024
1 parent d06e5b2 commit a0579a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,20 @@ jobs:
uses: actions/checkout@v4
with:
repository: include-what-you-use/include-what-you-use
ref: f25caa280dc3277c4086ec345ad279a2463fea0f
ref: 377eaef70cdda47368939f4d9beabfabe3f628f0
path: include-what-you-use

- name: Download required linux packages
run: |
sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-17 main'
sudo add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main'
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
sudo apt update
sudo apt install -y libclang-17-dev clang-17 libc++-17-dev
sudo apt install -y libclang-18-dev clang-18 libc++-18-dev
- name: Set up include-what-you-use
run: |
mkdir build && cd build
cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH="/usr/lib/llvm-17" ..
cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH="/usr/lib/llvm-18" ..
sudo make install
working-directory: include-what-you-use

Expand Down
1 change: 0 additions & 1 deletion src/uci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <memory>
#include <optional>
#include <sstream>
#include <utility>
#include <vector>

#include "benchmark.h"
Expand Down

0 comments on commit a0579a2

Please sign in to comment.