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

Python 3.13t changes required to build python 3.13t wheel #2001

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

atalman
Copy link
Contributor

@atalman atalman commented Oct 1, 2024

Changes required to enable Python 3.13t.
Test: pytorch/pytorch#136490

Update build_common.sh

Update build_common.sh

Update build_common.sh

Update check_binary.sh

Update check_binary.sh

Update check_binary_symbols.py

Update check_binary.sh

Update check_binary_symbols.py
@@ -78,10 +78,14 @@ def check_lib_symbols_for_abi_correctness(lib: str, pre_cxx11_abi: bool = True)
raise RuntimeError("Didn't find enought cxx11 symbols")

def main() -> None:
if os.getenv("PACKAGE_TYPE") == "libtorch":
install_root = Path(os.getcwd())
if "install_root" in os.environ:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

install_root is set in check_binary already, hence if its set - no need to figure it out.

Copy link
Contributor

@albanD albanD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants