Skip to content

Commit 478f99b

Browse files
committed
iwyu.yml: work around missing includes for Fedora
1 parent 07ce3d7 commit 478f99b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/iwyu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- os: ubuntu-22.04
2121
image: "fedora:latest"
2222
stdlib: libc++
23+
clang_inc: '-isystem/usr/lib/clang/20/include'
2324
- os: macos-13
2425
image: ""
2526
stdlib: libc++ # no libstdc++ on macOS
@@ -141,9 +142,8 @@ jobs:
141142
142143
- name: iwyu_tool
143144
run: |
144-
# -isystem/usr/lib/clang/17/include
145145
# TODO: remove -stdlib= - it should have been taken from the compilation database
146-
iwyu_tool -p cmake.output -j $(nproc) -- -w -Xiwyu --max_line_length=1024 -Xiwyu --comment_style=long -Xiwyu --quoted_includes_first -Xiwyu --update_comments -stdlib=${{ matrix.stdlib }} ${{ matrix.mapping_file_opt }} > iwyu.log
146+
iwyu_tool -p cmake.output -j $(nproc) -- -w -Xiwyu --max_line_length=1024 -Xiwyu --comment_style=long -Xiwyu --quoted_includes_first -Xiwyu --update_comments -stdlib=${{ matrix.stdlib }} ${{ matrix.mapping_file_opt }} ${{ matrix.clang_inc }} > iwyu.log
147147
148148
- uses: actions/upload-artifact@v4
149149
if: success() || failure()

0 commit comments

Comments
 (0)