Skip to content

Commit c20905e

Browse files
Merge branch 'jit-stencils' of https://github.com/savannahostrowski/peps into jit-stencils
2 parents e18438e + 3f4376f commit c20905e

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

peps/pep-0774.rst

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Title: Removing the LLVM requirement for JIT builds
33
Author: Savannah Ostrowski <savannah@python.org>
44
Status: Draft
55
Type: Standards Track
6-
Created: 26-Jan-2025
6+
Created: 27-Jan-2025
77
Python-Version: 3.14
88

99
Abstract
@@ -43,7 +43,7 @@ requirement for JIT builds in preparation for shipping the JIT off by default in
4343
pre-generated stencils for non-debug builds for Tier 1 platforms and that
4444
checking these files into the CPython repo would be adequate for the limited
4545
number of platforms (though more options have been explored; see `Rejected
46-
Ideas <PEP 774 Rejected Ideas_>`__).
46+
Ideas`_).
4747

4848
Currently, building CPython with `the JIT requires LLVM
4949
<https://github.com/python/cpython/tree/main/Tools/jit#installing-llvm>`__ as a
@@ -109,7 +109,7 @@ and built for six platforms, so to start, we'd check in six stencil files. In
109109
the future, we may check in additional stencil files if support for additional
110110
platforms is desired or relevant.
111111

112-
.. code-block:: bash
112+
.. code-block:: text
113113
114114
cpython/
115115
Tools/
@@ -125,8 +125,8 @@ platforms is desired or relevant.
125125
Workflow
126126
--------
127127

128-
To cover the workflow changes, this section can be divided into two parts -
129-
building CPython with the JIT enabled and working on the JIT's implementation.
128+
The workflow changes can be split into two parts, namely building CPython with
129+
the JIT enabled and working on the JIT's implementation.
130130

131131
Building CPython with the JIT
132132
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -142,7 +142,7 @@ on the precompiled stencil files directly from the repository.
142142
Working on the JIT's implementation (or touching JIT files)
143143
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
144144

145-
In CI, stencil files will be automatically validated and updated when changes
145+
In continuous integration (CI), stencil files will be automatically validated and updated when changes
146146
are made to JIT-related files. When a pull request is opened that touches these
147147
files, the ``jit.yml`` workflow, which builds and tests our builds, will run as
148148
usual.
@@ -180,8 +180,6 @@ Ignoring the stencils themselves and any necessary JIT README changes, the
180180
changes to the source code to support reproducible stencil generation and
181181
hosting are minimal (around 150 lines of changes).
182182

183-
.. _PEP 774 Rejected Ideas:
184-
185183
Rejected Ideas
186184
==============
187185

@@ -227,7 +225,7 @@ Hosting in cloud storage
227225
------------------------
228226

229227
Hosting stencils in cloud storage like S3 buckets or GitHub raw storage
230-
introduces external dependencies, potentially complicating offline development
228+
introduces external dependencies, complicating offline development
231229
workflows. Also, depending on the provider, this type of hosting comes with
232230
additional cost, which we'd like to avoid.
233231

0 commit comments

Comments
 (0)