Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd41d2e6

Browse files
authored
gh-109054: Document configure variables (#109224)
1 parentced6924 commitd41d2e6

File tree

2 files changed

+151
-0
lines changed

2 files changed

+151
-0
lines changed

‎Doc/library/hashlib.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ include a `salt <https://en.wikipedia.org/wiki/Salt_%28cryptography%29>`_.
364364
..versionadded::3.6
365365

366366

367+
.. _hashlib-blake2:
368+
367369
BLAKE2
368370
------
369371

‎Doc/using/configure.rst‎

Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,136 @@ General Options
289289

290290
..versionadded::3.13
291291

292+
..cmdoption::PKG_CONFIG
293+
294+
Path to ``pkg-config`` utility.
295+
296+
..cmdoption::PKG_CONFIG_LIBDIR
297+
..cmdoption::PKG_CONFIG_PATH
298+
299+
``pkg-config`` options.
300+
301+
302+
C compiler options
303+
------------------
304+
305+
..cmdoption::CC
306+
307+
C compiler command.
308+
309+
..cmdoption::CFLAGS
310+
311+
C compiler flags.
312+
313+
..cmdoption::CPP
314+
315+
C preprocessor command.
316+
317+
..cmdoption::CPPFLAGS
318+
319+
C preprocessor flags, e.g.:samp:`-I{include_dir}`.
320+
321+
322+
Linker options
323+
--------------
324+
325+
..cmdoption::LDFLAGS
326+
327+
Linker flags, e.g.:samp:`-L{library_directory}`.
328+
329+
..cmdoption::LIBS
330+
331+
Libraries to pass to the linker, e.g.:samp:`-l{library}`.
332+
333+
..cmdoption::MACHDEP
334+
335+
Name for machine-dependent library files.
336+
337+
338+
Options for third-party dependencies
339+
------------------------------------
340+
341+
..versionadded::3.11
342+
343+
..cmdoption::BZIP2_CFLAGS
344+
..cmdoption::BZIP2_LIBS
345+
346+
C compiler and linker flags to link Python to ``libbz2``, used by:mod:`bz2`
347+
module, overriding ``pkg-config``.
348+
349+
..cmdoption::CURSES_CFLAGS
350+
..cmdoption::CURSES_LIBS
351+
352+
C compiler and linker flags for ``libncurses`` or ``libncursesw``, used by
353+
:mod:`curses` module, overriding ``pkg-config``.
354+
355+
..cmdoption::GDBM_CFLAGS
356+
..cmdoption::GDBM_LIBS
357+
358+
C compiler and linker flags for ``gdbm``.
359+
360+
..cmdoption::LIBB2_CFLAGS
361+
..cmdoption::LIBB2_LIBS
362+
363+
C compiler and linker flags for ``libb2`` (:ref:`BLAKE2<hashlib-blake2>`),
364+
used by:mod:`hashlib` module, overriding ``pkg-config``.
365+
366+
..cmdoption::LIBEDIT_CFLAGS
367+
..cmdoption::LIBEDIT_LIBS
368+
369+
C compiler and linker flags for ``libedit``, used by:mod:`readline` module,
370+
overriding ``pkg-config``.
371+
372+
..cmdoption::LIBFFI_CFLAGS
373+
..cmdoption::LIBFFI_LIBS
374+
375+
C compiler and linker flags for ``libffi``, used by:mod:`ctypes` module,
376+
overriding ``pkg-config``.
377+
378+
..cmdoption::LIBLZMA_CFLAGS
379+
..cmdoption::LIBLZMA_LIBS
380+
381+
C compiler and linker flags for ``liblzma``, used by:mod:`lzma` module,
382+
overriding ``pkg-config``.
383+
384+
..cmdoption::LIBREADLINE_CFLAGS
385+
..cmdoption::LIBREADLINE_LIBS
386+
387+
C compiler and linker flags for ``libreadline``, used by:mod:`readline`
388+
module, overriding ``pkg-config``.
389+
390+
..cmdoption::LIBSQLITE3_CFLAGS
391+
..cmdoption::LIBSQLITE3_LIBS
392+
393+
C compiler and linker flags for ``libsqlite3``, used by:mod:`sqlite3`
394+
module, overriding ``pkg-config``.
395+
396+
..cmdoption::LIBUUID_CFLAGS
397+
..cmdoption::LIBUUID_LIBS
398+
399+
C compiler and linker flags for ``libuuid``, used by:mod:`uuid` module,
400+
overriding ``pkg-config``.
401+
402+
..cmdoption::PANEL_CFLAGS
403+
..cmdoption::PANEL_LIBS
404+
405+
C compiler and Linker flags for PANEL, overriding ``pkg-config``.
406+
407+
C compiler and linker flags for ``libpanel`` or ``libpanelw``, used by
408+
:mod:`curses.panel` module, overriding ``pkg-config``.
409+
410+
..cmdoption::TCLTK_CFLAGS
411+
..cmdoption::TCLTK_LIBS
412+
413+
C compiler and linker flags for TCLTK, overriding ``pkg-config``.
414+
415+
..cmdoption::ZLIB_CFLAGS
416+
..cmdoption::ZLIB_LIBS
417+
418+
C compiler and linker flags for ``libzlib``, used by:mod:`gzip` module,
419+
overriding ``pkg-config``.
420+
421+
292422
WebAssembly Options
293423
-------------------
294424

@@ -428,6 +558,19 @@ also be used to improve performance.
428558

429559
..versionadded::3.12
430560

561+
..cmdoption::BOLT_APPLY_FLAGS
562+
563+
Arguments to ``llvm-bolt`` when creating a `BOLT optimized binary
564+
<https://github.com/facebookarchive/BOLT>`_.
565+
566+
..versionadded::3.12
567+
568+
..cmdoption::BOLT_INSTRUMENT_FLAGS
569+
570+
Arguments to ``llvm-bolt`` when instrumenting binaries.
571+
572+
..versionadded::3.12
573+
431574
..cmdoption::--with-computed-gotos
432575

433576
Enable computed gotos in evaluation loop (enabled by default on supported
@@ -775,6 +918,12 @@ the version of the cross compiled host Python.
775918
ac_cv_file__dev_ptmx=yes
776919
ac_cv_file__dev_ptc=no
777920

921+
..cmdoption::HOSTRUNNER
922+
923+
Program to run CPython for the host platform for cross-compilation.
924+
925+
..versionadded::3.11
926+
778927

779928
Cross compiling example::
780929

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp