Skip to content

JIT stencil compilation does not respect CFLAGS #134273

Closed
@zanieb

Description

@zanieb

If CFLAGS are set during configure, they are not propagated to the clang invocation to build the JIT stencils. This is problematic for downstream consumers, e.g., in python-build-standalone where we're using an isolated build system and the clang invocation fails to find required includes.

Linked PRs

Activity

self-assigned this
on May 19, 2025
added 2 commits that reference this issue on May 19, 2025

pythongh-134273: Propagate CFLAGS to the JIT

pythongh-134273: Propagate CFLAGS to the JIT

added a commit that references this issue on May 19, 2025

pythongh-134273: Propagate CFLAGS to the JIT

added a commit that references this issue on Jun 12, 2025

GH-134273: Allow setting JIT compiler flags at build time with CFLAGS…

2b0c684
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

buildThe build process and cross-buildtopic-JITtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    JIT stencil compilation does not respect CFLAGS · Issue #134273 · python/cpython

    Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

    Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant