Skip to content

Commit 36cbc68

Browse files
committed
switch to using SULONG_LEGACY truffle.h
1 parent 9e2c53d commit 36cbc68

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ def update_import_cmd(args):
623623
if "sulong" in args or "regex" in args or "truffle" in args:
624624
join = os.path.join
625625
callback = lambda: shutil.copy(
626-
join(SUITE_SULONG.dir, "include", "truffle.h"),
626+
join(mx.dependency("SULONG_LEGACY").output, "include", "truffle.h"),
627627
join(SUITE.dir, "graalpython", "com.oracle.graal.python.cext", "include", "truffle.h")
628628
) and shutil.copy(
629629
join(mx.dependency("SULONG_LIBS").output, "polyglot.h"),

mx.graalpython/suite.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@
233233
"output": ".",
234234
"buildDependencies": [
235235
"sulong:SULONG_LIBS",
236+
"sulong:SULONG_LEGACY",
236237
],
237238
"buildEnv": {
238239
"POLYGLOT_INC": "<path:SULONG_LIBS>",

0 commit comments

Comments
 (0)