You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Correct a typo that was causing CMake to look for the shared library
instead of the static library.
- Fix CMake looking for the static library in the wrong place.
- Test that linking against the static library works.
- Test that linking with system-provided fmt/nanoarrow works.
- Test that linking against multiple static drivers works.
- Add headers to provide the entrypoint for static drivers.
- Add build option to disable generation of shared Adbc* functions.
- Respect this option from Go drivers too.
- Namespace the functions inside adbc_driver_common (things like
SetError appear to be leaking out)
- Namespace the SQLite driver functions (e.g.
StatementReaderUpcastInt64ToDouble)
- Add static linking documentation.
Fixes#2562.
---------
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
target_link_libraries(adbc_driver_common PUBLIC nanoarrow::nanoarrow)
23
23
24
+
# For static builds, we need to install the static library here so downstream
25
+
# applications can link to it
26
+
if(ADBC_BUILD_STATIC)
27
+
if(ADBC_WITH_VENDORED_NANOARROW)
28
+
message(WARNING "adbc_driver_common is not installed when ADBC_WITH_VENDORED_NANOARROW is ON. To use the static libraries, for now you must provide nanoarrow instead of using the vendored copy"
0 commit comments