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

CR-1178512 Fix xrt setup script hang on CSH shell #8493

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

rbramand-xilinx
Copy link
Collaborator

Problem solved by the commit

When xrt setup script is sourced on csh shell sometimes a hang is seen, this is because of the use of lsof command to get path to script. Made changes to get script path using simpler commands instead.

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

Reported by user, as described in CR a hang is seen when running setup.csh script. This probably might not be hang but lsof command taking time.

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

Made changes to get script path when both script is either sourced or executed

Risks (if any) associated the changes in the commit

Low

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

Tested on csh shell on centos and ubuntu machines and the script works 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 October 4, 2024 09:18
@chvamshi-xilinx chvamshi-xilinx merged commit 7906aa4 into Xilinx:master Oct 4, 2024
18 checks passed
vipangul pushed a commit to vipangul/XRT that referenced this pull request Oct 4, 2024
Signed-off-by: rbramand <rbramand@amd.com>
Co-authored-by: rbramand <rbramand@amd.com>
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