[ROCm] Use -rpath-link to fix libtinfo conflict#83552
[ROCm] Use -rpath-link to fix libtinfo conflict#83552jithunnair-amd wants to merge 3 commits intopytorch:masterfrom
Conversation
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 836b07cb23 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
|
cc @jaglinux |
|
@pytorchbot rebase |
|
@pytorchbot successfully started a rebase job. Check the current status here |
|
Successfully rebased |
836b07c to
0930c0c
Compare
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/83552
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Failures, 6 PendingAs of commit ef86b50: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
malfet
left a comment
There was a problem hiding this comment.
Looks fine, though it would be nice to use python (or even CMAKE command)
|
/easycla As part of the transition to the PyTorch Foundation, this project now requires contributions be covered under the new CLA. See #85559 for additional details. This comment will trigger a new check of this PR. If you are already covered, you will simply see a new "EasyCLA" check that passes. If you are not covered, a bot will leave a new comment with a link to sign. |
|
@pytorchbot rebase |
956ade5 to
bb1269b
Compare
|
@pytorchbot successfully started a rebase job. Check the current status here |
|
Tried to rebase and push PR #83552, but it was already up to date |
|
@pytorchbot rebase |
|
@jithunnair-amd should we merge this? |
|
@pytorchbot successfully started a rebase job. Check the current status here |
|
Successfully rebased |
bb1269b to
5d89b4b
Compare
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
This reverts commit a10446c. Reverted #83552 on behalf of https://github.com/kit1980 due to Broke ios/macos builds https://github.com/pytorch/pytorch/actions/runs/3329991911/jobs/5507911292
But how? Is |
I'm curious how also. Maybe cmake does some kind of static analysis before running, don't know... |
…os-release" cannot be read.'
|
|
Should it be disabled by default instead? |
pruthvistony
left a comment
There was a problem hiding this comment.
This change is backward compatible with older versions of ROCm.
|
@jithunnair-amd - PR is merged #87833 |
|
@pytorchbot merge -f "XLA failures are unrelated" |
| if(USE_ROCM) | ||
| # This prevents linking in the libtinfo from /opt/conda/lib which conflicts with ROCm libtinfo. | ||
| # Currently only active for Ubuntu 20.04 and greater versions. | ||
| if(UNIX AND EXISTS "/etc/os-release") |
There was a problem hiding this comment.
Didn't know that LINUX environment variable has only been added in cmake-3.25, though in PyTorch CMake file it has long been defined (as UNIX check would return true even for CygWin)
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
Hey @jithunnair-amd. |
Fixes issue building PyTorch for ROCm5.3 and above on Ubuntu20.04 because libtinfo6 from conda conflicts with the one from the distro causing symbol not found errors. Pull Request resolved: pytorch#83552 Approved by: https://github.com/malfet
This reverts commit a10446c. Reverted pytorch#83552 on behalf of https://github.com/kit1980 due to Broke ios/macos builds https://github.com/pytorch/pytorch/actions/runs/3329991911/jobs/5507911292
Fixes issue building PyTorch for ROCm5.3 and above on Ubuntu20.04 because libtinfo6 from conda conflicts with the one from the distro causing symbol not found errors. cc @jeffdaily @sunway513 @ROCmSupport Pull Request resolved: pytorch#83552 Approved by: https://github.com/malfet, https://github.com/pruthvistony
Fixes issue building PyTorch for ROCm5.3 and above on Ubuntu20.04 because libtinfo6 from conda conflicts with the one from the distro causing symbol not found errors. cc @jeffdaily @sunway513 @ROCmSupport Pull Request resolved: pytorch#83552 Approved by: https://github.com/malfet, https://github.com/pruthvistony
Fixes issue building PyTorch for ROCm5.3 and above on Ubuntu20.04 because libtinfo6 from conda conflicts with the one from the distro causing symbol not found errors. Pull Request resolved: pytorch#83552 Approved by: https://github.com/malfet
This reverts commit a10446c. Reverted pytorch#83552 on behalf of https://github.com/kit1980 due to Broke ios/macos builds https://github.com/pytorch/pytorch/actions/runs/3329991911/jobs/5507911292
Fixes issue building PyTorch for ROCm5.3 and above on Ubuntu20.04 because libtinfo6 from conda conflicts with the one from the distro causing symbol not found errors. cc @jeffdaily @sunway513 @ROCmSupport Pull Request resolved: pytorch#83552 Approved by: https://github.com/malfet, https://github.com/pruthvistony
Fixes issue building PyTorch for ROCm5.3 and above on Ubuntu20.04 because libtinfo6 from conda conflicts with the one from the distro causing symbol not found errors. cc @jeffdaily @sunway513 @ROCmSupport Pull Request resolved: pytorch#83552 Approved by: https://github.com/malfet, https://github.com/pruthvistony
Fixes issue building PyTorch for ROCm5.3 and above on Ubuntu20.04 because libtinfo6 from conda conflicts with the one from the distro causing symbol not found errors.
Some more context here: ROCm#1058 (comment)
cc @jeffdaily @sunway513 @ROCmSupport