Skip to content

Commit 3ac0ccc

Browse files
committed
also add extra pypy inlined files to update script
1 parent c6c057c commit 3ac0ccc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,12 @@ def import_python_sources(args):
653653
"_cpython_unicodedata.c": "unicodedata.c",
654654
"_bz2.c": "_bz2module.c",
655655
}
656+
extra_pypy_files = [
657+
"graalpython/lib-python/3/_md5.py",
658+
"graalpython/lib-python/3/_sha1.py",
659+
"graalpython/lib-python/3/_sha256.py",
660+
"graalpython/lib-python/3/_sha512.py",
661+
]
656662

657663
parser = ArgumentParser(prog='mx python-src-import')
658664
parser.add_argument('--cpython', action='store', help='Path to CPython sources', required=True)
@@ -722,7 +728,7 @@ def import_python_sources(args):
722728
SUITE.vc.git_command(SUITE.dir, ["clean", "-fdx"])
723729
shutil.rmtree("graalpython")
724730

725-
for inlined_file in pypy_files:
731+
for inlined_file in (pypy_files + extra_pypy_files):
726732
original_file = None
727733
name = os.path.basename(inlined_file)
728734
name = mapping.get(name, name)

0 commit comments

Comments
 (0)