forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 66
Fixes CI build script #1350
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
Merged
pruthvistony
merged 2 commits into
rocm6.1_internal_testing
from
xinyazhang/fix-6882-rebased
Jan 26, 2024
Merged
Fixes CI build script #1350
pruthvistony
merged 2 commits into
rocm6.1_internal_testing
from
xinyazhang/fix-6882-rebased
Jan 26, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly.
pruthvistony
requested changes
Jan 23, 2024
I am ok with CMAKE_PREFIX_PATH changes. Want to trigger a CI build with |
jeffdaily
approved these changes
Jan 26, 2024
pruthvistony
approved these changes
Jan 26, 2024
pruthvistony
pushed a commit
that referenced
this pull request
Mar 12, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
pruthvistony
pushed a commit
that referenced
this pull request
Mar 12, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
xinyazhang
added a commit
that referenced
this pull request
Mar 12, 2024
1. Configurable CMAKE_PREFIX_PATH in CI script. CMAKE_PREFIX_PATH should honor $CONDA_PREFIX as described in PyTorch build instructions. 2. Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly.
pytorchmergebot
pushed a commit
that referenced
this pull request
Mar 19, 2024
1. Configurable CMAKE_PREFIX_PATH in CI script. CMAKE_PREFIX_PATH should honor $CONDA_PREFIX as described in PyTorch build instructions. 2. Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly.
pytorchmergebot
pushed a commit
that referenced
this pull request
Apr 10, 2024
1. Configurable CMAKE_PREFIX_PATH in CI script. CMAKE_PREFIX_PATH should honor $CONDA_PREFIX as described in PyTorch build instructions. 2. Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly.
pruthvistony
pushed a commit
that referenced
this pull request
Apr 23, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
pytorchmergebot
pushed a commit
that referenced
this pull request
Apr 30, 2024
1. Configurable CMAKE_PREFIX_PATH in CI script. CMAKE_PREFIX_PATH should honor $CONDA_PREFIX as described in PyTorch build instructions. 2. Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly.
dnikolaev-amd
pushed a commit
that referenced
this pull request
Jun 20, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
pruthvistony
pushed a commit
that referenced
this pull request
Aug 12, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
dnikolaev-amd
pushed a commit
that referenced
this pull request
Sep 16, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
jithunnair-amd
pushed a commit
that referenced
this pull request
Oct 3, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
jithunnair-amd
pushed a commit
that referenced
this pull request
Oct 11, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
jithunnair-amd
pushed a commit
that referenced
this pull request
Oct 11, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
jithunnair-amd
pushed a commit
that referenced
this pull request
Oct 11, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
jithunnair-amd
pushed a commit
that referenced
this pull request
Nov 19, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
pruthvistony
pushed a commit
that referenced
this pull request
Dec 2, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
pruthvistony
pushed a commit
that referenced
this pull request
Dec 21, 2024
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script.
dnikolaev-amd
pushed a commit
that referenced
this pull request
Apr 17, 2025
* Fix the parsing of /etc/os-release The old code parses OS_DISTRO as 'PRETTY_Ubuntu' on Ubuntu and thus never links to libtinfo correctly. * Configurable CMAKE_PREFIX_PATH in CI script. (cherry picked from commit 090d95f)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes Internal #6882
This is caused by two problems in combination.
CMAKE_PREFIX_PATH
was set to/opt/conda/lib
even if the pytorch uses a different conda environment to build, say/opt/conda/envs/py_3.9
/etc/os-release
is incorrect and the distribution info was parsed asPRETTY_Ubuntu
instead ofUbuntu
.libtinfo
will not be linked into the binary due to this flaw. Thus, cpp unit tests failed to build because of missing symbols fromlibtinfo