-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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.13.1-jit : issue when compiling from source #129438
Comments
Hello! |
However, there's no information in the docs that building CPython with JIT requires a Python 3.11+. It would be good to cover it in the docs. |
Just an FYI also, when you build with GIL disabled the JIT is actually disabled at runtime (at least via the specializing interpreter in 3.13), so there's no point to |
This sounds so obvious, feel ashamed I didn't think of it. |
Please don't close this issue, even if your problem has been resolved. We should document that building CPython with JIT requires Python 3.11+. So, let's reuse this issue for that 🙂 |
I came to a stable build ! Note that Ubuntu 22.04 comes with a 3.10 python version. The sequence I used :
I can now experiment 3.13.1t, thank you for your crucial hint |
…requirements (#129450) Add a note to the `JIT` docs that building CPython with `JIT` requires Python 3.11 or newer. Co-authored-by: Brandt Bucher <[email protected]>
…stall requirements (pythonGH-129450) Add a note to the `JIT` docs that building CPython with `JIT` requires Python 3.11 or newer. (cherry picked from commit 652f66a) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Brandt Bucher <[email protected]>
…nstall requirements (GH-129450) (#129472) gh-129438: Update ``--enable-experimental-jit`` section with install requirements (GH-129450) Add a note to the `JIT` docs that building CPython with `JIT` requires Python 3.11 or newer. (cherry picked from commit 652f66a) Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Brandt Bucher <[email protected]>
Doc fix merged & backported; @aldeponk let us know if you have any other problems with building! |
By now everything is ok, I can run built 3.13t version for tests. |
Hi all,
I am trying to build python 3.13.1 from source (grabed here https://www.python.org/ftp/python/3.13.1/Python-3.13.1.tgz) on Ubuntu 22.04 instance with configuration so that I disable GIL + get JIT :
./configure --disable-gil --enable-experimental-jit --enable-optimizations --with-lto
Requirements installed according to https://devguide.python.org/getting-started/setup-building/index.html#install-dependencies
The make step fails with error :
I've been looking around, and was not able to find any reference to this kind of issue. What am i doing wrong ?
Thank you so much for any help in reply.
Linked PRs
--enable-experimental-jit
section with install requirements #129450--enable-experimental-jit
section with install requirements (GH-129450) #129472The text was updated successfully, but these errors were encountered: