Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Xrandr not implicitly required when x11 is used #1619

Merged

Conversation

charles-lunarg
Copy link
Collaborator

The previous logic made xrandr a required header whenever x11 was available which doesn't honestly convey build requirements to users.

This commit add BUILD_WSI_XLIB_XRANDR_SUPPORT as a build option that defaults to ON (for platforms which support x11) so the xrandr requirement can be configured by users directly.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 315151.

@charles-lunarg charles-lunarg linked an issue Dec 2, 2024 that may be closed by this pull request
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2818 running.

The previous logic made xrandr a required header whenever x11 was
available which doesn't honestly convey build requirements to users.

This commit add BUILD_WSI_XLIB_XRANDR_SUPPORT as a build option
that defaults to ON (for platforms which support x11) so the xrandr
requirement can be configured by users directly.
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 315169.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2819 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2819 failed.

PKG_CONFIG_EXECTUABLE is a CMake variable that sets the pkg-config
executable used, allowing the use of the 32 bit pkg-config when looking
for pkg-config packages. The prior version of the 32 bit job actually
used the 64 bit packages but that happened to work okay because the only
things used from the 64 bit packages were header files, which are arch
agnostic.
@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 329578.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2836 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2836 failed.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build queued with queue ID 329667.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2837 running.

@ci-tester-lunarg
Copy link

CI Vulkan-Loader build # 2837 passed.

@charles-lunarg charles-lunarg merged commit 6a6878c into KhronosGroup:main Dec 21, 2024
44 checks passed
@charles-lunarg charles-lunarg deleted the fix_xrandr_requirement branch December 21, 2024 02:11
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.

Configuration-time search for xrandr headers
2 participants