Apache DataFusion SQL Query Engine
ARROW-5056: [Packaging] Adjust conda recipes to use ORC conda-forge package on unix systems
Krisztián Szűcsb99a3ec734fa
diff --git a/dev/tasks/conda-recipes/arrow-cpp/bld.bat b/dev/tasks/conda-recipes/arrow-cpp/bld.batindex d673f19457..c853a63d63 100644--- a/dev/tasks/conda-recipes/arrow-cpp/bld.bat+++ b/dev/tasks/conda-recipes/arrow-cpp/bld.bat@@ -22,6 +22,7 @@ cmake -G "%CMAKE_GENERATOR%" ^-DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^-DARROW_DEPENDENCY_SOURCE=SYSTEM ^-DARROW_PACKAGE_PREFIX="%LIBRARY_PREFIX%" ^+ -DLLVM_TOOLS_BINARY_DIR="%LIBRARY_BIN%" ^-DARROW_BOOST_USE_SHARED:BOOL=ON ^-DARROW_BUILD_TESTS:BOOL=OFF ^-DARROW_BUILD_UTILITIES:BOOL=OFF ^diff --git a/dev/tasks/conda-recipes/arrow-cpp/build.sh b/dev/tasks/conda-recipes/arrow-cpp/build.shindex a31289be14..dfe992ef34 100644--- a/dev/tasks/conda-recipes/arrow-cpp/build.sh+++ b/dev/tasks/conda-recipes/arrow-cpp/build.sh@@ -28,6 +28,7 @@ cmake \-DCMAKE_BUILD_TYPE=release \-DCMAKE_INSTALL_PREFIX=$PREFIX \-DCMAKE_INSTALL_LIBDIR=$PREFIX/lib \+ -DLLVM_TOOLS_BINARY_DIR=$PREFIX/bin \-DARROW_DEPENDENCY_SOURCE=SYSTEM \-DARROW_PACKAGE_PREFIX=$PREFIX \-DARROW_BOOST_USE_SHARED=ON \@@ -40,6 +41,7 @@ cmake \-DARROW_PARQUET=ON \-DARROW_GANDIVA=ON \-DARROW_ORC=ON \+ -DORC_HOME=$PREFIX \-DCMAKE_AR=${AR} \-DCMAKE_RANLIB=${RANLIB} \-GNinja \diff --git a/dev/tasks/conda-recipes/arrow-cpp/meta.yaml b/dev/tasks/conda-recipes/arrow-cpp/meta.yamlindex c31b7e7b66..15fc9ea920 100644--- a/dev/tasks/conda-recipes/arrow-cpp/meta.yaml+++ b/dev/tasks/conda-recipes/arrow-cpp/meta.yaml@@ -23,11 +23,11 @@ source:path: ../../../../build:+ build:number: 0- skip: true # [win32]- skip: true # [win and py<35]- features:- - vc14 # [win and py>=35]+ skip: true # [win and vc<14]+ run_exports:+ - {{ pin_subpackage("arrow-cpp", max_pin="x.x") }}requirements:build:@@ -44,9 +44,11 @@ requirements:- gflags- glog- libprotobuf+ - clangdev 7.*- llvmdev 7.*- lz4-c- numpy 1.14.*+ - orc # [unix]- python- rapidjson- re2diff --git a/dev/tasks/conda-recipes/parquet-cpp/meta.yaml b/dev/tasks/conda-recipes/parquet-cpp/meta.yamlindex ad21741bc1..eebedd801c 100644--- a/dev/tasks/conda-recipes/parquet-cpp/meta.yaml+++ b/dev/tasks/conda-recipes/parquet-cpp/meta.yaml@@ -17,11 +17,11 @@# ARROW-3229: this is a meta-package to prevent conflicts in the future-{% set version = "1.5.0" %}+{% set parquet_version = "1.5.1" %}package:name: parquet-cpp- version: {{ version }}+ version: {{ parquet_version }}build:number: 0@@ -30,10 +30,9 @@ build:requirements:host:- - arrow-cpp {{ ARROW_VERSION }}-+ - arrow-cpp >={{ ARROW_VERSION }}run:- - arrow-cpp {{ ARROW_VERSION }}+ - arrow-cpp >={{ ARROW_VERSION }}test:commands:diff --git a/dev/tasks/conda-recipes/pyarrow/bld.bat b/dev/tasks/conda-recipes/pyarrow/bld.batindex 10ac06cf1f..37d7f18805 100644--- a/dev/tasks/conda-recipes/pyarrow/bld.bat+++ b/dev/tasks/conda-recipes/pyarrow/bld.bat@@ -30,6 +30,7 @@ copy /Y "%SRC_DIR%\cpp\cmake_modules\FindNumPy.cmake" cmake_modules\copy /Y "%SRC_DIR%\cpp\cmake_modules\FindPythonLibsNew.cmake" cmake_modules\SET ARROW_HOME=%LIBRARY_PREFIX%+SET SETUPTOOLS_SCM_PRETEND_VERSION=%PKG_VERSION%"%PYTHON%" setup.py ^build_ext --build-type=release ^--with-parquet ^diff --git a/dev/tasks/conda-recipes/pyarrow/build.sh b/dev/tasks/conda-recipes/pyarrow/build.shindex 86471e72f1..56d6fa7d94 100644--- a/dev/tasks/conda-recipes/pyarrow/build.sh+++ b/dev/tasks/conda-recipes/pyarrow/build.sh@@ -23,6 +23,7 @@ set -x# Build dependenciesexport ARROW_HOME=$PREFIXexport PARQUET_HOME=$PREFIX+export SETUPTOOLS_SCM_PRETEND_VERSION=$PKG_VERSIONcd pythondiff --git a/dev/tasks/conda-recipes/pyarrow/meta.yaml b/dev/tasks/conda-recipes/pyarrow/meta.yamlindex 854d9fa97e..4c8f6560b8 100644--- a/dev/tasks/conda-recipes/pyarrow/meta.yaml+++ b/dev/tasks/conda-recipes/pyarrow/meta.yaml@@ -45,6 +45,8 @@ requirements:- arrow-cpp {{ ARROW_VERSION }}run:+ - glog+ - snappy- boost-cpp- python- setuptools@@ -53,6 +55,9 @@ requirements:- six- futures # [py27]- arrow-cpp {{ ARROW_VERSION }}+ # - {{ pin_compatible('arrow-cpp') }}+ # empty parquet-cpp metapackage, force old versions to be uninstalled+ - parquet-cpp 1.5.1.*test:imports: