-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-280: [C++] Refactor IPC / memory map IO to use common arrow_io interfaces. Create arrow_ipc leaf library #138
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
|
||
set(ARROW_IO_LINK_LIBS | ||
arrow_shared | ||
dl | ||
) | ||
|
||
if (ARROW_BOOST_USE_SHARED) | ||
|
@@ -37,6 +38,7 @@ set(ARROW_IO_TEST_LINK_LIBS | |
${ARROW_IO_PRIVATE_LINK_LIBS}) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We would need a |
||
|
||
set(ARROW_IO_SRCS | ||
memory.cc | ||
) | ||
|
||
if(ARROW_HDFS) | ||
|
@@ -71,8 +73,8 @@ if(ARROW_HDFS) | |
${ARROW_HDFS_SRCS} | ||
${ARROW_IO_SRCS}) | ||
|
||
ADD_ARROW_TEST(hdfs-io-test) | ||
ARROW_TEST_LINK_LIBRARIES(hdfs-io-test | ||
ADD_ARROW_TEST(io-hdfs-test) | ||
ARROW_TEST_LINK_LIBRARIES(io-hdfs-test | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, that's why you need There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See above, the issue was actually |
||
${ARROW_IO_TEST_LINK_LIBS}) | ||
endif() | ||
|
||
|
@@ -101,10 +103,15 @@ if (APPLE) | |
INSTALL_NAME_DIR "@rpath") | ||
endif() | ||
|
||
ADD_ARROW_TEST(io-memory-test) | ||
ARROW_TEST_LINK_LIBRARIES(io-memory-test | ||
${ARROW_IO_TEST_LINK_LIBS}) | ||
|
||
# Headers: top level | ||
install(FILES | ||
hdfs.h | ||
interfaces.h | ||
memory.h | ||
DESTINATION include/arrow/io) | ||
|
||
install(TARGETS arrow_io | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be needed, maybe you mixed somewhere a static and a shared build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are using
dlopen
inlibhdfs_shim.cc
, I get a linker error without linkinglibdl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, ok. I had the problem with missing
dlopen
symbols inparquet-cpp
as there static and shared test libs where mixed. There it would have been only a workaround to linkdl
but as we explicitly use it here, it's fine.