Apache DataFusion SQL Query Engine
ARROW-8149: [C++/Python] Enable CUDA Support in conda recipes
Uwe L. Korn7845a6ad5f40
diff --git a/dev/tasks/conda-recipes/.ci_support/linux_aarch64_python3.6.____cpython.yaml b/dev/tasks/conda-recipes/.ci_support/linux_aarch64_python3.6.____cpython.yamlnew file mode 100644index 0000000000..52c70da2aa--- /dev/null+++ b/dev/tasks/conda-recipes/.ci_support/linux_aarch64_python3.6.____cpython.yaml@@ -0,0 +1,58 @@+BUILD:+- aarch64-conda_cos7-linux-gnu+boost_cpp:+- '1.72'+bzip2:+- '1'+c_compiler:+- gcc+c_compiler_version:+- '7'+cdt_arch:+- aarch64+cdt_name:+- cos7+channel_sources:+- conda-forge+channel_targets:+- conda-forge main+cxx_compiler:+- gxx+cxx_compiler_version:+- '7'+docker_image:+- condaforge/linux-anvil-aarch64+gflags:+- '2.2'+glog:+- 0.4.0+grpc_cpp:+- '1.29'+libprotobuf:+- '3.12'+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+re2:+- 2020.06.01+snappy:+- '1'+zlib:+- '1.2'+zstd:+- 1.4.4diff --git a/dev/tasks/conda-recipes/.ci_support/linux_aarch64_python3.7.____cpython.yaml b/dev/tasks/conda-recipes/.ci_support/linux_aarch64_python3.7.____cpython.yamlnew file mode 100644index 0000000000..f35b1f17eb--- /dev/null+++ b/dev/tasks/conda-recipes/.ci_support/linux_aarch64_python3.7.____cpython.yaml@@ -0,0 +1,58 @@+BUILD:+- aarch64-conda_cos7-linux-gnu+boost_cpp:+- '1.72'+bzip2:+- '1'+c_compiler:+- gcc+c_compiler_version:+- '7'+cdt_arch:+- aarch64+cdt_name:+- cos7+channel_sources:+- conda-forge+channel_targets:+- conda-forge main+cxx_compiler:+- gxx+cxx_compiler_version:+- '7'+docker_image:+- condaforge/linux-anvil-aarch64+gflags:+- '2.2'+glog:+- 0.4.0+grpc_cpp:+- '1.29'+libprotobuf:+- '3.12'+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+re2:+- 2020.06.01+snappy:+- '1'+zlib:+- '1.2'+zstd:+- 1.4.4diff --git a/dev/tasks/conda-recipes/.ci_support/linux_aarch64_python3.8.____cpython.yaml b/dev/tasks/conda-recipes/.ci_support/linux_aarch64_python3.8.____cpython.yamlnew file mode 100644index 0000000000..5f19bdcea6--- /dev/null+++ b/dev/tasks/conda-recipes/.ci_support/linux_aarch64_python3.8.____cpython.yaml@@ -0,0 +1,58 @@+BUILD:+- aarch64-conda_cos7-linux-gnu+boost_cpp:+- '1.72'+bzip2:+- '1'+c_compiler:+- gcc+c_compiler_version:+- '7'+cdt_arch:+- aarch64+cdt_name:+- cos7+channel_sources:+- conda-forge+channel_targets:+- conda-forge main+cxx_compiler:+- gxx+cxx_compiler_version:+- '7'+docker_image:+- condaforge/linux-anvil-aarch64+gflags:+- '2.2'+glog:+- 0.4.0+grpc_cpp:+- '1.29'+libprotobuf:+- '3.12'+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+re2:+- 2020.06.01+snappy:+- '1'+zlib:+- '1.2'+zstd:+- 1.4.4diff --git a/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_version9.2python3.6.____cpython.yaml b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_version9.2python3.6.____cpython.yamlnew file mode 100644index 0000000000..d88c0d329a--- /dev/null+++ b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_version9.2python3.6.____cpython.yaml@@ -0,0 +1,59 @@+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.29'+libprotobuf:+- '3.12'+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+re2:+- 2020.06.01+snappy:+- '1'+zip_keys:+- - cuda_compiler_version+ - docker_image+zlib:+- '1.2'+zstd:+- 1.4.4diff --git a/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_version9.2python3.7.____cpython.yaml b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_version9.2python3.7.____cpython.yamlnew file mode 100644index 0000000000..2563e3f149--- /dev/null+++ b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_version9.2python3.7.____cpython.yaml@@ -0,0 +1,59 @@+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.29'+libprotobuf:+- '3.12'+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+re2:+- 2020.06.01+snappy:+- '1'+zip_keys:+- - cuda_compiler_version+ - docker_image+zlib:+- '1.2'+zstd:+- 1.4.4diff --git a/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_version9.2python3.8.____cpython.yaml b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_version9.2python3.8.____cpython.yamlnew file mode 100644index 0000000000..6966b2eacb--- /dev/null+++ b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_version9.2python3.8.____cpython.yaml@@ -0,0 +1,59 @@+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.29'+libprotobuf:+- '3.12'+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+re2:+- 2020.06.01+snappy:+- '1'+zip_keys:+- - cuda_compiler_version+ - docker_image+zlib:+- '1.2'+zstd:+- 1.4.4diff --git a/dev/tasks/conda-recipes/.ci_support/linux_python3.6.yaml b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.6.____cpython.yamlsimilarity index 74%rename from dev/tasks/conda-recipes/.ci_support/linux_python3.6.yamlrename to dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.6.____cpython.yamlindex 8a9035326c..6f06aa3f85 100644--- a/dev/tasks/conda-recipes/.ci_support/linux_python3.6.yaml+++ b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.6.____cpython.yaml@@ -10,27 +10,31 @@ channel_sources:- conda-forge,defaultschannel_targets:- conda-forge main+cuda_compiler:+- nvcc+cuda_compiler_version:+- Nonecxx_compiler:- gxxcxx_compiler_version:- '7'docker_image:- condaforge/linux-anvil-comp7+gflags:+- '2.2'glog:- 0.4.0grpc_cpp:-- '1.27'+- '1.29'libprotobuf:-- '3.11'+- '3.12'lz4_c:-- 1.8.3+- 1.9.2pin_run_as_build:boost-cpp:max_pin: x.x.xbzip2:max_pin: x- grpc-cpp:- max_pin: x.xlz4-c:max_pin: x.x.xpython:@@ -41,9 +45,14 @@ pin_run_as_build:zstd:max_pin: x.x.xpython:-- '3.6'+- 3.6.* *_cpython+re2:+- 2020.06.01snappy:- '1'+zip_keys:+- - cuda_compiler_version+ - docker_imagezlib:- '1.2'zstd:diff --git a/dev/tasks/conda-recipes/.ci_support/linux_python3.7.yaml b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.7.____cpython.yamlsimilarity index 74%rename from dev/tasks/conda-recipes/.ci_support/linux_python3.7.yamlrename to dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.7.____cpython.yamlindex 8565992740..981b5e75e3 100644--- a/dev/tasks/conda-recipes/.ci_support/linux_python3.7.yaml+++ b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.7.____cpython.yaml@@ -10,27 +10,31 @@ channel_sources:- conda-forge,defaultschannel_targets:- conda-forge main+cuda_compiler:+- nvcc+cuda_compiler_version:+- Nonecxx_compiler:- gxxcxx_compiler_version:- '7'docker_image:- condaforge/linux-anvil-comp7+gflags:+- '2.2'glog:- 0.4.0grpc_cpp:-- '1.27'+- '1.29'libprotobuf:-- '3.11'+- '3.12'lz4_c:-- 1.8.3+- 1.9.2pin_run_as_build:boost-cpp:max_pin: x.x.xbzip2:max_pin: x- grpc-cpp:- max_pin: x.xlz4-c:max_pin: x.x.xpython:@@ -41,9 +45,14 @@ pin_run_as_build:zstd:max_pin: x.x.xpython:-- '3.7'+- 3.7.* *_cpython+re2:+- 2020.06.01snappy:- '1'+zip_keys:+- - cuda_compiler_version+ - docker_imagezlib:- '1.2'zstd:diff --git a/dev/tasks/conda-recipes/.ci_support/linux_python3.8.yaml b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.8.____cpython.yamlsimilarity index 74%rename from dev/tasks/conda-recipes/.ci_support/linux_python3.8.yamlrename to dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.8.____cpython.yamlindex da08361ba8..a0d869dd92 100644--- a/dev/tasks/conda-recipes/.ci_support/linux_python3.8.yaml+++ b/dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.8.____cpython.yaml@@ -10,27 +10,31 @@ channel_sources:- conda-forge,defaultschannel_targets:- conda-forge main+cuda_compiler:+- nvcc+cuda_compiler_version:+- Nonecxx_compiler:- gxxcxx_compiler_version:- '7'docker_image:- condaforge/linux-anvil-comp7+gflags:+- '2.2'glog:- 0.4.0grpc_cpp:-- '1.27'+- '1.29'libprotobuf:-- '3.11'+- '3.12'lz4_c:-- 1.8.3+- 1.9.2pin_run_as_build:boost-cpp:max_pin: x.x.xbzip2:max_pin: x- grpc-cpp:- max_pin: x.xlz4-c:max_pin: x.x.xpython:@@ -41,9 +45,14 @@ pin_run_as_build:zstd:max_pin: x.x.xpython:-- '3.8'+- 3.8.* *_cpython+re2:+- 2020.06.01snappy:- '1'+zip_keys:+- - cuda_compiler_version+ - docker_imagezlib:- '1.2'zstd:diff --git a/dev/tasks/conda-recipes/.ci_support/osx_python3.7.yaml b/dev/tasks/conda-recipes/.ci_support/osx_python3.6.____cpython.yamlsimilarity index 88%rename from dev/tasks/conda-recipes/.ci_support/osx_python3.7.yamlrename to dev/tasks/conda-recipes/.ci_support/osx_python3.6.____cpython.yamlindex 558032410a..d1d30f6c24 100644--- a/dev/tasks/conda-recipes/.ci_support/osx_python3.7.yaml+++ b/dev/tasks/conda-recipes/.ci_support/osx_python3.6.____cpython.yaml@@ -16,14 +16,16 @@ cxx_compiler:- clangxxcxx_compiler_version:- '9'+gflags:+- '2.2'glog:- 0.4.0grpc_cpp:-- '1.27'+- '1.29'libprotobuf:-- '3.11'+- '3.12'lz4_c:-- 1.8.3+- 1.9.2macos_machine:- x86_64-apple-darwin13.4.0macos_min_version:@@ -33,8 +35,6 @@ pin_run_as_build:max_pin: x.x.xbzip2:max_pin: x- grpc-cpp:- max_pin: x.xlz4-c:max_pin: x.x.xpython:@@ -45,7 +45,9 @@ pin_run_as_build:zstd:max_pin: x.x.xpython:-- '3.7'+- 3.6.* *_cpython+re2:+- 2020.06.01snappy:- '1'zlib:diff --git a/dev/tasks/conda-recipes/.ci_support/osx_python3.8.yaml b/dev/tasks/conda-recipes/.ci_support/osx_python3.7.____cpython.yamlsimilarity index 88%rename from dev/tasks/conda-recipes/.ci_support/osx_python3.8.yamlrename to dev/tasks/conda-recipes/.ci_support/osx_python3.7.____cpython.yamlindex 38640ce8b1..fb186d3489 100644--- a/dev/tasks/conda-recipes/.ci_support/osx_python3.8.yaml+++ b/dev/tasks/conda-recipes/.ci_support/osx_python3.7.____cpython.yaml@@ -16,14 +16,16 @@ cxx_compiler:- clangxxcxx_compiler_version:- '9'+gflags:+- '2.2'glog:- 0.4.0grpc_cpp:-- '1.27'+- '1.29'libprotobuf:-- '3.11'+- '3.12'lz4_c:-- 1.8.3+- 1.9.2macos_machine:- x86_64-apple-darwin13.4.0macos_min_version:@@ -33,8 +35,6 @@ pin_run_as_build:max_pin: x.x.xbzip2:max_pin: x- grpc-cpp:- max_pin: x.xlz4-c:max_pin: x.x.xpython:@@ -45,7 +45,9 @@ pin_run_as_build:zstd:max_pin: x.x.xpython:-- '3.8'+- 3.7.* *_cpython+re2:+- 2020.06.01snappy:- '1'zlib:diff --git a/dev/tasks/conda-recipes/.ci_support/osx_python3.6.yaml b/dev/tasks/conda-recipes/.ci_support/osx_python3.8.____cpython.yamlsimilarity index 88%rename from dev/tasks/conda-recipes/.ci_support/osx_python3.6.yamlrename to dev/tasks/conda-recipes/.ci_support/osx_python3.8.____cpython.yamlindex 4f76116385..f2a00b446c 100644--- a/dev/tasks/conda-recipes/.ci_support/osx_python3.6.yaml+++ b/dev/tasks/conda-recipes/.ci_support/osx_python3.8.____cpython.yaml@@ -16,14 +16,16 @@ cxx_compiler:- clangxxcxx_compiler_version:- '9'+gflags:+- '2.2'glog:- 0.4.0grpc_cpp:-- '1.27'+- '1.29'libprotobuf:-- '3.11'+- '3.12'lz4_c:-- 1.8.3+- 1.9.2macos_machine:- x86_64-apple-darwin13.4.0macos_min_version:@@ -33,8 +35,6 @@ pin_run_as_build:max_pin: x.x.xbzip2:max_pin: x- grpc-cpp:- max_pin: x.xlz4-c:max_pin: x.x.xpython:@@ -45,7 +45,9 @@ pin_run_as_build:zstd:max_pin: x.x.xpython:-- '3.6'+- 3.8.* *_cpython+re2:+- 2020.06.01snappy:- '1'zlib:diff --git a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.7vc14.yaml b/dev/tasks/conda-recipes/.ci_support/win_python3.6.____cpython.yamlsimilarity index 71%rename from dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.7vc14.yamlrename to dev/tasks/conda-recipes/.ci_support/win_python3.6.____cpython.yamlindex fc364f1d18..171f0620c7 100644--- a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.7vc14.yaml+++ b/dev/tasks/conda-recipes/.ci_support/win_python3.6.____cpython.yaml@@ -3,50 +3,43 @@ boost_cpp:bzip2:- '1'c_compiler:-- vs2015+- vs2017channel_sources:- conda-forge,defaultschannel_targets:- conda-forge maincxx_compiler:-- vs2015+- vs2017+gflags:+- '2.2'glog:- 0.4.0grpc_cpp:-- '1.27'+- '1.29'libprotobuf:-- '3.11'+- '3.12'lz4_c:-- 1.8.3+- 1.9.2pin_run_as_build:boost-cpp:max_pin: x.x.xbzip2:max_pin: x- grpc-cpp:- max_pin: x.xlz4-c:max_pin: x.x.xpython:min_pin: x.xmax_pin: x.x- vc:- max_pin: xzlib:max_pin: x.xzstd:max_pin: x.x.xpython:-- '3.7'+- 3.6.* *_cpython+re2:+- 2020.06.01snappy:- '1'-vc:-- '14'-zip_keys:-- - python- - vc- - c_compiler- - cxx_compilerzlib:- '1.2'zstd:diff --git a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.8vc14.yaml b/dev/tasks/conda-recipes/.ci_support/win_python3.7.____cpython.yamlsimilarity index 71%rename from dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.8vc14.yamlrename to dev/tasks/conda-recipes/.ci_support/win_python3.7.____cpython.yamlindex cc8331df16..c1cfdb7b42 100644--- a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.8vc14.yaml+++ b/dev/tasks/conda-recipes/.ci_support/win_python3.7.____cpython.yaml@@ -3,50 +3,43 @@ boost_cpp:bzip2:- '1'c_compiler:-- vs2015+- vs2017channel_sources:- conda-forge,defaultschannel_targets:- conda-forge maincxx_compiler:-- vs2015+- vs2017+gflags:+- '2.2'glog:- 0.4.0grpc_cpp:-- '1.27'+- '1.29'libprotobuf:-- '3.11'+- '3.12'lz4_c:-- 1.8.3+- 1.9.2pin_run_as_build:boost-cpp:max_pin: x.x.xbzip2:max_pin: x- grpc-cpp:- max_pin: x.xlz4-c:max_pin: x.x.xpython:min_pin: x.xmax_pin: x.x- vc:- max_pin: xzlib:max_pin: x.xzstd:max_pin: x.x.xpython:-- '3.8'+- 3.7.* *_cpython+re2:+- 2020.06.01snappy:- '1'-vc:-- '14'-zip_keys:-- - python- - vc- - c_compiler- - cxx_compilerzlib:- '1.2'zstd:diff --git a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.6vc14.yaml b/dev/tasks/conda-recipes/.ci_support/win_python3.8.____cpython.yamlsimilarity index 71%rename from dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.6vc14.yamlrename to dev/tasks/conda-recipes/.ci_support/win_python3.8.____cpython.yamlindex 74259b1152..5894a77693 100644--- a/dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.6vc14.yaml+++ b/dev/tasks/conda-recipes/.ci_support/win_python3.8.____cpython.yaml@@ -3,50 +3,43 @@ boost_cpp:bzip2:- '1'c_compiler:-- vs2015+- vs2017channel_sources:- conda-forge,defaultschannel_targets:- conda-forge maincxx_compiler:-- vs2015+- vs2017+gflags:+- '2.2'glog:- 0.4.0grpc_cpp:-- '1.27'+- '1.29'libprotobuf:-- '3.11'+- '3.12'lz4_c:-- 1.8.3+- 1.9.2pin_run_as_build:boost-cpp:max_pin: x.x.xbzip2:max_pin: x- grpc-cpp:- max_pin: x.xlz4-c:max_pin: x.x.xpython:min_pin: x.xmax_pin: x.x- vc:- max_pin: xzlib:max_pin: x.xzstd:max_pin: x.x.xpython:-- '3.6'+- 3.8.* *_cpython+re2:+- 2020.06.01snappy:- '1'-vc:-- '14'-zip_keys:-- - python- - vc- - c_compiler- - cxx_compilerzlib:- '1.2'zstd:diff --git a/dev/tasks/conda-recipes/README.md b/dev/tasks/conda-recipes/README.mdindex a31dbc2f70..39f82f1b01 100644--- a/dev/tasks/conda-recipes/README.md+++ b/dev/tasks/conda-recipes/README.md@@ -21,8 +21,7 @@This directory must be migrated periodically with the upstrem updates of[arrow-cpp-feedstock][arrow-cpp-feedstock],-[parquet-cpp-feedstock][parquet-cpp-feedstock] and-[pyarrow-feedstock][pyarrow-feedstock]+[parquet-cpp-feedstock][parquet-cpp-feedstock].conda-forge repositories because of multiple vendored files.## Keeping the recipes synchronized@@ -40,11 +39,11 @@ recipes. Most of these updates are touching the version pinning files(under `.ci_support`) and other CI related configuration files.Because all three recipes must be built in the same continuous integration-job prefer porting from the [pyarrow feedstock][pyarrow-feedstock].+job prefer porting from the [arrpw-cpp feedstock][arrow-cpp-feedstock].#### Updating the variants:-Copy the configuration files from `pyarrow-feedstock/.ci_support` to the+Copy the configuration files from `arrow-cpp-feedstock/.ci_support` to the`.ci_support` folder.#### Updating the CI configurations:@@ -65,5 +64,4 @@ copied to the upstream feedstocks.[arrow-cpp-feedstock]: https://github.com/conda-forge/arrow-cpp-feedstock[parquet-cpp-feedstock]: https://github.com/conda-forge/parquet-cpp-feedstock-[pyarrow-cpp-feedstock]: https://github.com/conda-forge/pyarrow-feedstock-[matrix-definition]: https://github.com/conda-forge/pyarrow-feedstock/blob/master/.azure-pipelines/azure-pipelines-linux.yml#L12+[matrix-definition]: https://github.com/conda-forge/arrow-cpp-feedstock/blob/master/.azure-pipelines/azure-pipelines-linux.yml#L12diff --git a/dev/tasks/conda-recipes/arrow-cpp/LLVM_LICENSE.txt b/dev/tasks/conda-recipes/arrow-cpp/LLVM_LICENSE.txtnew file mode 100644index 0000000000..461398bab7--- /dev/null+++ b/dev/tasks/conda-recipes/arrow-cpp/LLVM_LICENSE.txt@@ -0,0 +1,68 @@+==============================================================================+LLVM Release License+==============================================================================+University of Illinois/NCSA+Open Source License++Copyright (c) 2003-2018 University of Illinois at Urbana-Champaign.+All rights reserved.++Developed by:++ LLVM Team++ University of Illinois at Urbana-Champaign++ http://llvm.org++Permission is hereby granted, free of charge, to any person obtaining a copy of+this software and associated documentation files (the "Software"), to deal with+the Software without restriction, including without limitation the rights to+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies+of the Software, and to permit persons to whom the Software is furnished to do+so, subject to the following conditions:++ * Redistributions of source code must retain the above copyright notice,+ this list of conditions and the following disclaimers.++ * Redistributions in binary form must reproduce the above copyright notice,+ this list of conditions and the following disclaimers in the+ documentation and/or other materials provided with the distribution.++ * Neither the names of the LLVM Team, University of Illinois at+ Urbana-Champaign, nor the names of its contributors may be used to+ endorse or promote products derived from this Software without specific+ prior written permission.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE+SOFTWARE.++==============================================================================+Copyrights and Licenses for Third Party Software Distributed with LLVM:+==============================================================================+The LLVM software contains code written by third parties. Such software will+have its own individual LICENSE.TXT file in the directory in which it appears.+This file will describe the copyrights, license, and restrictions which apply+to that code.++The disclaimer of warranty in the University of Illinois Open Source License+applies to all code in the LLVM Distribution, and nothing in any of the+other licenses gives permission to use the names of the LLVM Team or the+University of Illinois to endorse or promote products derived from this+Software.++The following pieces of software have additional or alternate copyrights,+licenses, and/or restrictions:++Program Directory+------- ---------+Google Test llvm/utils/unittest/googletest+OpenBSD regex llvm/lib/Support/{reg*, COPYRIGHT.regex}+pyyaml tests llvm/test/YAMLParser/{*.data, LICENSE.TXT}+ARM contributions llvm/lib/Target/ARM/LICENSE.TXT+md5 contributions llvm/lib/Support/MD5.cpp llvm/include/llvm/Support/MD5.hdiff --git a/dev/tasks/conda-recipes/arrow-cpp/bld.bat b/dev/tasks/conda-recipes/arrow-cpp/bld-arrow.batsimilarity index 90%rename from dev/tasks/conda-recipes/arrow-cpp/bld.batrename to dev/tasks/conda-recipes/arrow-cpp/bld-arrow.batindex 88090871a9..c3d729dd44 100644--- a/dev/tasks/conda-recipes/arrow-cpp/bld.bat+++ b/dev/tasks/conda-recipes/arrow-cpp/bld-arrow.bat@@ -2,35 +2,38 @@ mkdir "%SRC_DIR%"\cpp\buildpushd "%SRC_DIR%"\cpp\buildcmake -G "Ninja" ^+ -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^+ -DARROW_DEPENDENCY_SOURCE=SYSTEM ^+ -DARROW_PACKAGE_PREFIX="%LIBRARY_PREFIX%" ^+ -DLLVM_TOOLS_BINARY_DIR="%LIBRARY_BIN%" ^+ -DPYTHON_EXECUTABLE="%PYTHON%" ^+ -DARROW_WITH_BZ2:BOOL=ON ^+ -DARROW_WITH_ZLIB:BOOL=ON ^+ -DARROW_WITH_ZSTD:BOOL=ON ^+ -DARROW_WITH_LZ4:BOOL=ON ^+ -DARROW_WITH_SNAPPY:BOOL=ON ^+ -DARROW_WITH_BROTLI:BOOL=ON ^-DARROW_BOOST_USE_SHARED:BOOL=ON ^- -DARROW_BUILD_STATIC:BOOL=OFF ^-DARROW_BUILD_TESTS:BOOL=OFF ^-DARROW_BUILD_UTILITIES:BOOL=OFF ^+ -DARROW_BUILD_STATIC:BOOL=OFF ^+ -DCMAKE_BUILD_TYPE=release ^+ -DARROW_SSE42:BOOL=OFF ^+ -DARROW_PYTHON:BOOL=ON ^+ -DARROW_MIMALLOC:BOOL=ON ^-DARROW_DATASET:BOOL=ON ^- -DARROW_DEPENDENCY_SOURCE=SYSTEM ^-DARROW_FLIGHT:BOOL=ON ^- -DARROW_GANDIVA:BOOL=ON ^-DARROW_HDFS:BOOL=ON ^- -DARROW_MIMALLOC:BOOL=ON ^- -DARROW_ORC:BOOL=ON ^- -DARROW_PACKAGE_PREFIX="%LIBRARY_PREFIX%" ^-DARROW_PARQUET:BOOL=ON ^- -DARROW_PYTHON:BOOL=ON ^+ -DARROW_GANDIVA:BOOL=ON ^+ -DARROW_ORC:BOOL=ON ^-DARROW_S3:BOOL=ON ^- -DARROW_SIMD_LEVEL=NONE ^- -DARROW_WITH_BROTLI:BOOL=ON ^- -DARROW_WITH_BZ2:BOOL=ON ^- -DARROW_WITH_LZ4:BOOL=ON ^- -DARROW_WITH_SNAPPY:BOOL=ON ^- -DARROW_WITH_ZLIB:BOOL=ON ^- -DARROW_WITH_ZSTD:BOOL=ON ^-DBoost_NO_BOOST_CMAKE=ON ^- -DCMAKE_BUILD_TYPE=release ^- -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^- -DLLVM_TOOLS_BINARY_DIR="%LIBRARY_BIN%" ^- -DPYTHON_EXECUTABLE="%PYTHON%" ^+ -DCMAKE_UNITY_BUILD=ON ^..+if errorlevel 1 exit 1cmake --build . --target install --config Release+if errorlevel 1 exit 1popddiff --git a/dev/tasks/conda-recipes/pyarrow/bld.bat b/dev/tasks/conda-recipes/arrow-cpp/bld-pyarrow.batsimilarity index 97%rename from dev/tasks/conda-recipes/pyarrow/bld.batrename to dev/tasks/conda-recipes/arrow-cpp/bld-pyarrow.batindex dbea1939eb..8b4f48e64b 100644--- a/dev/tasks/conda-recipes/pyarrow/bld.bat+++ b/dev/tasks/conda-recipes/arrow-cpp/bld-pyarrow.bat@@ -23,7 +23,7 @@ SET PYARROW_WITH_GANDIVA=1SET PYARROW_WITH_PARQUET=1SET PYARROW_CMAKE_GENERATOR=Ninja-"%PYTHON%" setup.py ^+%PYTHON% setup.py ^build_ext ^install --single-version-externally-managed ^--record=record.txtdiff --git a/dev/tasks/conda-recipes/arrow-cpp/build.sh b/dev/tasks/conda-recipes/arrow-cpp/build-arrow.shsimilarity index 51%rename from dev/tasks/conda-recipes/arrow-cpp/build.shrename to dev/tasks/conda-recipes/arrow-cpp/build-arrow.shindex 5e7a117e1a..7be499fb57 100755--- a/dev/tasks/conda-recipes/arrow-cpp/build.sh+++ b/dev/tasks/conda-recipes/arrow-cpp/build-arrow.sh@@ -14,6 +14,26 @@ if [ "$(uname)" == "Linux" ]; thenEXTRA_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 \-DARROW_BOOST_USE_SHARED=ON \-DARROW_BUILD_BENCHMARKS=OFF \@@ -40,15 +60,27 @@ cmake \-DARROW_WITH_SNAPPY=ON \-DARROW_WITH_ZLIB=ON \-DARROW_WITH_ZSTD=ON \+ -DARROW_USE_LD_GOLD=ON \-DCMAKE_AR=${AR} \-DCMAKE_BUILD_TYPE=release \- -DCMAKE_INSTALL_LIBDIR=$PREFIX/lib \+ -DCMAKE_INSTALL_LIBDIR=lib \-DCMAKE_INSTALL_PREFIX=$PREFIX \-DCMAKE_RANLIB=${RANLIB} \-DLLVM_TOOLS_BINARY_DIR=$PREFIX/bin \-GNinja \${EXTRA_CMAKE_ARGS} \..-ninja install++# Decrease parallelism a bit as we will otherwise get out-of-memory problems+# This is only necessary on Travis+if [ "${TRAVIS}" = "true" ]; then+# if [ "$(uname -m)" = "ppc64le" ]; then+ echo "Using $(grep -c ^processor /proc/cpuinfo) CPUs"+ CPU_COUNT=$(grep -c ^processor /proc/cpuinfo)+ CPU_COUNT=$((CPU_COUNT / 4))+ ninja install -j${CPU_COUNT}+else+ ninja install+fipopddiff --git a/dev/tasks/conda-recipes/pyarrow/build.sh b/dev/tasks/conda-recipes/arrow-cpp/build-pyarrow.shold mode 100644new mode 100755similarity index 57%rename from dev/tasks/conda-recipes/pyarrow/build.shrename to dev/tasks/conda-recipes/arrow-cpp/build-pyarrow.shindex a095dc21ba..337fa91824--- a/dev/tasks/conda-recipes/pyarrow/build.sh+++ b/dev/tasks/conda-recipes/arrow-cpp/build-pyarrow.sh@@ -16,6 +16,21 @@ export PYARROW_WITH_ORC=1export PYARROW_WITH_PARQUET=1export PYARROW_WITH_PLASMA=1export PYARROW_WITH_S3=1+BUILD_EXT_FLAGS=""++# Enable CUDA support+if [[ ! -z "${cuda_compiler_version+x}" && "${cuda_compiler_version}" != "None" ]]+then+ export PYARROW_WITH_CUDA=1+else+ export PYARROW_WITH_CUDA=0+fi++# Resolve: Make Error at cmake_modules/SetupCxxFlags.cmake:338 (message): Unsupported arch flag: -march=.+if [[ "$(uname -m)" = "aarch64" ]]+then+ export PYARROW_CMAKE_OPTIONS="-DARROW_ARMV8_ARCH=armv8-a"+ficd pythondiff --git a/dev/tasks/conda-recipes/arrow-cpp/meta.yaml b/dev/tasks/conda-recipes/arrow-cpp/meta.yamlindex 3a63c219e6..c9b1a210fa 100644--- a/dev/tasks/conda-recipes/arrow-cpp/meta.yaml+++ b/dev/tasks/conda-recipes/arrow-cpp/meta.yaml@@ -1,124 +1,237 @@+{% set version = ARROW_VERSION %}+{% set number = "6" %}+{% 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" %}+{% set build_string = "py{}h{}_{}_{}".format(CONDA_PY, PKG_HASH, number, build_ext) %}+{% set proc_build_number = "1" %}+package:- name: arrow-cpp- version: {{ ARROW_VERSION }}+ name: arrow-cpp-ext+ version: {{ version }}source:path: ../../../../build:- build:- number: 0- skip: true # [win and vc<14]+ number: {{ number }}+ skip: true # [cuda_compiler_version not in (undefined, "None", "9.2")]run_exports:- - {{ pin_subpackage("arrow-cpp", max_pin="x.x") }}+ - {{ pin_subpackage("arrow-cpp", max_pin="x.x.x") }}++outputs:+ - name: arrow-cpp-proc+ version: {{ build_ext_version }}+ build:+ number: {{ proc_build_number }}+ 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'++ - name: arrow-cpp+ script: build-arrow.sh # [not win]+ script: bld-arrow.bat # [win]+ version: {{ version }}+ build:+ number: {{ number }}+ string: "{{ build_string }}"+ skip: true # [cuda_compiler_version not in (undefined, "None", "9.2")]+ run_exports:+ - {{ pin_subpackage("arrow-cpp", max_pin="x.x.x") }}+ ignore_run_exports:+ - cudatoolkit+ track_features:+ {{ "- arrow-cuda" if cuda_enabled else "" }}+ requirements:+ build:+ - cmake 3.16.*+ - autoconf # [unix]+ - ninja+ - make # [unix]+ - {{ compiler('c') }}+ - {{ compiler('cxx') }}+ - {{ compiler("cuda") }} # [cuda_compiler_version not in (undefined, "None")]+ host:+ - aws-sdk-cpp+ - boost-cpp+ - brotli+ - bzip2+ - c-ares+ - gflags+ - glog+ - grpc-cpp+ - libprotobuf+ - clangdev 10.* # [not win]+ - llvmdev 10.* # [not win]+ # llvmdev 9.* or later require Visual Studio 2017+ - clangdev 8.* # [win]+ - llvmdev 8.* # [win]+ - 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+ - zlib+ - zstd+ run_constrained:+ - arrow-cpp-proc * {{ build_ext }}+ - cudatoolkit >=9.2 # [cuda_compiler_version not in (undefined, "None")]++ about:+ home: http://github.com/apache/arrow+ license: Apache-2.0+ license_file:+ - LICENSE.txt+ summary: C++ libraries for Apache Arrow-requirements:- build:- - cmake 3.16.*- - autoconf # [unix]- - ninja- - {{ compiler('c') }}- - {{ compiler('cxx') }}- host:- - aws-sdk-cpp- - boost-cpp- - brotli- - bzip2- - c-ares- - gflags- - glog- - grpc-cpp- - libprotobuf- - clangdev 10.* # [not win]- - llvmdev 10.* # [not win]- # llvmdev 9.* or later require Visual Studio 2017- - clangdev 8.* # [win]- - llvmdev 8.* # [win]- - lz4-c- - numpy 1.16.*- - orc # [unix]- - python- - rapidjson- - re2- - snappy- - thrift-cpp >=0.11- - zlib- - zstd+ 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]- 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+ # 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]-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]- - 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]+ # 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]- # 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]- - 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]+ - name: pyarrow+ script: build-pyarrow.sh # [not win]+ script: bld-pyarrow.bat # [win]+ version: {{ version }}+ build:+ number: {{ number }}+ string: "{{ build_string }}"+ 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 3.16.*+ - ninja+ - make # [unix]+ - {{ compiler('c') }}+ - {{ compiler('cxx') }}+ # pyarrow does not require nvcc but it needs to link against libraries in arrow-cpp=*=*cuda+ - {{ compiler("cuda") }} # [cuda_compiler_version not in (undefined, "None")]+ host:+ - {{ pin_subpackage('arrow-cpp', exact=True) }}+ - boost-cpp+ - cython+ - numpy 1.16.*+ - python+ - setuptools+ - setuptools_scm+ - six+ run:+ - {{ pin_subpackage('arrow-cpp', exact=True) }}+ - {{ pin_compatible('numpy', lower_bound='1.16') }}+ - boost-cpp+ - glog+ - pandas+ # empty parquet-cpp metapackage, force old versions to be uninstalled+ - parquet-cpp 1.5.1.*+ - python+ - six+ run_constrained:+ - arrow-cpp-proc * {{ build_ext }}+ - cudatoolkit >=9.2 # [cuda_compiler_version not in (undefined, "None")]- # 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]+ about:+ home: http://github.com/apache/arrow+ license: Apache-2.0+ license_file:+ - LICENSE.txt+ summary: Python libraries for Apache Arrow- # conda tools- - conda inspect linkages -p $PREFIX $PKG_NAME # [not win]- - conda inspect objects -p $PREFIX $PKG_NAME # [osx]+ test:+ imports:+ - pyarrow+ - pyarrow.dataset+ - pyarrow.flight+ - pyarrow.gandiva+ - pyarrow.orc # [unix]+ - pyarrow.parquet+ - pyarrow.plasma # [unix]+ - pyarrow.fs+ - pyarrow._s3fs+ - pyarrow._hdfs+ # We can only test importing cuda package but cannot run when a+ # CUDA device is not available, for instance, when building from CI.+ - pyarrow.cuda # [cuda_compiler_version not in (undefined, "None")]about:home: http://github.com/apache/arrow- license: Apache 2.0+ license: Apache-2.0license_file:- LICENSE.txt- summary: 'C++ libraries for Apache Arrow'+ summary: C++ and Python libraries for Apache Arrowextra:recipe-maintainers:@@ -133,3 +246,6 @@ extra:- kou- kszucs- pitrou+ - pearu+ - nealrichardson+ - jakirkhamdiff --git a/dev/tasks/conda-recipes/azure.linux.yml b/dev/tasks/conda-recipes/azure.linux.ymlindex fc64e51545..05bee14424 100755--- a/dev/tasks/conda-recipes/azure.linux.yml+++ b/dev/tasks/conda-recipes/azure.linux.yml@@ -7,7 +7,6 @@ jobs:variables:CONFIG: {{ config }}ARROW_VERSION: {{ arrow.no_rc_version }}- DOCKER_IMAGE: condaforge/linux-anvil-comp7UPLOAD_PACKAGES: Falsesteps:@@ -26,11 +25,6 @@ jobs:git -C arrow submodule update --init --recursivedisplayName: Clone arrow- - script: |- mkdir build_artifacts- CI=azure arrow/dev/tasks/conda-recipes/run_docker_build.sh $(pwd)/build_artifacts- displayName: Run docker build-# Using github release tries to find a common ancestor between the# currently pushed tag and the latest tag of the github repository# (don't know why).@@ -38,10 +32,15 @@ jobs:# alternative upload script.- task: CondaEnvironment@1inputs:- packageSpecs: 'click github3.py jinja2 jira pygit2 ruamel.yaml setuptools_scm toolz anaconda-client'+ packageSpecs: 'click github3.py jinja2 jira pygit2 ruamel.yaml setuptools_scm toolz anaconda-client shyaml'installOptions: '-c conda-forge'updateConda: false+ - script: |+ mkdir build_artifacts+ CI=azure arrow/dev/tasks/conda-recipes/run_docker_build.sh $(pwd)/build_artifacts+ displayName: Run docker build+# Upload to github releases- script: |python arrow/dev/tasks/crossbow.py \diff --git a/dev/tasks/conda-recipes/azure.osx.yml b/dev/tasks/conda-recipes/azure.osx.ymlindex 0e2487d98d..feeabc14f1 100755--- a/dev/tasks/conda-recipes/azure.osx.yml+++ b/dev/tasks/conda-recipes/azure.osx.yml@@ -61,7 +61,7 @@ jobs:- script: |source activate base- conda build arrow-cpp parquet-cpp pyarrow \+ conda build arrow-cpp parquet-cpp \-m ./.ci_support/${CONFIG}.yaml \--clobber-file ./.ci_support/clobber_${CONFIG}.yaml \--output-folder ./build_artifactsdiff --git a/dev/tasks/conda-recipes/azure.win.yml b/dev/tasks/conda-recipes/azure.win.ymlindex d13bef48f1..727f7f79eb 100755--- a/dev/tasks/conda-recipes/azure.win.yml+++ b/dev/tasks/conda-recipes/azure.win.yml@@ -63,17 +63,8 @@ jobs:continueOnError: truedisplayName: remove strawberryperl- # Special cased version setting some more things!- script: |- conda.exe build arrow-cpp parquet-cpp pyarrow -m .ci_support\%CONFIG%.yaml- displayName: Build recipe (vs2008)- env:- VS90COMNTOOLS: "C:\\Program Files (x86)\\Common Files\\Microsoft\\Visual C++ for Python\\9.0\\VC\\bin"- PYTHONUNBUFFERED: 1- condition: contains(variables['CONFIG'], 'vs2008')-- - script: |- conda.exe build arrow-cpp parquet-cpp pyarrow -m .ci_support\%CONFIG%.yaml+ conda.exe build arrow-cpp parquet-cpp -m .ci_support\%CONFIG%.yamldisplayName: Build recipeworkingDirectory: arrow\dev\tasks\conda-recipesenv:diff --git a/dev/tasks/conda-recipes/build_steps.sh b/dev/tasks/conda-recipes/build_steps.shindex 5a76b0263a..a18f97290b 100755--- a/dev/tasks/conda-recipes/build_steps.sh+++ b/dev/tasks/conda-recipes/build_steps.sh@@ -21,7 +21,7 @@ conda-build:CONDARC-conda install --yes --quiet conda-forge-ci-setup=2 conda-build -c conda-forge+conda install --yes --quiet conda-forge-ci-setup=3 conda-build pip -c conda-forge# set up the condarcsetup_conda_rc "${FEEDSTOCK_ROOT}" "${FEEDSTOCK_ROOT}" "${CONFIG_FILE}"@@ -36,7 +36,6 @@ export CONDA_BLD_PATH="${output_dir}"conda build \"${FEEDSTOCK_ROOT}/arrow-cpp" \"${FEEDSTOCK_ROOT}/parquet-cpp" \- "${FEEDSTOCK_ROOT}/pyarrow" \-m "${CI_SUPPORT}/${CONFIG}.yaml" \--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \--output-folder "${output_dir}"diff --git a/dev/tasks/conda-recipes/pyarrow/meta.yaml b/dev/tasks/conda-recipes/pyarrow/meta.yamldeleted file mode 100644index 15104ed3b4..0000000000--- a/dev/tasks/conda-recipes/pyarrow/meta.yaml+++ /dev/null@@ -1,79 +0,0 @@-package:- name: pyarrow- version: {{ ARROW_VERSION }}--source:- path: ../../../../--build:- number: 0- skip: true # [win32]- skip: true # [win and py<35]--requirements:- build:- - cmake 3.16.*- - ninja- - {{ compiler('c') }}- - {{ compiler('cxx') }}- host:- # directly pin boost-cpp as we also seem to directly include boost symbols- # in the Python modules.- - arrow-cpp {{ ARROW_VERSION }}- - boost-cpp- - cython- - numpy 1.16.*- - python- - setuptools- - setuptools_scm-- run:- - {{ pin_compatible('numpy', lower_bound='1.16') }}- - boost-cpp- - futures # [py==27]- - glog- - pandas- # empty parquet-cpp metapackage, force old versions to be uninstalled- - parquet-cpp 1.5.1.*- - python- - snappy--test:- imports:- - pyarrow- - pyarrow.dataset # [not py==27]- - pyarrow.flight # [not py==27]- - pyarrow.gandiva # [not py==27]- - pyarrow.orc # [unix]- - pyarrow.parquet- - pyarrow.plasma # [unix]- - pyarrow.fs- - pyarrow._s3fs- - pyarrow._hdfs-- requires:- - pytest- - pytest-lazy-fixture- - hypothesis-- commands:- - pytest -m "not requires_testing_data" --pyargs pyarrow--about:- home: http://github.com/apache/arrow- license: Apache 2.0- license_file: LICENSE.txt- summary: 'Python libraries for Apache Arrow'--extra:- recipe-maintainers:- - wesm- - xhochy- - jreback- - cpcloud- - pcmoritz- - robertnishihara- - siddharthteotia- - kou- - kszucs- - pitroudiff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.ymlindex 7a47673844..e8de06415c 100644--- a/dev/tasks/tasks.yml+++ b/dev/tasks/tasks.yml@@ -126,32 +126,59 @@ tasks:ci: azuretemplate: conda-recipes/azure.clean.yml- conda-linux-gcc-py36:+ conda-linux-gcc-py36-cpu:ci: azuretemplate: conda-recipes/azure.linux.ymlparams:- config: linux_python3.6+ config: linux_cuda_compiler_versionNonepython3.6.____cpythonartifacts:- - arrow-cpp-{no_rc_version}-py36(h[a-z0-9]+)_0.tar.bz2- - pyarrow-{no_rc_version}-py36(h[a-z0-9]+)_0.tar.bz2+ - arrow-cpp-{no_rc_version}-py36(h[a-z0-9]+)_0_cpu.tar.bz2+ - pyarrow-{no_rc_version}-py36(h[a-z0-9]+)_0_cpu.tar.bz2- conda-linux-gcc-py37:+ conda-linux-gcc-py37-cpu:ci: azuretemplate: conda-recipes/azure.linux.ymlparams:- config: linux_python3.7+ config: linux_cuda_compiler_versionNonepython3.7.____cpythonartifacts:- - arrow-cpp-{no_rc_version}-py37(h[a-z0-9]+)_0.tar.bz2- - pyarrow-{no_rc_version}-py37(h[a-z0-9]+)_0.tar.bz2+ - arrow-cpp-{no_rc_version}-py37(h[a-z0-9]+)_0_cpu.tar.bz2+ - pyarrow-{no_rc_version}-py37(h[a-z0-9]+)_0_cpu.tar.bz2- conda-linux-gcc-py38:+ conda-linux-gcc-py38-cpu:ci: azuretemplate: conda-recipes/azure.linux.ymlparams:- config: linux_python3.8+ config: linux_cuda_compiler_versionNonepython3.8.____cpythonartifacts:- - arrow-cpp-{no_rc_version}-py38(h[a-z0-9]+)_0.tar.bz2- - pyarrow-{no_rc_version}-py38(h[a-z0-9]+)_0.tar.bz2+ - arrow-cpp-{no_rc_version}-py38(h[a-z0-9]+)_0_cpu.tar.bz2+ - pyarrow-{no_rc_version}-py38(h[a-z0-9]+)_0_cpu.tar.bz2++ conda-linux-gcc-py36-cuda:+ ci: azure+ template: conda-recipes/azure.linux.yml+ params:+ config: linux_cuda_compiler_version9.2python3.6.____cpython+ artifacts:+ - arrow-cpp-{no_rc_version}-py36(h[a-z0-9]+)_0_cuda.tar.bz2+ - pyarrow-{no_rc_version}-py36(h[a-z0-9]+)_0_cuda.tar.bz2++ conda-linux-gcc-py37-cuda:+ ci: azure+ template: conda-recipes/azure.linux.yml+ params:+ config: linux_cuda_compiler_version9.2python3.7.____cpython+ artifacts:+ - arrow-cpp-{no_rc_version}-py37(h[a-z0-9]+)_0_cuda.tar.bz2+ - pyarrow-{no_rc_version}-py37(h[a-z0-9]+)_0_cuda.tar.bz2++ conda-linux-gcc-py38-cuda:+ ci: azure+ template: conda-recipes/azure.linux.yml+ params:+ config: linux_cuda_compiler_version9.2python3.8.____cpython+ artifacts:+ - arrow-cpp-{no_rc_version}-py38(h[a-z0-9]+)_0_cuda.tar.bz2+ - pyarrow-{no_rc_version}-py38(h[a-z0-9]+)_0_cuda.tar.bz2############################## Conda OSX ####################################@@ -159,28 +186,28 @@ tasks:ci: azuretemplate: conda-recipes/azure.osx.ymlparams:- config: osx_python3.6+ config: osx_python3.6.____cpythonartifacts:- - arrow-cpp-{no_rc_version}-py36(h[a-z0-9]+)_0.tar.bz2- - pyarrow-{no_rc_version}-py36(h[a-z0-9]+)_0.tar.bz2+ - arrow-cpp-{no_rc_version}-py36(h[a-z0-9]+)_0_cpu.tar.bz2+ - pyarrow-{no_rc_version}-py36(h[a-z0-9]+)_0_cpu.tar.bz2conda-osx-clang-py37:ci: azuretemplate: conda-recipes/azure.osx.ymlparams:- config: osx_python3.7+ config: osx_python3.7.____cpythonartifacts:- - arrow-cpp-{no_rc_version}-py37(h[a-z0-9]+)_0.tar.bz2- - pyarrow-{no_rc_version}-py37(h[a-z0-9]+)_0.tar.bz2+ - arrow-cpp-{no_rc_version}-py37(h[a-z0-9]+)_0_cpu.tar.bz2+ - pyarrow-{no_rc_version}-py37(h[a-z0-9]+)_0_cpu.tar.bz2conda-osx-clang-py38:ci: azuretemplate: conda-recipes/azure.osx.ymlparams:- config: osx_python3.8+ config: osx_python3.8.____cpythonartifacts:- - arrow-cpp-{no_rc_version}-py38(h[a-z0-9]+)_0.tar.bz2- - pyarrow-{no_rc_version}-py38(h[a-z0-9]+)_0.tar.bz2+ - arrow-cpp-{no_rc_version}-py38(h[a-z0-9]+)_0_cpu.tar.bz2+ - pyarrow-{no_rc_version}-py38(h[a-z0-9]+)_0_cpu.tar.bz2############################## Conda Windows ################################@@ -188,28 +215,28 @@ tasks:ci: azuretemplate: conda-recipes/azure.win.ymlparams:- config: win_c_compilervs2015cxx_compilervs2015python3.6vc14+ config: win_python3.6.____cpythonartifacts:- - arrow-cpp-{no_rc_version}-py36(h[a-z0-9]+)_0.tar.bz2- - pyarrow-{no_rc_version}-py36(h[a-z0-9]+)_0.tar.bz2+ - arrow-cpp-{no_rc_version}-py36(h[a-z0-9]+)_0_cpu.tar.bz2+ - pyarrow-{no_rc_version}-py36(h[a-z0-9]+)_0_cpu.tar.bz2conda-win-vs2015-py37:ci: azuretemplate: conda-recipes/azure.win.ymlparams:- config: win_c_compilervs2015cxx_compilervs2015python3.7vc14+ config: win_python3.7.____cpythonartifacts:- - arrow-cpp-{no_rc_version}-py37(h[a-z0-9]+)_0.tar.bz2- - pyarrow-{no_rc_version}-py37(h[a-z0-9]+)_0.tar.bz2+ - arrow-cpp-{no_rc_version}-py37(h[a-z0-9]+)_0_cpu.tar.bz2+ - pyarrow-{no_rc_version}-py37(h[a-z0-9]+)_0_cpu.tar.bz2conda-win-vs2015-py38:ci: azuretemplate: conda-recipes/azure.win.ymlparams:- config: win_c_compilervs2015cxx_compilervs2015python3.8vc14+ config: win_python3.8.____cpythonartifacts:- - arrow-cpp-{no_rc_version}-py38(h[a-z0-9]+)_0.tar.bz2- - pyarrow-{no_rc_version}-py38(h[a-z0-9]+)_0.tar.bz2+ - arrow-cpp-{no_rc_version}-py38(h[a-z0-9]+)_0_cpu.tar.bz2+ - pyarrow-{no_rc_version}-py38(h[a-z0-9]+)_0_cpu.tar.bz2############################## Wheel Linux ##################################