Skip to content

Apache DataFusion SQL Query Engine

ARROW-4893: [C++] conda packages should use inside of conda-build

Korn, Uwe777dc9595d8d
diff --git a/dev/tasks/conda-recipes/arrow-cpp/bld.bat b/dev/tasks/conda-recipes/arrow-cpp/bld.bat
index de08c6cf9f..2bfd49c4af 100644
--- a/dev/tasks/conda-recipes/arrow-cpp/bld.bat
+++ b/dev/tasks/conda-recipes/arrow-cpp/bld.bat
@@ -22,6 +22,8 @@ set ARROW_BUILD_TOOLCHAIN=%LIBRARY_PREFIX%
cmake -G "%CMAKE_GENERATOR%" ^
-DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^
+ -DARROW_DEPENDENCY_SOURCE=SYSTEM ^
+ -DARROW_PACKAGE_PREFIX="%LIBRARY_PREFIX%" ^
-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.sh
index 3d7dbb7459..98e7140a6e 100644
--- a/dev/tasks/conda-recipes/arrow-cpp/build.sh
+++ b/dev/tasks/conda-recipes/arrow-cpp/build.sh
@@ -20,9 +20,6 @@
set -e
set -x
-# Build dependencies
-export ARROW_BUILD_TOOLCHAIN=$PREFIX
-
cd cpp
mkdir build-dir
cd build-dir
@@ -31,6 +28,8 @@ cmake \
-DCMAKE_BUILD_TYPE=release \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_INSTALL_LIBDIR=$PREFIX/lib \
+ -DARROW_DEPENDENCY_SOURCE=SYSTEM \
+ -DARROW_PACKAGE_PREFIX=$PREFIX \
-DARROW_BOOST_USE_SHARED=ON \
-DARROW_BUILD_BENCHMARKS=OFF \
-DARROW_BUILD_UTILITIES=OFF \
diff --git a/dev/tasks/conda-recipes/arrow-cpp/meta.yaml b/dev/tasks/conda-recipes/arrow-cpp/meta.yaml
index 9afd5d0668..9a4c5d6fbe 100644
--- a/dev/tasks/conda-recipes/arrow-cpp/meta.yaml
+++ b/dev/tasks/conda-recipes/arrow-cpp/meta.yaml
@@ -38,28 +38,32 @@ requirements:
- {{ compiler('cxx') }}
host:
- boost-cpp
+ - brotli
- double-conversion
- - thrift-cpp >=0.11
- - libprotobuf
- flatbuffers
- - rapidjson
- - zlib
- - glog
- gflags
- - snappy
- - brotli
- - zstd
+ - glog
+ - libprotobuf
- lz4-c
- - python
- numpy 1.14.*
+ - python
+ - rapidjson
+ - snappy
+ - thrift-cpp >=0.11
+ - zlib
+ - zstd
run:
- - boost-cpp
- - python
- {{ pin_compatible('numpy', lower_bound='1.14') }}
+ - boost-cpp
+ - brotli
- gflags
- - snappy # [win and py>=35]
+ - glog
+ - lz4-c
+ - python
+ - snappy
- zlib
+ - zstd
test:
commands: