[Bazel][mlir] Avoid ODR violation introduced in 7ab749c.
authorChristian Sigg <csigg@google.com>
Thu, 22 Jun 2023 05:50:38 +0000 (07:50 +0200)
committerChristian Sigg <csigg@google.com>
Thu, 22 Jun 2023 06:00:50 +0000 (08:00 +0200)
commitcd482968dca4ab385a4298dfbf17e9d49ccae620
treeea4191d198f9be1c69bc066146d98dcf22de5a19
parentcea0eea28e71204bf8543ca94dbf185cbf597ca5
[Bazel][mlir] Avoid ODR violation introduced in 7ab749c.

This change also prepares for 9119325 to land again.

Adds `mlir_c_runner_utils_hdrs` and `mlir_runner_utils_hdrs` targets which do not depend on `//llvm::Support`.

These can be used by other 'runner.so' targets if they are loaded along with the 'runner_utils.so' without calling `__mlir_execution_engine_init()` twice.
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel