Commit 97f50ed
authored
[SYCL] Fix shared library build (#18688)
Manually verified the fix, error seen
[here](https://github.com/intel/llvm/actions/runs/15280153119/job/42976816882),
fix [here](https://github.com/intel/llvm/actions/runs/15283845466).
```
/usr/bin/ld: lib/SYCLPostLink/CMakeFiles/LLVMSYCLPostLink.dir/ESIMDPostSplitProcessing.cpp.o: in function `llvm::sycl::lowerESIMDConstructs(llvm::module_split::ModuleDesc&, bool, bool)':
ESIMDPostSplitProcessing.cpp:(.text._ZN4llvm4sycl20lowerESIMDConstructsERNS_12module_split10ModuleDescEbb+0xb67): undefined reference to `llvm::SROAPass::SROAPass(llvm::SROAOptions)'
/usr/bin/ld: ESIMDPostSplitProcessing.cpp:(.text._ZN4llvm4sycl20lowerESIMDConstructsERNS_12module_split10ModuleDescEbb+0xceb): undefined reference to `llvm::SROAPass::SROAPass(llvm::SROAOptions)'
/usr/bin/ld: ESIMDPostSplitProcessing.cpp:(.text._ZN4llvm4sycl20lowerESIMDConstructsERNS_12module_split10ModuleDescEbb+0xd8a): undefined reference to `llvm::InstCombinePass::InstCombinePass(llvm::InstCombineOptions)'
/usr/bin/ld: ESIMDPostSplitProcessing.cpp:(.text._ZN4llvm4sycl20lowerESIMDConstructsERNS_12module_split10ModuleDescEbb+0x10f6): undefined reference to `llvm::SROAPass::SROAPass(llvm::SROAOptions)'
/usr/bin/ld: ESIMDPostSplitProcessing.cpp:(.text._ZN4llvm4sycl20lowerESIMDConstructsERNS_12module_split10ModuleDescEbb+0x1182): undefined reference to `llvm::InstCombinePass::InstCombinePass(llvm::InstCombineOptions)'
```
Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>1 parent a2a5752 commit 97f50ed
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
0 commit comments