GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Recommend `--config-cache` for `configure` · Issue #1547 · python/devguide

Recommend --config-cache for configure #1547

New issue
Copy link
New issue
Copy link
Closed
#1794
Closed
Recommend --config-cache for configure#1547
#1794
Copy link
Labels
topic-building pythontype-featureAdditions; New content or section neededAdditions; New content or section needed

Description

@hugovk
hugovk
opened on May 3, 2025
Issue body actions

Describe the enhancement or feature you would like

Using --config-cache with configure makes it much quicker: 3s cached vs 39s without on my machine.

Some example wasm commands include it, but shall we include it by default in the other relevant commands on that page, and the front page?

Describe alternatives you have considered

Status quo, builds are slower. Or only include it in the getting-started/setup-building page if there's some reason not to put in on the front page.

Additional context

Not everyone knows about this option: python/cpython#133027 (comment)

Reacted by Emma Smith, Tomas R., Shantanu, Gregory P. Smith, devdanzin, Petr Viktorin, Brian Schubert, Hood Chatham and Bartosz Sławecki

Activity

  1. hugovk
    added
    type-featureAdditions; New content or section neededAdditions; New content or section needed
    type-bugEditing of existing content neededEditing of existing content needed
    topic-building python
    on May 3, 2025
  2. encukou commented on Aug 6, 2025

    @encukou
    encukou
    on Aug 6, 2025
    Member
    More actions

    It's faster but also adds another thing that can go wrong.
    If config.cache is out of date (for example, you switch compilers or use different settings), it needs to be removed.

    Reacted by Kirill Podoprigora
  3. corona10 commented on Aug 6, 2025

    @corona10
    corona10
    on Aug 6, 2025
    Member
    More actions

    I will find a contributor during PyCon KR sprint next week.

  4. vstinner commented on Aug 6, 2025

    @vstinner
    vstinner
    on Aug 6, 2025
    Member
    More actions

    I'm using a configure cache for many years and I never got any issue because of this cache. If the C compiler changes or if C flags (especially the optimization level) change, configure complains: I just delete the cache in this case. The error message is quite explicit and helpful.

    Reacted by Hood Chatham and Petr Viktorin
  5. StanFromIreland
    added
    type-new content
    type-featureAdditions; New content or section neededAdditions; New content or section needed
    and removed
    type-featureAdditions; New content or section neededAdditions; New content or section needed
    type-bugEditing of existing content neededEditing of existing content needed
    type-feature
    on Mar 3, 2026
  6. johnslavik
    added 8 commits that reference this issue on Apr 22, 2026

    pythongh-1547: Recommend --config-cache for configure

    22ddf94

    pythongh-1547: Also mention --cache-file=config.cache alias

    fa25256

    pythongh-1547: Recommend --config-cache for configure

    30a3410

    pythongh-1547: Also mention --cache-file=config.cache alias

    05ad04c

    pythongh-1547: Remove --config-cache from platform-specific configure…

    69463e6

    pythongh-1547: Restructure --config-cache as optional speedup tip

    7e8285f

    pythongh-1547: Use tip admonition for --config-cache

    f9a2af1

    pythongh-1547: Add --config-cache to macOS platform-specific configur…

    091f2fc
  7. willingc
    added a commit that references this issue on Apr 25, 2026

    Recommend `--config-cache` for `./configure` (#1794)

    abdd4c6
  8. willingc
    closed this as completedin #1794on Apr 25, 2026
  9. StanFromIreland
    marked Add a sentence or two about the benefits of using configure cache #1115 as a duplicate of this issue on May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-building pythontype-featureAdditions; New content or section neededAdditions; New content or section needed

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.