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

Added checks to xrt::version api's to throw exception when information is not available #8430

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ManojTakasi
Copy link
Collaborator

Problem solved by the commit

In canonical/debian build for embedded platforms, we create achieve file of our source code and remove all .git files (this is standard process and .git files will not be archieved in their flow). xrt_version.cpp file we are returning typed values like uint from #def 's in xrt_version.h file which would be empty in this case because of lack of .git files.

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

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

Modified cmake to set the defualt value as 0 and added checks to version api's to throw exception when information is not available.

Risks (if any) associated the changes in the commit

low

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

tested with u250 and build_edge_deb flow

Documentation impact (if any)

NA

@ManojTakasi ManojTakasi changed the title Added checks to version api's to throw exception when information is not available Added checks to xrt::version api's to throw exception when information is not available Sep 18, 2024
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.

2 participants