Skip to content

Commit 916bb0d

Browse files
authored
Add missing parser files to Python 3.13 Linux and macOS builds (#456)
This PR fixes the CPython 3.13 distributions on Linux and macOS builds to include the additional object files in subdirectories of the `Parser` directory. Will fix #378 when merged. Windows builds are unaffected by the bug because the Windows build script uses a different mechanism to collect the object files.
1 parent 7f80d2e commit 916bb0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-unix/build-cpython.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ ${BUILD_PYTHON} ${ROOT}/fix_shebangs.py ${ROOT}/out/python/install
989989

990990
# Also copy object files so they can be linked in a custom manner by
991991
# downstream consumers.
992-
OBJECT_DIRS="Objects Parser Parser/pegen Programs Python Python/deepfreeze"
992+
OBJECT_DIRS="Objects Parser Parser/lexer Parser/pegen Parser/tokenizer Programs Python Python/deepfreeze"
993993
OBJECT_DIRS="${OBJECT_DIRS} Modules"
994994
for ext in _blake2 cjkcodecs _ctypes _ctypes/darwin _decimal _expat _hacl _io _multiprocessing _sha3 _sqlite _sre _testinternalcapi _xxtestfuzz ; do
995995
OBJECT_DIRS="${OBJECT_DIRS} Modules/${ext}"

0 commit comments

Comments
 (0)