diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml
index a21dfd310..2790bc16f 100755
--- a/.azure-pipelines/azure-pipelines-linux.yml
+++ b/.azure-pipelines/azure-pipelines-linux.yml
@@ -10,16 +10,28 @@ jobs:
strategy:
maxParallel: 8
matrix:
- linux_python3.6.____cpython:
- CONFIG: linux_python3.6.____cpython
+ linux_cuda_compiler_version9.2python3.6.____cpython:
+ CONFIG: linux_cuda_compiler_version9.2python3.6.____cpython
+ UPLOAD_PACKAGES: True
+ DOCKER_IMAGE: condaforge/linux-anvil-cuda:9.2
+ linux_cuda_compiler_version9.2python3.7.____cpython:
+ CONFIG: linux_cuda_compiler_version9.2python3.7.____cpython
+ UPLOAD_PACKAGES: True
+ DOCKER_IMAGE: condaforge/linux-anvil-cuda:9.2
+ linux_cuda_compiler_version9.2python3.8.____cpython:
+ CONFIG: linux_cuda_compiler_version9.2python3.8.____cpython
+ UPLOAD_PACKAGES: True
+ DOCKER_IMAGE: condaforge/linux-anvil-cuda:9.2
+ linux_cuda_compiler_versionNonepython3.6.____cpython:
+ CONFIG: linux_cuda_compiler_versionNonepython3.6.____cpython
UPLOAD_PACKAGES: True
DOCKER_IMAGE: condaforge/linux-anvil-comp7
- linux_python3.7.____cpython:
- CONFIG: linux_python3.7.____cpython
+ linux_cuda_compiler_versionNonepython3.7.____cpython:
+ CONFIG: linux_cuda_compiler_versionNonepython3.7.____cpython
UPLOAD_PACKAGES: True
DOCKER_IMAGE: condaforge/linux-anvil-comp7
- linux_python3.8.____cpython:
- CONFIG: linux_python3.8.____cpython
+ linux_cuda_compiler_versionNonepython3.8.____cpython:
+ CONFIG: linux_cuda_compiler_versionNonepython3.8.____cpython
UPLOAD_PACKAGES: True
DOCKER_IMAGE: condaforge/linux-anvil-comp7
steps:
diff --git a/.ci_support/linux_cuda_compiler_version9.2python3.6.____cpython.yaml b/.ci_support/linux_cuda_compiler_version9.2python3.6.____cpython.yaml
new file mode 100644
index 000000000..b67c240ce
--- /dev/null
+++ b/.ci_support/linux_cuda_compiler_version9.2python3.6.____cpython.yaml
@@ -0,0 +1,57 @@
+boost_cpp:
+- '1.72'
+bzip2:
+- '1'
+c_compiler:
+- gcc
+c_compiler_version:
+- '7'
+channel_sources:
+- conda-forge,defaults
+channel_targets:
+- conda-forge main
+cuda_compiler:
+- nvcc
+cuda_compiler_version:
+- '9.2'
+cxx_compiler:
+- gxx
+cxx_compiler_version:
+- '7'
+docker_image:
+- condaforge/linux-anvil-cuda:9.2
+gflags:
+- '2.2'
+glog:
+- 0.4.0
+grpc_cpp:
+- '1.28'
+libprotobuf:
+- '3.11'
+lz4_c:
+- 1.9.2
+pin_run_as_build:
+ boost-cpp:
+ max_pin: x.x.x
+ bzip2:
+ max_pin: x
+ lz4-c:
+ max_pin: x.x.x
+ python:
+ min_pin: x.x
+ max_pin: x.x
+ zlib:
+ max_pin: x.x
+ zstd:
+ max_pin: x.x.x
+python:
+- 3.6.* *_cpython
+snappy:
+- '1'
+zip_keys:
+- - cuda_compiler_version
+ - docker_image
+zlib:
+- '1.2'
+zstd:
+- 1.4.4
diff --git a/.ci_support/linux_cuda_compiler_version9.2python3.7.____cpython.yaml b/.ci_support/linux_cuda_compiler_version9.2python3.7.____cpython.yaml
new file mode 100644
index 000000000..3ce7a1558
--- /dev/null
+++ b/.ci_support/linux_cuda_compiler_version9.2python3.7.____cpython.yaml
@@ -0,0 +1,57 @@
+boost_cpp:
+- '1.72'
+bzip2:
+- '1'
+c_compiler:
+- gcc
+c_compiler_version:
+- '7'
+channel_sources:
+- conda-forge,defaults
+channel_targets:
+- conda-forge main
+cuda_compiler:
+- nvcc
+cuda_compiler_version:
+- '9.2'
+cxx_compiler:
+- gxx
+cxx_compiler_version:
+- '7'
+docker_image:
+- condaforge/linux-anvil-cuda:9.2
+gflags:
+- '2.2'
+glog:
+- 0.4.0
+grpc_cpp:
+- '1.28'
+libprotobuf:
+- '3.11'
+lz4_c:
+- 1.9.2
+pin_run_as_build:
+ boost-cpp:
+ max_pin: x.x.x
+ bzip2:
+ max_pin: x
+ lz4-c:
+ max_pin: x.x.x
+ python:
+ min_pin: x.x
+ max_pin: x.x
+ zlib:
+ max_pin: x.x
+ zstd:
+ max_pin: x.x.x
+python:
+- 3.7.* *_cpython
+snappy:
+- '1'
+zip_keys:
+- - cuda_compiler_version
+ - docker_image
+zlib:
+- '1.2'
+zstd:
+- 1.4.4
diff --git a/.ci_support/linux_cuda_compiler_version9.2python3.8.____cpython.yaml b/.ci_support/linux_cuda_compiler_version9.2python3.8.____cpython.yaml
new file mode 100644
index 000000000..c8d244b12
--- /dev/null
+++ b/.ci_support/linux_cuda_compiler_version9.2python3.8.____cpython.yaml
@@ -0,0 +1,57 @@
+boost_cpp:
+- '1.72'
+bzip2:
+- '1'
+c_compiler:
+- gcc
+c_compiler_version:
+- '7'
+channel_sources:
+- conda-forge,defaults
+channel_targets:
+- conda-forge main
+cuda_compiler:
+- nvcc
+cuda_compiler_version:
+- '9.2'
+cxx_compiler:
+- gxx
+cxx_compiler_version:
+- '7'
+docker_image:
+- condaforge/linux-anvil-cuda:9.2
+gflags:
+- '2.2'
+glog:
+- 0.4.0
+grpc_cpp:
+- '1.28'
+libprotobuf:
+- '3.11'
+lz4_c:
+- 1.9.2
+pin_run_as_build:
+ boost-cpp:
+ max_pin: x.x.x
+ bzip2:
+ max_pin: x
+ lz4-c:
+ max_pin: x.x.x
+ python:
+ min_pin: x.x
+ max_pin: x.x
+ zlib:
+ max_pin: x.x
+ zstd:
+ max_pin: x.x.x
+python:
+- 3.8.* *_cpython
+snappy:
+- '1'
+zip_keys:
+- - cuda_compiler_version
+ - docker_image
+zlib:
+- '1.2'
+zstd:
+- 1.4.4
diff --git a/.ci_support/linux_python3.6.____cpython.yaml b/.ci_support/linux_cuda_compiler_versionNonepython3.6.____cpython.yaml
similarity index 85%
rename from .ci_support/linux_python3.6.____cpython.yaml
rename to .ci_support/linux_cuda_compiler_versionNonepython3.6.____cpython.yaml
index c7cafe722..48f71c572 100644
--- a/.ci_support/linux_python3.6.____cpython.yaml
+++ b/.ci_support/linux_cuda_compiler_versionNonepython3.6.____cpython.yaml
@@ -10,6 +10,10 @@ channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
+cuda_compiler:
+- nvcc
+cuda_compiler_version:
+- None
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -44,6 +48,9 @@ python:
- 3.6.* *_cpython
snappy:
- '1'
+zip_keys:
+- - cuda_compiler_version
+ - docker_image
zlib:
- '1.2'
zstd:
diff --git a/.ci_support/linux_python3.7.____cpython.yaml b/.ci_support/linux_cuda_compiler_versionNonepython3.7.____cpython.yaml
similarity index 85%
rename from .ci_support/linux_python3.7.____cpython.yaml
rename to .ci_support/linux_cuda_compiler_versionNonepython3.7.____cpython.yaml
index a56d2cd83..b489b8224 100644
--- a/.ci_support/linux_python3.7.____cpython.yaml
+++ b/.ci_support/linux_cuda_compiler_versionNonepython3.7.____cpython.yaml
@@ -10,6 +10,10 @@ channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
+cuda_compiler:
+- nvcc
+cuda_compiler_version:
+- None
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -44,6 +48,9 @@ python:
- 3.7.* *_cpython
snappy:
- '1'
+zip_keys:
+- - cuda_compiler_version
+ - docker_image
zlib:
- '1.2'
zstd:
diff --git a/.ci_support/linux_python3.8.____cpython.yaml b/.ci_support/linux_cuda_compiler_versionNonepython3.8.____cpython.yaml
similarity index 85%
rename from .ci_support/linux_python3.8.____cpython.yaml
rename to .ci_support/linux_cuda_compiler_versionNonepython3.8.____cpython.yaml
index f8a7d1d64..988a8e962 100644
--- a/.ci_support/linux_python3.8.____cpython.yaml
+++ b/.ci_support/linux_cuda_compiler_versionNonepython3.8.____cpython.yaml
@@ -10,6 +10,10 @@ channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
+cuda_compiler:
+- nvcc
+cuda_compiler_version:
+- None
cxx_compiler:
- gxx
cxx_compiler_version:
@@ -44,6 +48,9 @@ python:
- 3.8.* *_cpython
snappy:
- '1'
+zip_keys:
+- - cuda_compiler_version
+ - docker_image
zlib:
- '1.2'
zstd:
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 154b36383..f6d6edbc0 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -1 +1 @@
-* @cpcloud @jreback @kou @kszucs @leifwalsh @pcmoritz @pitrou @robertnishihara @siddharthteotia @wesm @xhochy
\ No newline at end of file
+* @cpcloud @jreback @kou @kszucs @leifwalsh @pcmoritz @pearu @pitrou @robertnishihara @siddharthteotia @wesm @xhochy
\ No newline at end of file
diff --git a/README.md b/README.md
index 6e919a332..92e952714 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,9 @@
-About arrow-cpp
-===============
+About arrow-cpp-ext
+===================
Home: http://github.com/apache/arrow
-Package license: Apache 2.0
+Package license: Apache-2.0
Feedstock license: BSD 3-Clause
@@ -64,45 +64,66 @@ Current build status
- | linux_ppc64le_python3.6.____cpython |
+ linux_cuda_compiler_version9.2python3.6.____cpython |
-
+
|
- | linux_ppc64le_python3.7.____cpython |
+ linux_cuda_compiler_version9.2python3.7.____cpython |
-
+
|
- | linux_ppc64le_python3.8.____cpython |
+ linux_cuda_compiler_version9.2python3.8.____cpython |
-
+
+
+ |
+
+ | linux_cuda_compiler_versionNonepython3.6.____cpython |
+
+
+
+
+ |
+
+ | linux_cuda_compiler_versionNonepython3.7.____cpython |
+
+
+
+
+ |
+
+ | linux_cuda_compiler_versionNonepython3.8.____cpython |
+
+
+
|
- | linux_python3.6.____cpython |
+ linux_ppc64le_python3.6.____cpython |
-
+
|
- | linux_python3.7.____cpython |
+ linux_ppc64le_python3.7.____cpython |
-
+
|
- | linux_python3.8.____cpython |
+ linux_ppc64le_python3.8.____cpython |
-
+
|
@@ -161,20 +182,21 @@ Current release info
| Name | Downloads | Version | Platforms |
| --- | --- | --- | --- |
| [](https://anaconda.org/conda-forge/arrow-cpp) | [](https://anaconda.org/conda-forge/arrow-cpp) | [](https://anaconda.org/conda-forge/arrow-cpp) | [](https://anaconda.org/conda-forge/arrow-cpp) |
+| [](https://anaconda.org/conda-forge/arrow-cpp-proc) | [](https://anaconda.org/conda-forge/arrow-cpp-proc) | [](https://anaconda.org/conda-forge/arrow-cpp-proc) | [](https://anaconda.org/conda-forge/arrow-cpp-proc) |
-Installing arrow-cpp
-====================
+Installing arrow-cpp-ext
+========================
-Installing `arrow-cpp` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with:
+Installing `arrow-cpp-ext` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with:
```
conda config --add channels conda-forge
```
-Once the `conda-forge` channel has been enabled, `arrow-cpp` can be installed with:
+Once the `conda-forge` channel has been enabled, `arrow-cpp, arrow-cpp-proc` can be installed with:
```
-conda install arrow-cpp
+conda install arrow-cpp arrow-cpp-proc
```
It is possible to list all of the versions of `arrow-cpp` available on your platform with:
@@ -222,17 +244,17 @@ Terminology
produce the finished article (built conda distributions)
-Updating arrow-cpp-feedstock
-============================
+Updating arrow-cpp-ext-feedstock
+================================
-If you would like to improve the arrow-cpp recipe or build a new
+If you would like to improve the arrow-cpp-ext recipe or build a new
package version, please fork this repository and submit a PR. Upon submission,
your changes will be run on the appropriate platforms to give the reviewer an
opportunity to confirm that the changes result in a successful build. Once
merged, the recipe will be re-built and uploaded automatically to the
`conda-forge` channel, whereupon the built conda packages will be available for
everybody to install and use from the `conda-forge` channel.
-Note that all branches in the conda-forge/arrow-cpp-feedstock are
+Note that all branches in the conda-forge/arrow-cpp-ext-feedstock are
immediately built and any created packages are uploaded, so PRs should be based
on branches in forks and branches in the main repository should only be used to
build distinct package versions.
@@ -253,6 +275,7 @@ Feedstock Maintainers
* [@kszucs](https://github.com/kszucs/)
* [@leifwalsh](https://github.com/leifwalsh/)
* [@pcmoritz](https://github.com/pcmoritz/)
+* [@pearu](https://github.com/pearu/)
* [@pitrou](https://github.com/pitrou/)
* [@robertnishihara](https://github.com/robertnishihara/)
* [@siddharthteotia](https://github.com/siddharthteotia/)
diff --git a/recipe/build.sh b/recipe/build-arrow.sh
similarity index 68%
rename from recipe/build.sh
rename to recipe/build-arrow.sh
index 8ceca7008..0b22b58eb 100644
--- a/recipe/build.sh
+++ b/recipe/build-arrow.sh
@@ -15,11 +15,32 @@ else
fi
# Include g++'s system headers
-if [ "$(uname)" == "Linux" ]; then
+if [[ "$(uname)" == "Linux" ]]
+then
SYSTEM_INCLUDES=$(echo | ${CXX} -E -Wp,-v -xc++ - 2>&1 | grep '^ ' | awk '{print "-isystem;" substr($1, 1)}' | tr '\n' ';')
EXTRA_CMAKE_ARGS=" -DARROW_GANDIVA_PC_CXX_FLAGS=${SYSTEM_INCLUDES}"
fi
+# Enable CUDA support
+if [[ ! -z "${cuda_compiler_version+x}" && "${cuda_compiler_version}" != "None" ]]
+then
+ if [[ -z "${CUDA_HOME+x}" ]]
+ then
+ echo "cuda_compiler_version=${cuda_compiler_version} CUDA_HOME=$CUDA_HOME"
+ CUDA_GDB_EXECUTABLE=$(which cuda-gdb || exit 0)
+ if [[ -n "$CUDA_GDB_EXECUTABLE" ]]
+ then
+ CUDA_HOME=$(dirname $(dirname $CUDA_GDB_EXECUTABLE))
+ else
+ echo "Cannot determine CUDA_HOME: cuda-gdb not in PATH"
+ return 1
+ fi
+ fi
+ EXTRA_CMAKE_ARGS=" ${EXTRA_CMAKE_ARGS} -DARROW_CUDA=ON -DCUDA_TOOLKIT_ROOT_DIR=${CUDA_HOME} -DCMAKE_LIBRARY_PATH=${CUDA_HOME}/lib64/stubs"
+else
+ EXTRA_CMAKE_ARGS=" ${EXTRA_CMAKE_ARGS} -DARROW_CUDA=OFF"
+fi
+
cmake \
-DCMAKE_BUILD_TYPE=release \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index c3ad187de..ab5630af0 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -1,10 +1,13 @@
{% set version = "0.16.0" %}
{% set filename = "apache-arrow-" + version + ".tar.gz" %}
{% set checksum = "261992de4029a1593195ff4000501503bd403146471b3168bd2cc414ad0fb7f5" %}
+{% set number = "5" %}
+{% set cuda_enabled = cuda_compiler_version is not undefined and cuda_compiler_version == '9.2' %}
+{% set build_ext_version = "1.0.0" %}
+{% set build_ext = "cuda" if cuda_enabled else "cpu" %}
package:
- name: arrow-cpp
- version: {{ version }}
+ name: arrow-cpp-ext
source:
fn: {{ filename }}
@@ -12,113 +15,151 @@ source:
sha256: {{ checksum }}
build:
- number: 4
skip: true # [win and vc<14]
+ skip: true # [cuda_compiler_version not in (undefined, "None", "9.2")]
+ number: {{ number }}
run_exports:
- {{ pin_subpackage("arrow-cpp", max_pin="x.x.x") }}
-requirements:
- build:
- - cmake
- - autoconf # [unix]
- - ninja
- - make # [unix]
- - {{ compiler('c') }}
- - {{ compiler('cxx') }}
- host:
- - aws-sdk-cpp
- - boost-cpp
- - brotli
- - bzip2
- - c-ares
- - gflags
- - glog
- - grpc-cpp
- - libprotobuf
- - clangdev 7.* # [not (aarch64 or ppc64le)]
- - llvmdev 7.* # [not (aarch64 or ppc64le)]
- - lz4-c
- - numpy 1.16.*
- - orc # [unix]
- - python
- - rapidjson
- - re2
- - snappy
- - thrift-cpp >=0.11
- - zlib
- - zstd
+outputs:
+ - name: arrow-cpp-proc
+ version: {{ build_ext_version }}
+ build:
+ number: 0
+ string: "{{ build_ext }}"
+ test:
+ commands:
+ - exit 0
+ about:
+ home: http://github.com/apache/arrow
+ license: Apache-2.0
+ license_file:
+ - LICENSE.txt
+ summary: 'A meta-package to select Arrow build variant'
- run:
- - {{ pin_compatible('numpy', lower_bound='1.16') }}
- - aws-sdk-cpp
- - boost-cpp
- - brotli
- - c-ares
- - gflags
- - glog
- - grpc-cpp
- - lz4-c
- - python
- - re2
- - snappy
- - zlib
- - zstd
+ - name: arrow-cpp
+ script: build-arrow.sh # [not win]
+ script: bld.bat # [win]
+ version: {{ version }}
+ build:
+ number: {{ number }}
+ string: "py{{ CONDA_PY }}h{{ PKG_HASH }}_{{ number }}_{{ build_ext }}"
+ skip: true # [win and vc<14]
+ skip: true # [cuda_compiler_version not in (undefined, "None", "9.2")]
+ ignore_run_exports:
+ - cudatoolkit
+ track_features:
+ {{ "- arrow-cuda" if cuda_enabled else "" }}
+ requirements:
+ build:
+ - cmake
+ - autoconf # [unix]
+ - ninja
+ - make # [unix]
+ - {{ compiler('c') }}
+ - {{ compiler('cxx') }}
+ - {{ compiler("cuda") }} # [cuda_compiler_version is not undefined and cuda_compiler_version == '9.2']
+ host:
+ - aws-sdk-cpp
+ - boost-cpp
+ - brotli
+ - bzip2
+ - c-ares
+ - gflags
+ - glog
+ - grpc-cpp
+ - libprotobuf
+ - clangdev 7.* # [not (aarch64 or ppc64le)]
+ - llvmdev 7.* # [not (aarch64 or ppc64le)]
+ - lz4-c
+ - numpy 1.16.*
+ - orc # [unix]
+ - python
+ - rapidjson
+ - re2
+ - snappy
+ - thrift-cpp >=0.11
+ - zlib
+ - zstd
+ run:
+ - {{ pin_compatible('numpy', lower_bound='1.16') }}
+ - aws-sdk-cpp
+ - boost-cpp
+ - brotli
+ - c-ares
+ - gflags
+ - glog
+ - grpc-cpp
+ - lz4-c
+ - python
+ - re2
+ - snappy
+ - zlib
+ - zstd
+ run_constrained:
+ - arrow-cpp-proc * {{ build_ext }}
+ - cudatoolkit >=9.2
+ test:
+ commands:
+ # headers
+ - test -f $PREFIX/include/arrow/api.h # [unix]
+ - test -f $PREFIX/include/arrow/flight/types.h # [unix]
+ - test -f $PREFIX/include/plasma/client.h # [unix]
+ - test -f $PREFIX/include/gandiva/engine.h # [unix and not (aarch64 or ppc64le)]
+ - test -f $PREFIX/include/parquet/api/reader.h # [unix]
+ - if not exist %LIBRARY_INC%\\arrow\\api.h exit 1 # [win]
+ - if not exist %LIBRARY_INC%\\gandiva\\engine.h exit 1 # [win]
+ - if not exist %LIBRARY_INC%\\parquet\\api\\reader.h exit 1 # [win]
-test:
- commands:
- # headers
- - test -f $PREFIX/include/arrow/api.h # [unix]
- - test -f $PREFIX/include/arrow/flight/types.h # [unix]
- - test -f $PREFIX/include/plasma/client.h # [unix]
- - test -f $PREFIX/include/gandiva/engine.h # [unix and not (aarch64 or ppc64le)]
- - test -f $PREFIX/include/parquet/api/reader.h # [unix]
- - if not exist %LIBRARY_INC%\\arrow\\api.h exit 1 # [win]
- - if not exist %LIBRARY_INC%\\gandiva\\engine.h exit 1 # [win]
- - if not exist %LIBRARY_INC%\\parquet\\api\\reader.h exit 1 # [win]
+ # shared
+ - test -f $PREFIX/lib/libarrow.so # [linux]
+ - test -f $PREFIX/lib/libarrow_dataset.so # [linux]
+ - test -f $PREFIX/lib/libarrow_flight.so # [linux]
+ - test -f $PREFIX/lib/libarrow_python.so # [linux]
+ - test -f $PREFIX/lib/libparquet.so # [linux]
+ - test -f $PREFIX/lib/libgandiva.so # [linux and not (aarch64 or ppc64le)]
+ - test -f $PREFIX/lib/libplasma.so # [linux]
+ {{ "- test %s -f $PREFIX/lib/libarrow_cuda.so" % (['!', ''][cuda_enabled]) }} # [linux]
+ {{ "- test %s -f $PREFIX/lib/libarrow_cuda.dylib" % (['!', ''][cuda_enabled]) }} # [osx]
+ {{ "- if %s exist %%PREFIX%%\\Library\\bin\\arrow_cuda.dll exit 1" % (['', 'not'][cuda_enabled]) }} # [win]
+ - test -f $PREFIX/lib/libarrow.dylib # [osx]
+ - test -f $PREFIX/lib/libarrow_dataset.dylib # [osx]
+ - test -f $PREFIX/lib/libarrow_python.dylib # [osx]
+ - test -f $PREFIX/lib/libgandiva.dylib # [osx]
+ - test -f $PREFIX/lib/libparquet.dylib # [osx]
+ - test -f $PREFIX/lib/libplasma.dylib # [osx]
+ - if not exist %PREFIX%\\Library\\bin\\arrow.dll exit 1 # [win]
+ - if not exist %PREFIX%\\Library\\bin\\arrow_dataset.dll exit 1 # [win]
+ - if not exist %PREFIX%\\Library\\bin\\arrow_flight.dll exit 1 # [win]
+ - if not exist %PREFIX%\\Library\\bin\\arrow_python.dll exit 1 # [win]
+ - if not exist %PREFIX%\\Library\\bin\\parquet.dll exit 1 # [win]
+ - if not exist %PREFIX%\\Library\\bin\\gandiva.dll exit 1 # [win]
- # shared
- - test -f $PREFIX/lib/libarrow.so # [linux]
- - test -f $PREFIX/lib/libarrow_dataset.so # [linux]
- - test -f $PREFIX/lib/libarrow_flight.so # [linux]
- - test -f $PREFIX/lib/libarrow_python.so # [linux]
- - test -f $PREFIX/lib/libparquet.so # [linux]
- - test -f $PREFIX/lib/libgandiva.so # [linux and not (aarch64 or ppc64le)]
- - test -f $PREFIX/lib/libplasma.so # [linux]
- - test -f $PREFIX/lib/libarrow.dylib # [osx]
- - test -f $PREFIX/lib/libarrow_dataset.dylib # [osx]
- - test -f $PREFIX/lib/libarrow_python.dylib # [osx]
- - test -f $PREFIX/lib/libgandiva.dylib # [osx]
- - test -f $PREFIX/lib/libparquet.dylib # [osx]
- - test -f $PREFIX/lib/libplasma.dylib # [osx]
- - if not exist %PREFIX%\\Library\\bin\\arrow.dll exit 1 # [win]
- - if not exist %PREFIX%\\Library\\bin\\arrow_dataset.dll exit 1 # [win]
- - if not exist %PREFIX%\\Library\\bin\\arrow_flight.dll exit 1 # [win]
- - if not exist %PREFIX%\\Library\\bin\\arrow_python.dll exit 1 # [win]
- - if not exist %PREFIX%\\Library\\bin\\parquet.dll exit 1 # [win]
- - if not exist %PREFIX%\\Library\\bin\\gandiva.dll exit 1 # [win]
+ # absence of static libraries
+ - test ! -f $PREFIX/lib/libarrow.a # [unix]
+ - test ! -f $PREFIX/lib/libarrow_dataset.a # [unix]
+ - test ! -f $PREFIX/lib/libarrow_flight.a # [unix]
+ - test ! -f $PREFIX/lib/libarrow_python.a # [unix]
+ - test ! -f $PREFIX/lib/libplasma.a # [unix]
+ - test ! -f $PREFIX/lib/libparquet.a # [unix]
+ - test ! -f $PREFIX/lib/libgandiva.a # [unix]
+ - if exist %PREFIX%\\Library\\lib\\arrow_static.lib exit 1 # [win]
+ - if exist %PREFIX%\\Library\\lib\\arrow_dataset_static.lib exit 1 # [win]
+ - if exist %PREFIX%\\Library\\lib\\arrow_flight_static.lib exit 1 # [win]
+ - if exist %PREFIX%\\Library\\lib\\arrow_python_static.lib exit 1 # [win]
+ - if exist %PREFIX%\\Library\\lib\\parquet_static.lib exit 1 # [win]
+ - if exist %PREFIX%\\Library\\lib\\gandiva_static.lib exit 1 # [win]
- # absence of static libraries
- - test ! -f $PREFIX/lib/libarrow.a # [unix]
- - test ! -f $PREFIX/lib/libarrow_dataset.a # [unix]
- - test ! -f $PREFIX/lib/libarrow_flight.a # [unix]
- - test ! -f $PREFIX/lib/libarrow_python.a # [unix]
- - test ! -f $PREFIX/lib/libplasma.a # [unix]
- - test ! -f $PREFIX/lib/libparquet.a # [unix]
- - test ! -f $PREFIX/lib/libgandiva.a # [unix]
- - if exist %PREFIX%\\Library\\lib\\arrow_static.lib exit 1 # [win]
- - if exist %PREFIX%\\Library\\lib\\arrow_dataset_static.lib exit 1 # [win]
- - if exist %PREFIX%\\Library\\lib\\arrow_flight_static.lib exit 1 # [win]
- - if exist %PREFIX%\\Library\\lib\\arrow_python_static.lib exit 1 # [win]
- - if exist %PREFIX%\\Library\\lib\\parquet_static.lib exit 1 # [win]
- - if exist %PREFIX%\\Library\\lib\\gandiva_static.lib exit 1 # [win]
-
- # conda tools
- - conda inspect linkages -p $PREFIX $PKG_NAME # [not win]
- - conda inspect objects -p $PREFIX $PKG_NAME # [osx]
+ about:
+ home: http://github.com/apache/arrow
+ license: Apache-2.0
+ license_file:
+ - LICENSE.txt
+ summary: 'C++ libraries for Apache Arrow'
about:
home: http://github.com/apache/arrow
- license: Apache 2.0
+ license: Apache-2.0
license_file:
- LICENSE.txt
summary: 'C++ libraries for Apache Arrow'
@@ -136,3 +177,4 @@ extra:
- kou
- kszucs
- pitrou
+ - pearu