[llvm] [ORC] Add TargetParser to OrcShared's dependencies. (PR #221922)

Lukas Sommer via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 02:21:23 PDT 2026


sommerlukas wrote:

> > This fixes the initial build error, but I'm not sure it's sufficient: ...
> 
> Looks like the examples aren't linking shared. I'll post a PR for that too.

Yes, I had to add `OrcShared` locally in these files: 
```
llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/CMakeLists.txt
llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/CMakeLists.txt
llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/CMakeLists.txt
llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/CMakeLists.txt
llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt
llvm/examples/Kaleidoscope/Chapter5/CMakeLists.txt
llvm/examples/Kaleidoscope/Chapter6/CMakeLists.txt
llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt
llvm/examples/Kaleidoscope/Chapter9/CMakeLists.txt
llvm/examples/OrcV2Examples/LLJITWithExecutorProcessControl/CMakeLists.txt
llvm/examples/SpeculativeJIT/CMakeLists.txt
```

https://github.com/llvm/llvm-project/pull/221922


More information about the llvm-commits mailing list