Skip to content

vulkan.pc cross-compile fix#756

Merged
charles-lunarg merged 1 commit intoKhronosGroup:masterfrom
jwinarske:jw/vulkan-pc-fix
Nov 29, 2021
Merged

vulkan.pc cross-compile fix#756
charles-lunarg merged 1 commit intoKhronosGroup:masterfrom
jwinarske:jw/vulkan-pc-fix

Conversation

@jwinarske
Copy link
Copy Markdown
Contributor

  • pkg-config variable ${prefix} is required for adjusting sysroot

Signed-off-by: Joel Winarske joel.winarske@gmail.com

@ci-tester-lunarg
Copy link
Copy Markdown

Author jwinarske not on autobuild list. Waiting for curator authorization before starting CI build.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Nov 29, 2021

CLA assistant check
All committers have signed the CLA.

@jwinarske
Copy link
Copy Markdown
Contributor Author

@dcbaker

@ci-tester-lunarg
Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 7450.

@ci-tester-lunarg
Copy link
Copy Markdown

CI Vulkan-Loader build # 840 running.

@ci-tester-lunarg
Copy link
Copy Markdown

CI Vulkan-Loader build # 840 passed.

Copy link
Copy Markdown

@dcbaker dcbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is correct, this allows pkgconfig --define-variable=prefix=something to work correctly, the current .pc file is not actually a properly formated pkg-config file.

- pkg-config variable ${prefix} is required for adjusting sysroot

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
@ci-tester-lunarg
Copy link
Copy Markdown

Author jwinarske not on autobuild list. Waiting for curator authorization before starting CI build.

@jwinarske
Copy link
Copy Markdown
Contributor Author

Needs to go into 1.2.182.0 as well.

@ci-tester-lunarg
Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 7480.

@charles-lunarg
Copy link
Copy Markdown
Collaborator

Needs to go into 1.2.182.0 as well.

Why does it need to go into this version specifically? The SDK branch is generally not updated once branched (save for fixes that are made why the SDK is being tested and are cherry-picked over).

@ci-tester-lunarg
Copy link
Copy Markdown

CI Vulkan-Loader build # 841 running.

@jwinarske
Copy link
Copy Markdown
Contributor Author

Yocto Honister is based on 1.2.182. Looking back this issue shows up starting with 1.2.162. So a patch for Yocto might be more portable.

@ci-tester-lunarg
Copy link
Copy Markdown

CI Vulkan-Loader build # 841 passed.

@charles-lunarg
Copy link
Copy Markdown
Collaborator

Ah yes, this 'bug' has been in the codebase for a while so a downstream patch would be best.

Copy link
Copy Markdown
Collaborator

@charles-lunarg charles-lunarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. Thank for you fixing this and verifying it, since pc config stuff is not something I have a terribly large amount of experience with. I will merge assuming it passes CI.

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.

Duplicate libraries in pkg-config vulkan.pc's Libs.private

5 participants