anutosh491 wrote:

> The WebAssembly integration demonstrated that incremental execution can be 
> implemented without ORC, exposing the need for a cleaner abstraction boundary.

Wow, thanks a lot for this. I was just about to open an issue for this by today 
or tomorrow .... and start sending patches for the same.

We've discussed dropping the size for the wasm build of `libclangInterpreter.a` 
in the past and a factor there was related to compiling all of ORCJIT libs too 
and linking them. Now, if we factor it all out (as done in this PR) and also 
frame cmake accordingly (not yet done I think), we shouldn't need to build any 
jit libs. So something like this.
```
set(LLVM_LINK_COMPONENTS
  core
  native
  MC
  Option
  Support
  Target
  TargetParser
  TransformUtils
)

if (NOT EMSCRIPTEN)
  list(APPEND LLVM_LINK_COMPONENTS
    OrcJit
    OrcDebugging
    OrcShared
    OrcTargetProcess
  )
endif()
```



https://github.com/llvm/llvm-project/pull/175448
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to