-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
LZ4 compression for Apache Arrow #2339
+5,926
−2,324
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
cmake_minimum_required(VERSION 3.7.2) | ||
|
||
project(lz4-download NONE) | ||
|
||
include(ExternalProject) | ||
ExternalProject_Add(lz4 | ||
GIT_REPOSITORY https://github.com/lz4/lz4.git | ||
GIT_TAG v1.9.4 | ||
SOURCE_DIR "${CMAKE_BINARY_DIR}/lz4-src" | ||
BINARY_DIR "${CMAKE_BINARY_DIR}/lz4-build" | ||
CONFIGURE_COMMAND "" | ||
BUILD_COMMAND "" | ||
INSTALL_COMMAND "" | ||
TEST_COMMAND "" | ||
CMAKE_ARGS " -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -DCMAKE_MODULE_PATH=${CMAKE_MODULE_PATH} -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ project(psp) | |
include(CheckCCompilerFlag) | ||
|
||
set(CMAKE_BUILD_TYPE "Release") | ||
set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) | ||
|
||
# CMAKE POLICIES | ||
|
@@ -380,6 +380,7 @@ psp_build_message("${Cyan}Building minimal Apache Arrow${ColorReset}") | |
psp_build_dep("rapidjson" "${PSP_CMAKE_MODULE_PATH}/rapidjson.txt.in") | ||
psp_build_dep("double-conversion" "${PSP_CMAKE_MODULE_PATH}/double-conversion.txt.in") | ||
psp_build_dep("flatbuffers" "${PSP_CMAKE_MODULE_PATH}/flatbuffers.txt.in") | ||
psp_build_dep("lz4" "${PSP_CMAKE_MODULE_PATH}/lz4.txt.in") | ||
|
||
# Build minimal arrow itself | ||
psp_build_dep("arrow" "${PSP_CMAKE_MODULE_PATH}/arrow.txt.in") | ||
|
@@ -414,7 +415,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") | |
endif() | ||
|
||
set(SOURCE_FILES | ||
${PSP_CPP_SRC}/src/cpp/vendor/arrow_compute_registry.cpp | ||
${PSP_CPP_SRC}/src/cpp/aggregate.cpp | ||
${PSP_CPP_SRC}/src/cpp/aggspec.cpp | ||
${PSP_CPP_SRC}/src/cpp/arg_sort.cpp | ||
|
@@ -509,7 +509,7 @@ set(PYTHON_SOURCE_FILES ${SOURCE_FILES} | |
) | ||
|
||
set(WASM_SOURCE_FILES ${SOURCE_FILES} | ||
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. should remove whole block if not used anymore 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. |
||
${PSP_CPP_SRC}/src/cpp/vendor/arrow_single_threaded_reader.cpp | ||
# ${PSP_CPP_SRC}/src/cpp/vendor/arrow_single_threaded_reader.cpp | ||
) | ||
|
||
set(PYTHON_BINDING_SOURCE_FILES | ||
|
@@ -626,7 +626,7 @@ elseif(PSP_CPP_BUILD OR PSP_PYTHON_BUILD) | |
set_property(TARGET psppy PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_RPATH} ${module_origin_path}) | ||
|
||
target_compile_options(psp PRIVATE -fvisibility=hidden) | ||
target_compile_options(psppy PRIVATE -fvisibility=hidden) | ||
target_compile_options(psppy PRIVATE -fvisibility=hidden) | ||
else() | ||
target_compile_options(psppy PRIVATE -Wdeprecated-declarations) | ||
endif() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
should update/remove gnu flag to match:
perspective/cpp/perspective/CMakeLists.txt
Line 414 in 88e0878
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.
Where is this tested?