CMake build: force-link SDBM lib into SDBM unit tests
Otherwise, GCC < 7 does not link in the dialect registration, fails to look up the dialect in the context and cannot construct SDBM objects. -- PiperOrigin-RevId: 249259758
This commit is contained in:
parent
3b500c694d
commit
6aae7b2e9a
|
@ -5,3 +5,4 @@ target_link_libraries(MLIRSDBMTests
|
|||
PRIVATE
|
||||
MLIRSDBM
|
||||
)
|
||||
whole_archive_link(MLIRSDBMTests MLIRSDBM)
|
||||
|
|
Loading…
Reference in a new issue