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

Fix boost library link issue when using static boost #8193

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

rbramand-xilinx
Copy link
Collaborator

Problem solved by the commit

When using boost static build the package generated still has dependency on boost dynamic library (eg: libboost_system.so)
added changes to fix this issue

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

Issue raised by customer

How problem was solved, alternative solutions (if any) and why they were rejected

Added boost static libraries path to the search path for libraries using link_directories
This way required static boost library is found when target_link_libraries is used and wrong dependency is not added

Ideal fix would be to remove boost_system dependency as we have moved to std::filesystem and this lib dependency is not needed any more. Same fix has been sent to master. But to keep things simpler going through this route

Risks (if any) associated the changes in the commit

Low

What has been tested and how, request additional testing if necessary

Tested dependencies on xrt packages generated and dependencies are as expected

Documentation impact (if any)

NA

Signed-off-by: rbramand <rbramand@amd.com>
@rbramand-xilinx rbramand-xilinx requested review from chvamshi-xilinx and removed request for rozumx May 22, 2024 07:21
@rbramand-xilinx rbramand-xilinx added the do not merge hold off on merging label May 22, 2024
@rbramand-xilinx
Copy link
Collaborator Author

Added do not merge label as this PR needs to be merged post 2024.1 release

@rbramand-xilinx rbramand-xilinx removed the do not merge hold off on merging label Jun 4, 2024
@rbramand-xilinx
Copy link
Collaborator Author

Hi @chvamshi-xilinx, as 2024.1 branched out I have removed do not merge label. Please review and merge this PR

@chvamshi-xilinx chvamshi-xilinx merged commit 7528d6e into Xilinx:2024.1 Jun 4, 2024
17 of 18 checks passed
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