commit | 3f39da8e38d2a07a41b6474d56eb504cc9f1ff14 | [log] [tgz] |
---|---|---|
author | Jacques Pienaar <jpienaar@google.com> | Sun Apr 14 06:36:40 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Apr 14 06:43:43 2024 -0700 |
tree | 57a98e6f58505d0d8f84705855eb645a59b3bb01 | |
parent | d938d9dea5fb32cef58c9da2bdd392616221455e [diff] |
[mlir] Add lib to tests for shared build (#88574) These resulted in link failures: ``` /usr/bin/ld: tools/mlir/test/CAPI/CMakeFiles/mlir-capi-translation-test.dir/translation.c.o: in function `main': translation.c:(.text.main+0x58): undefined reference to `LLVMContextCreate' /usr/bin/ld: translation.c:(.text.main+0x9b): undefined reference to `LLVMDumpModule' /usr/bin/ld: translation.c:(.text.main+0xa3): undefined reference to `LLVMDisposeModule' /usr/bin/ld: translation.c:(.text.main+0xb3): undefined reference to `LLVMContextDispose' ``` Found in mlir-hs. Not sure why this hasn't been flagged elsewhere. GitOrigin-RevId: 3c4d9559495e60dcbb431ab80d806096559a7486
See https://mlir.llvm.org/ for more information.