You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2019/01/13 10:15:08 UTC
[arrow] branch master updated: ARROW-4247: [Release] Update verify
script for 0.12.0
This is an automated email from the ASF dual-hosted git repository.
kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new be663c1 ARROW-4247: [Release] Update verify script for 0.12.0
be663c1 is described below
commit be663c14637b2bdfef935946b6e91b6317219332
Author: Kouhei Sutou <ko...@clear-code.com>
AuthorDate: Sun Jan 13 11:14:51 2019 +0100
ARROW-4247: [Release] Update verify script for 0.12.0
* C++: -DARROW_GPU -> -DARROW_CUDA
* C++: Enable Gandiva
* C++: default: -DARROW_BUILD_TESTS=ON -> OFF
* Ruby: red-plasma, red-gandiva and red-parquet are added
* Rust: The top-level Cargo.toml is a virtual manifest
Author: Kouhei Sutou <ko...@clear-code.com>
Closes #3389 from kou/release-update-verify-script and squashes the following commits:
f019a3fc <Kouhei Sutou> Update verify script for 0.12.0
---
dev/release/verify-release-candidate.sh | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index 0e46097..c8b9c54 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -51,10 +51,10 @@ HERE=$(cd `dirname "${BASH_SOURCE[0]:-$0}"` && pwd)
ARROW_DIST_URL='https://dist.apache.org/repos/dist/dev/arrow'
-: ${ARROW_HAVE_GPU:=}
-if [ -z "$ARROW_HAVE_GPU" ]; then
+: ${ARROW_HAVE_CUDA:=}
+if [ -z "$ARROW_HAVE_CUDA" ]; then
if nvidia-smi --list-gpus 2>&1 > /dev/null; then
- ARROW_HAVE_GPU=yes
+ ARROW_HAVE_CUDA=yes
fi
fi
@@ -164,13 +164,15 @@ test_and_install_cpp() {
-DARROW_PLASMA=ON
-DARROW_ORC=ON
-DARROW_PYTHON=ON
+-DARROW_GANDIVA=ON
-DARROW_PARQUET=ON
-DARROW_BOOST_USE_SHARED=ON
-DCMAKE_BUILD_TYPE=release
+-DARROW_BUILD_TESTS=ON
-DARROW_BUILD_BENCHMARKS=ON
"
- if [ "$ARROW_HAVE_GPU" = "yes" ]; then
- ARROW_CMAKE_OPTIONS="$ARROW_CMAKE_OPTIONS -DARROW_GPU=ON"
+ if [ "$ARROW_HAVE_CUDA" = "yes" ]; then
+ ARROW_CMAKE_OPTIONS="$ARROW_CMAKE_OPTIONS -DARROW_CUDA=ON"
fi
cmake $ARROW_CMAKE_OPTIONS ..
@@ -238,17 +240,17 @@ test_js() {
test_ruby() {
pushd ruby
- pushd red-arrow
- bundle install --path vendor/bundle
- bundle exec ruby test/run-test.rb
- popd
+ local modules="red-arrow red-plasma red-gandiva red-parquet"
+ if [ "${ARROW_HAVE_CUDA}" = "yes" ]; then
+ modules="${modules} red-arrow-cuda"
+ fi
- if [ "$ARROW_HAVE_GPU" = "yes" ]; then
- pushd red-arrow-gpu
+ for module in ${modules}; do
+ pushd ${module}
bundle install --path vendor/bundle
bundle exec ruby test/run-test.rb
popd
- fi
+ done
popd
}
@@ -274,9 +276,7 @@ test_rust() {
cargo fmt --all -- --check
# raises on any warnings
- cargo rustc -- -D warnings
-
- cargo build
+ RUSTFLAGS="-D warnings" cargo build
cargo test
popd