Skip to content

build: Avoid AppleClang using the wrong headers for ProfilesLayer - #944

Merged
johnzupin merged 1 commit into
KhronosGroup:mainfrom
johnzupin:zupin-macos-profileslayer-set-target
Aug 24, 2026
Merged

build: Avoid AppleClang using the wrong headers for ProfilesLayer#944
johnzupin merged 1 commit into
KhronosGroup:mainfrom
johnzupin:zupin-macos-profileslayer-set-target

Conversation

@johnzupin

Copy link
Copy Markdown
Contributor

see related PR #928 and #943

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.

see related PR KhronosGroup#928

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
Collaborator

CI VulkanProfiles build queued with queue ID 86556.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 86580.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4191 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4191 aborted.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 86608.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4193 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4193 aborted.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 86765.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4201 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4201 passed.

@johnzupin
johnzupin merged commit 022dabf into KhronosGroup:main Aug 24, 2026
6 checks passed
@johnzupin
johnzupin deleted the zupin-macos-profileslayer-set-target branch August 24, 2026 18:15
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