The recent refactoring of build files broke building with the MIR CUDA
integration enabled. This fixes it by adding some additional
dependencies to mlir-opt.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Unit tests: unknown.
clang-tidy: unknown.
clang-format: unknown.
Build artifacts: console-log.txt
Pre-merge checks is in beta. Report issue. Please join beta or enable it for your project.
Thanks for this. I didn't realize I hadn't tested the GPU config.
mlir/tools/mlir-opt/CMakeLists.txt | ||
---|---|---|
21 | Maybe WHOLE_ARCHIVE_LINK_LIBS? |
I am setting up a build bot that will build the tree with the cuda parts enabled so we can see this easier.
mlir/tools/mlir-opt/CMakeLists.txt | ||
---|---|---|
21 | Seems this landed already. We use FULL_LINK_LIBS is other places, as well, but we can do a global rename in a follow up. |
I updated our build kite bot accordingly already: https://buildkite.com/mlir/mlir-core
Does it also run the CUDA tests that require a GPU (mlir-cuda-runner based ones)?
No it isn't just a cloud VM, building and testing on a GPU machine would be quite a waste
Maybe WHOLE_ARCHIVE_LINK_LIBS?