Skip to content

Add comment for AppleClang workaround - #2001

Merged
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
charles-lunarg:document_fix_for_apple_clang
Aug 6, 2026
Merged

Add comment for AppleClang workaround#2001
charles-lunarg merged 1 commit into
KhronosGroup:mainfrom
charles-lunarg:document_fix_for_apple_clang

Conversation

@charles-lunarg

Copy link
Copy Markdown
Collaborator

Explanation of comment:
Because of AppleClang always adding /usr/local/include and CMake using -isystem by default in 3.25+, builds on MacOS could use system installed headers by mistake. Because this repo has code generated against a specific version of the Vulkan Headers, if the system installed headers are older (which is usually the case for developers of this repo) then the build fails.

Explanation of comment:
Because of AppleClang always adding /usr/local/include and CMake using
-isystem by default in 3.25+, builds on MacOS could use system installed
headers by mistake. Because this repo has code generated against a
specific version of the Vulkan Headers, if the system installed headers
are older (which is usually the case for developers of this repo) then
the build fails.
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 67611.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 67628.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3682 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3682 passed.

@charles-lunarg
charles-lunarg merged commit e5715c8 into KhronosGroup:main Aug 6, 2026
50 checks passed
@charles-lunarg
charles-lunarg deleted the document_fix_for_apple_clang branch August 6, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants