Skip to content

Mimalloc header is not installed#116984

@oraluben

Description

@oraluben

Bug report

Bug description:

Mimalloc is introduced in #109914.
This will cause a header not found when building any extension that includes a pycore_*.h header as:

[build] In file included from /Users/yyc/repo/py/install/include/python3.13d/internal/pycore_long.h:13: [build] In file included from /Users/yyc/repo/py/install/include/python3.13d/internal/pycore_runtime.h:17: [build] In file included from /Users/yyc/repo/py/install/include/python3.13d/internal/pycore_interp.h:30: [build] /Users/yyc/repo/py/install/include/python3.13d/internal/pycore_mimalloc.h:39:10: fatal error: 'mimalloc.h' file not found [build] #include "mimalloc.h" [build] ^~~~~~~~~~~~ [build] 1 error generated. 

See following PR for detail.

CPython versions tested on:

3.13, CPython main branch

Operating systems tested on:

Linux, macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions