[all-commits] [llvm/llvm-project] 3c4d95: [mlir] Add lib to tests for shared build (#88574)
Jacques Pienaar via All-commits
all-commits at lists.llvm.org
Sun Apr 14 10:59:06 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3c4d9559495e60dcbb431ab80d806096559a7486
https://github.com/llvm/llvm-project/commit/3c4d9559495e60dcbb431ab80d806096559a7486
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2024-04-14 (Sun, 14 Apr 2024)
Changed paths:
M mlir/test/CAPI/CMakeLists.txt
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list