Skip to content

Commit d61fe2e

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

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
@@ -17,6 +17,7 @@ jobs:
1717
- os: ubuntu-22.04
1818
image: "fedora:latest"
1919
stdlib: libstdc++
20+
clang_inc: '-isystem/usr/lib/clang/20/include'
2021
- os: ubuntu-22.04
2122
image: "fedora:latest"
2223
stdlib: libc++
@@ -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)