diff --git a/compiler/src/main/scala/edg/compiler/CompilerServerMain.scala b/compiler/src/main/scala/edg/compiler/CompilerServerMain.scala index 60a6fa85a..97a6868c0 100644 --- a/compiler/src/main/scala/edg/compiler/CompilerServerMain.scala +++ b/compiler/src/main/scala/edg/compiler/CompilerServerMain.scala @@ -71,6 +71,7 @@ object CompilerServerMain { } def main(args: Array[String]): Unit = { + val pyLib = new PythonInterfaceLibrary() // allow the library cache to persist across requests while (true) { // handle multiple requests sequentially in the same process val expectedMagicByte = System.in.read() if (expectedMagicByte == -1) { @@ -94,7 +95,6 @@ object CompilerServerMain { Thread.sleep(kHdlVersionMismatchDelayMs) } - val pyLib = new PythonInterfaceLibrary() pyLib.withPythonInterface(compilerInterface) { val result = compile(request.get, pyLib) diff --git a/edg/core/resources/edg-compiler-precompiled.jar b/edg/core/resources/edg-compiler-precompiled.jar index f68877f00..f4e972503 100644 Binary files a/edg/core/resources/edg-compiler-precompiled.jar and b/edg/core/resources/edg-compiler-precompiled.jar differ