Skip to content

Makefile does not capture mimalloc header dependencies #113330

@colesbury

Description

@colesbury

Bug report

Modifying pycore_mimalloc.h or any of the mimalloc/*.h files does not trigger recompilation of C files as one would expect. The problem is that we should use $(MIMALLOC_HEADERS) instead of @MIMALLOC_HEADERS@ in Makefile.pre.in.

cpython/Makefile.pre.in

Lines 1798 to 1802 in 713e428

$(srcdir)/Include/cpython/weakrefobject.h \
\
@MIMALLOC_HEADERS@ \
\
$(srcdir)/Include/internal/pycore_abstract.h \

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixesbuildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions