Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-109740: Use 't' in --disable-gil SOABI#109922
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
e745f32306081b44f0e170dbbbce964e37939dec48597e489c985f63File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -22,6 +22,8 @@ always available. | ||
| .. versionadded:: 3.2 | ||
| .. availability:: Unix. | ||
| .. function:: addaudithook(hook) | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| The experimental ``--disable-gil`` configure flag now includes "t" (for "threaded") in | ||
| extension ABI tags. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1489,6 +1489,23 @@ fi | ||
| AC_SUBST([ABIFLAGS]) | ||
| ABIFLAGS="" | ||
| # Check for --disable-gil | ||
| # --disable-gil | ||
| AC_MSG_CHECKING([for --disable-gil]) | ||
| AC_ARG_ENABLE([gil], | ||
| [AS_HELP_STRING([--disable-gil], [enable experimental support for running without the GIL (default is no)])], | ||
| [AS_VAR_IF([enable_gil], [yes], [disable_gil=no], [disable_gil=yes])], [disable_gil=no] | ||
| ) | ||
| AC_MSG_RESULT([$disable_gil]) | ||
| if test "$disable_gil" = "yes" | ||
| then | ||
| AC_DEFINE([Py_NOGIL], [1], | ||
| [Define if you want to disable the GIL]) | ||
vstinner marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading. Please reload this page. | ||
| # Add "t" for "threaded" | ||
| ABIFLAGS="${ABIFLAGS}t" | ||
| fi | ||
| # Check for --with-pydebug | ||
| AC_MSG_CHECKING([for --with-pydebug]) | ||
| AC_ARG_WITH([pydebug], | ||
| @@ -5669,6 +5686,7 @@ AC_C_BIGENDIAN | ||
| # | ||
| # * The Python implementation (always 'cpython-' for us) | ||
| # * The major and minor version numbers | ||
| # * --disable-gil (adds a 't') | ||
| # * --with-pydebug (adds a 'd') | ||
| # | ||
| # Thus for example, Python 3.2 built with wide unicode, pydebug, and pymalloc, | ||
| @@ -6947,21 +6965,6 @@ AC_ARG_ENABLE([test-modules], | ||
| AC_MSG_RESULT([$TEST_MODULES]) | ||
| AC_SUBST([TEST_MODULES]) | ||
| # Check for --disable-gil | ||
| # --disable-gil | ||
| AC_MSG_CHECKING([for --disable-gil]) | ||
| AC_ARG_ENABLE([gil], | ||
| [AS_HELP_STRING([--disable-gil], [enable experimental support for running without the GIL (default is no)])], | ||
| [AS_VAR_IF([enable_gil], [yes], [disable_gil=no], [disable_gil=yes])], [disable_gil=no] | ||
| ) | ||
| AC_MSG_RESULT([$disable_gil]) | ||
| if test "$disable_gil" = "yes" | ||
| then | ||
| AC_DEFINE([Py_NOGIL], [1], | ||
| [Define if you want to disable the GIL]) | ||
| fi | ||
| # gh-109054: Check if -latomic is needed to get <pyatomic.h> atomic functions. | ||
| # On Linux aarch64, GCC may require programs and libraries to be linked | ||
| # explicitly to libatomic. Call _Py_atomic_or_uint64() which may require | ||
Uh oh!
There was an error while loading. Please reload this page.