Skip to content

Commit ed395f5

Browse files
committed
mx_graalpython.py: adapt update imports to handle the split for common.json / jsonnet
1 parent c7d6463 commit ed395f5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,10 @@ def update_import_cmd(args):
16851685
# copy files we inline from our imports
16861686
shutil.copy(
16871687
join(mx.suite("truffle").dir, "..", "common.json"),
1688-
join(overlaydir, "python", "graal-common.json"))
1688+
join(overlaydir, "python", "graal", "common.json"))
1689+
shutil.copy(
1690+
join(mx.suite("truffle").dir, "..", "ci", "common.jsonnet"),
1691+
join(overlaydir, "python", "graal", "ci", "common.jsonnet"))
16891692

16901693
# update the graal-enterprise revision in the overlay (used by benchmarks)
16911694
with open(join(overlaydir, "python", "imported-constants.json"), 'w') as fp:

0 commit comments

Comments
 (0)