Skip to content

Add debug workflow for ODBC Linux#172

Merged
alinaliBQ merged 2 commits into
apache-odbcfrom
linux-debug-build
Apr 16, 2026
Merged

Add debug workflow for ODBC Linux#172
alinaliBQ merged 2 commits into
apache-odbcfrom
linux-debug-build

Conversation

@alinaliBQ

Copy link
Copy Markdown

Add debug workflow for ODBC Linux to add debug trace

Comment on lines 44 to 53

# GH-49652: TODO support static test linkage on macOS
if(ARROW_TEST_LINKAGE STREQUAL "static")
set(ARROW_FLIGHT_SQL_ODBC_TEST_LINK_LIBS arrow_flight_sql_odbc_static
${ARROW_TEST_STATIC_LINK_LIBS})
else()
# GH-49651 Link ODBC tests statically on Linux and dynamically on macOS/Windows
if(WIN32 OR APPLE)
set(ARROW_FLIGHT_SQL_ODBC_TEST_LINK_LIBS arrow_flight_sql_odbc_shared
${ARROW_TEST_SHARED_LINK_LIBS})
else()
# GH-49651 Link ODBC tests statically on Linux to fix segfault
set(ARROW_FLIGHT_SQL_ODBC_TEST_LINK_LIBS arrow_flight_sql_odbc_static
${ARROW_TEST_STATIC_LINK_LIBS})
endif()

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file change and compose.yaml is from the community PR apache#49688.
I am also porting it here because ARROW_TEST_LINKAGE: "static" may take up too much disk space

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only new change in this PR

@alinaliBQ
alinaliBQ marked this pull request as ready for review April 16, 2026 19:16
@alinaliBQ
alinaliBQ merged commit bbcfea2 into apache-odbc Apr 16, 2026
40 of 46 checks passed
@alinaliBQ
alinaliBQ deleted the linux-debug-build branch April 16, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants