Skip to content

Commit cc6721a

Browse files
committed
[GR-14671] Add LLVM as dependent language to python.
PullRequest: graalpython/461
2 parents 57cbf2b + d6ebe2d commit cc6721a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/PythonLanguage.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,14 @@
9191

9292
import org.graalvm.options.OptionDescriptors;
9393

94-
@TruffleLanguage.Registration(id = PythonLanguage.ID, name = PythonLanguage.NAME, version = PythonLanguage.VERSION, characterMimeTypes = PythonLanguage.MIME_TYPE, interactive = true, internal = false, contextPolicy = TruffleLanguage.ContextPolicy.SHARED, fileTypeDetectors = PythonFileDetector.class)
94+
@TruffleLanguage.Registration(id = PythonLanguage.ID, //
95+
name = PythonLanguage.NAME, //
96+
version = PythonLanguage.VERSION, //
97+
characterMimeTypes = PythonLanguage.MIME_TYPE, //
98+
dependentLanguages = "llvm", //
99+
interactive = true, internal = false, //
100+
contextPolicy = TruffleLanguage.ContextPolicy.SHARED, //
101+
fileTypeDetectors = PythonFileDetector.class)
95102
@ProvidedTags({StandardTags.CallTag.class, StandardTags.StatementTag.class, StandardTags.RootTag.class, StandardTags.TryBlockTag.class, StandardTags.ExpressionTag.class,
96103
DebuggerTags.AlwaysHalt.class})
97104
public final class PythonLanguage extends TruffleLanguage<PythonContext> {

0 commit comments

Comments
 (0)