Skip to content

Commit 00ae6d0

Browse files
committed
update build for modular build changes
1 parent 835ed97 commit 00ae6d0

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,9 @@ def graalpython_gate_runner(args, tasks):
363363
with Task('GraalPython GraalVM build', tasks, tags=[GraalPythonTags.downstream, GraalPythonTags.graalvm]) as task:
364364
if task:
365365
mx.run_mx(
366-
["--strict-compliance", "--dynamicimports", "/substratevm,/vm",
366+
["--dynamicimports", "/substratevm,/vm",
367367
"build", "--force-deprecation-as-warning", "--dependencies",
368-
"graalpython.image"],
368+
"GRAAL_MANAGEMENT,graalpython.image"],
369369
nonZeroIsFatal=True
370370
)
371371
vmdir = os.path.join(mx.suite("truffle").dir, "..", "vm")
@@ -546,20 +546,19 @@ def python_checkcopyrights(args):
546546
name='Graal.Python',
547547
short_name='pyn',
548548
dir_name='python',
549-
license_files=['link:<support>/GraalCE_Python_license_3rd_party_license.txt'],
549+
license_files=['link:GraalCE_Python_license_3rd_party_license.txt'],
550550
third_party_license_files=[],
551551
truffle_jars=[
552-
'dependency:graalpython:GRAALPYTHON',
553-
'dependency:graalpython:GRAALPYTHON-ENV',
552+
'graalpython:GRAALPYTHON',
554553
],
555554
support_distributions=[
556-
'extracted-dependency:graalpython:GRAALPYTHON_GRAALVM_SUPPORT',
557-
'extracted-dependency:graalpython:GRAALPYTHON_GRAALVM_DOCS',
555+
'graalpython:GRAALPYTHON_GRAALVM_SUPPORT',
556+
'graalpython:GRAALPYTHON_GRAALVM_DOCS',
558557
],
559558
launcher_configs=[
560559
mx_sdk.LanguageLauncherConfig(
561560
destination='bin/<exe:graalpython>',
562-
jar_distributions=['dependency:graalpython:GRAALPYTHON-LAUNCHER'],
561+
jar_distributions=['graalpython:GRAALPYTHON-LAUNCHER'],
563562
main_class='com.oracle.graal.python.shell.GraalPythonMain',
564563
build_args=[
565564
'--language:python',

0 commit comments

Comments
 (0)