Skip to content

Commit baa9c28

Browse files
committed
Remove obsolete features from launcher.
1 parent 05c0434 commit baa9c28

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

graalpython/com.oracle.graal.python.shell/src/com/oracle/graal/python/shell/GraalPythonMain.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ public static void main(String[] args) {
7777
private boolean unbufferedIO = false;
7878
private boolean multiContext = false;
7979
private VersionAction versionAction = VersionAction.None;
80-
private String sulongLibraryPath = null;
8180
private List<String> givenArguments;
8281
private List<String> relaunchArgs;
8382
private boolean wantsExperimental = false;
@@ -153,13 +152,6 @@ protected List<String> preprocessArguments(List<String> givenArgs, Map<String, S
153152
case "--show-version":
154153
versionAction = VersionAction.PrintAndContinue;
155154
break;
156-
case "-LLI":
157-
if (wantsExperimental) {
158-
runLLI = true;
159-
} else {
160-
unrecognized.add(arg);
161-
}
162-
break;
163155
case "-ensure-capi":
164156
if (wantsExperimental) {
165157
ensureCapi = true;
@@ -383,11 +375,6 @@ protected void launch(Builder contextBuilder) {
383375
contextBuilder.option("python.IgnoreEnvironmentFlag", Boolean.toString(ignoreEnv));
384376
contextBuilder.option("python.UnbufferedIO", Boolean.toString(unbufferedIO));
385377

386-
sulongLibraryPath = System.getenv("SULONG_LIBRARY_PATH");
387-
if (sulongLibraryPath != null) {
388-
contextBuilder.option("llvm.libraryPath", sulongLibraryPath);
389-
}
390-
391378
ConsoleHandler consoleHandler = createConsoleHandler(System.in, System.out);
392379
contextBuilder.arguments(getLanguageId(), programArgs.toArray(new String[0])).in(consoleHandler.createInputStream());
393380
contextBuilder.option("python.TerminalIsInteractive", Boolean.toString(stdinIsInteractive));

0 commit comments

Comments
 (0)