aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>2023-12-20 12:45:52 -0600
committerKrzysztof Parzyszek <Krzysztof.Parzyszek@amd.com>2023-12-20 12:49:25 -0600
commit8b231d73bdd47a69ccf1350b49fb824999426bba (patch)
treeb5bd924cfde33ba15a1899ee5fd85a1474417695 /clang/lib/CodeGen/CodeGenModule.cpp
parentb33a131c828437efff36179458562e62774da881 (diff)
downloadllvm-8b231d73bdd47a69ccf1350b49fb824999426bba.zip
llvm-8b231d73bdd47a69ccf1350b49fb824999426bba.tar.gz
llvm-8b231d73bdd47a69ccf1350b49fb824999426bba.tar.bz2
[mlir] Fix build break with shared libraries
When project components are built as separate shared libraries, a lot of errors appear about undefined symbols, e.g. ``` /usr/bin/ld: CMakeFiles/obj.MLIRGPUPipelines.dir/GPUToNVVMPipeline.cpp.o : in function `(anonymous namespace)::buildCommonPassPipeline(mlir::OpPa ssManager&, (anonymous namespace)::GPUToNVVMPipelineOptions const&)': GPUToNVVMPipeline.cpp:(.text._ZN12_GLOBAL__N_123buildCommonPassPipelineE RN4mlir13OpPassManagerERKNS_24GPUToNVVMPipelineOptionsE+0xa5): undefined reference to `mlir::createConvertLinalgToLoopsPass()' ``` Add the necessary dependencies to Dialect/GPU/Pipelines/CMakeLists.txt
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions