[Mlir-commits] [mlir] [mlir][ROCM] Disable integration tests on shared library builds (PR #203114)

Fabian Mora llvmlistbot at llvm.org
Thu Jun 11 05:14:04 PDT 2026


fabianmcg wrote:

> Fixing this properly would require dlopen()-ing the HIP libraries or some other such workaround, which can be done later.

Using `dlopen` is just hiding a link error (ie. something not being configured properly). However, given the state of symbols in LLVM and MLIR that might be a tall order to fix. I'll also say that removing the compile time dependency sounds great.

If interested, here's what's needed for the dl approach: https://github.com/iree-org/aster/blob/main/python/lib/hip.h https://github.com/iree-org/aster/blob/main/python/lib/RuntimeModule.cpp#L18-L124

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


More information about the Mlir-commits mailing list