-
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-1142: [C++] Port over compression toolchain and interfaces from parquet-cpp, use Arrow-style error handling #771
Conversation
…t to Arrow-style error handling Change-Id: I7db868884ba173c2c0c3cac0148bd5c218a52db7
Change-Id: I8b5435349957fe626becce7a147ff3e0044d0b6d
0911b60
to
198dee1
Compare
… of RAT exclusions Change-Id: Ibd8326781632b7ca01731cb6cdf756c17e10ae36
Change-Id: I2e1d272ec4d86a7027179290ceed0e3dcaebe3fe
Appveyor build: https://ci.appveyor.com/project/wesm/arrow/build/1.0.535 |
Change-Id: I081e5e38cda4e95655647cae703dabe72179ac8c
Appveyor build: https://ci.appveyor.com/project/wesm/arrow/build/1.0.540. Now just waiting on Travis CI |
Change-Id: I465b018871a404207b56a466d716c2a5655447a3
if (NOT DEFINED ENV{BOOST_ROOT}) | ||
# Since we have to set this in the environment, we check whether | ||
# $BOOST_ROOT is defined inside here | ||
set(ENV{BOOST_ROOT} "$ENV{ARROW_BUILD_TOOLCHAIN}") |
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.
Is it possible to leave BOOST_ROOT
out of this? My build environment uses the OS boost and conda stuff for everything else. I'm also happy to explicitly set BOOST_ROOT
if we want to tie boost to the build toolchain.
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.
If you don't have boost installed in your toolchain, this is actually fine (I think). Does CMake fail to find Boost when you set $ARROW_BUILD_TOOLCHAIN
?
|
||
set(Boost_DEBUG TRUE) | ||
set(Boost_USE_MULTITHREADED ON) | ||
set(Boost_ADDITIONAL_VERSIONS |
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.
Possible to add 1.64.0
, and 1.64
here as well?
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 is moved code from the original root CMakeLists.txt, but sure
if (ARROW_BOOST_HEADER_ONLY) | ||
find_package(Boost) | ||
else() | ||
find_package(Boost COMPONENTS system filesystem regex REQUIRED) |
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 regex
be in there?
-BUILD_CONFIG_TESTS=OFF | ||
-DINSTALL_HEADERS=ON | ||
-DCMAKE_CXX_FLAGS=${GFLAGS_CMAKE_CXX_FLAGS}) | ||
if (CMAKE_VERSION VERSION_GREATER "3.2") |
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.
Can this if
be removed?
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.
(and any others that might also be around)
Opened https://issues.apache.org/jira/browse/ARROW-1148 about raising the minimum CMake version to 3.2, can do that in a follow up patch |
Change-Id: Id6781f80f4767ba3af8c0e2822322940f94685e7
Here's the Appveyor build: https://ci.appveyor.com/project/wesm/arrow/build/1.0.546. Bombs away |
@@ -1,2 +1,19 @@ | |||
# Licensed to the Apache Software Foundation (ASF) under one | |||
# or more contributor license agreements. See the NOTICE file |
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 should remove this file as we don't use readthedocs anymore.
Depends on apache/arrow#771; will update Arrow version once that's merged Author: Wes McKinney <[email protected]> Closes #362 from wesm/move-compression-to-arrow and squashes the following commits: b055b69 [Wes McKinney] Check status, do not use /WX with Arrow EP build on MSVC 6e9b9cd [Wes McKinney] Fixes for macOS and Windows 6d39a39 [Wes McKinney] Fix function name a0bfa95 [Wes McKinney] Untabify file e095b10 [Wes McKinney] Use compression toolchain from Arrow
Depends on apache#771; will update Arrow version once that's merged Author: Wes McKinney <[email protected]> Closes apache#362 from wesm/move-compression-to-arrow and squashes the following commits: b055b69 [Wes McKinney] Check status, do not use /WX with Arrow EP build on MSVC 6e9b9cd [Wes McKinney] Fixes for macOS and Windows 6d39a39 [Wes McKinney] Fix function name a0bfa95 [Wes McKinney] Untabify file e095b10 [Wes McKinney] Use compression toolchain from Arrow
Depends on apache#771; will update Arrow version once that's merged Author: Wes McKinney <[email protected]> Closes apache#362 from wesm/move-compression-to-arrow and squashes the following commits: b055b69 [Wes McKinney] Check status, do not use /WX with Arrow EP build on MSVC 6e9b9cd [Wes McKinney] Fixes for macOS and Windows 6d39a39 [Wes McKinney] Fix function name a0bfa95 [Wes McKinney] Untabify file e095b10 [Wes McKinney] Use compression toolchain from Arrow Change-Id: I381e1e2f8f8621bfdb4a20900eba1218de29855f
Depends on apache#771; will update Arrow version once that's merged Author: Wes McKinney <[email protected]> Closes apache#362 from wesm/move-compression-to-arrow and squashes the following commits: b055b69 [Wes McKinney] Check status, do not use /WX with Arrow EP build on MSVC 6e9b9cd [Wes McKinney] Fixes for macOS and Windows 6d39a39 [Wes McKinney] Fix function name a0bfa95 [Wes McKinney] Untabify file e095b10 [Wes McKinney] Use compression toolchain from Arrow Change-Id: I381e1e2f8f8621bfdb4a20900eba1218de29855f
Depends on apache#771; will update Arrow version once that's merged Author: Wes McKinney <[email protected]> Closes apache#362 from wesm/move-compression-to-arrow and squashes the following commits: b055b69 [Wes McKinney] Check status, do not use /WX with Arrow EP build on MSVC 6e9b9cd [Wes McKinney] Fixes for macOS and Windows 6d39a39 [Wes McKinney] Fix function name a0bfa95 [Wes McKinney] Untabify file e095b10 [Wes McKinney] Use compression toolchain from Arrow Change-Id: I381e1e2f8f8621bfdb4a20900eba1218de29855f
Depends on apache#771; will update Arrow version once that's merged Author: Wes McKinney <[email protected]> Closes apache#362 from wesm/move-compression-to-arrow and squashes the following commits: b055b69 [Wes McKinney] Check status, do not use /WX with Arrow EP build on MSVC 6e9b9cd [Wes McKinney] Fixes for macOS and Windows 6d39a39 [Wes McKinney] Fix function name a0bfa95 [Wes McKinney] Untabify file e095b10 [Wes McKinney] Use compression toolchain from Arrow Change-Id: I381e1e2f8f8621bfdb4a20900eba1218de29855f
No description provided.