From 714e5fc6bc3e35ccf122ffa5400969068f6d4109 Mon Sep 17 00:00:00 2001 From: donacrio Date: Wed, 11 Dec 2019 19:51:40 +0100 Subject: [PATCH 1/3] remove flatbuffers dep --- cpp/src/plasma/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cpp/src/plasma/CMakeLists.txt b/cpp/src/plasma/CMakeLists.txt index 54a1fb88691a..b62b6b1830d1 100644 --- a/cpp/src/plasma/CMakeLists.txt +++ b/cpp/src/plasma/CMakeLists.txt @@ -190,17 +190,11 @@ if(ARROW_PLASMA_JAVA_CLIENT) plasma_shared ${PLASMA_LINK_LIBS} "-undefined dynamic_lookup" - -Wl,-force_load,flatbuffers::flatbuffers - flatbuffers::flatbuffers ${PTHREAD_LIBRARY}) else(APPLE) target_link_libraries(plasma_java plasma_shared ${PLASMA_LINK_LIBS} - -Wl,--whole-archive - flatbuffers::flatbuffers - -Wl,--no-whole-archive - flatbuffers::flatbuffers ${PTHREAD_LIBRARY}) endif(APPLE) endif() From db7f4be01951bd934c7f186e78436312158cb271 Mon Sep 17 00:00:00 2001 From: donacrio Date: Wed, 11 Dec 2019 20:08:26 +0100 Subject: [PATCH 2/3] fix test.sh for java plasma install --- java/plasma/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/plasma/test.sh b/java/plasma/test.sh index c16c772dd05c..dbfae646c5f2 100755 --- a/java/plasma/test.sh +++ b/java/plasma/test.sh @@ -52,5 +52,5 @@ pushd ../../cpp popd mvn clean install -export PLASMA_STORE=$ROOT_DIR/../../cpp/release/release/plasma_store_server +export PLASMA_STORE=$ROOT_DIR/../../cpp/release/release/plasma-store-server java -cp target/test-classes:target/classes -Djava.library.path=$ROOT_DIR/../../cpp/release/release/ org.apache.arrow.plasma.PlasmaClientTest From a9e349fd58b871688624164251c7cb394743b112 Mon Sep 17 00:00:00 2001 From: donacrio Date: Wed, 11 Dec 2019 20:46:56 +0100 Subject: [PATCH 3/3] fix for linter --- cpp/src/plasma/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cpp/src/plasma/CMakeLists.txt b/cpp/src/plasma/CMakeLists.txt index 9aa34afe72f2..8d5cb7a9c394 100644 --- a/cpp/src/plasma/CMakeLists.txt +++ b/cpp/src/plasma/CMakeLists.txt @@ -192,9 +192,7 @@ if(ARROW_PLASMA_JAVA_CLIENT) "-undefined dynamic_lookup" ${PTHREAD_LIBRARY}) else(APPLE) - target_link_libraries(plasma_java - plasma_shared - ${PLASMA_LINK_LIBS} + target_link_libraries(plasma_java plasma_shared ${PLASMA_LINK_LIBS} ${PTHREAD_LIBRARY}) endif(APPLE) endif()