Skip to content

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.yaml
new file mode 100644
index 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.4
diff --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.yaml
new file mode 100644
index 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.4
diff --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.yaml
new file mode 100644
index 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.4
diff --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.yaml
new file mode 100644
index 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.4
diff --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.yaml
new file mode 100644
index 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.4
diff --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.yaml
new file mode 100644
index 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.4
diff --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.yaml
similarity index 74%
rename from dev/tasks/conda-recipes/.ci_support/linux_python3.6.yaml
rename to dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.6.____cpython.yaml
index 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,defaults
channel_targets:
- conda-forge main
+cuda_compiler:
+- nvcc
+cuda_compiler_version:
+- None
cxx_compiler:
- gxx
cxx_compiler_version:
- '7'
docker_image:
- condaforge/linux-anvil-comp7
+gflags:
+- '2.2'
glog:
- 0.4.0
grpc_cpp:
-- '1.27'
+- '1.29'
libprotobuf:
-- '3.11'
+- '3.12'
lz4_c:
-- 1.8.3
+- 1.9.2
pin_run_as_build:
boost-cpp:
max_pin: x.x.x
bzip2:
max_pin: x
- grpc-cpp:
- max_pin: x.x
lz4-c:
max_pin: x.x.x
python:
@@ -41,9 +45,14 @@ pin_run_as_build:
zstd:
max_pin: x.x.x
python:
-- '3.6'
+- 3.6.* *_cpython
+re2:
+- 2020.06.01
snappy:
- '1'
+zip_keys:
+- - cuda_compiler_version
+ - docker_image
zlib:
- '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.yaml
similarity index 74%
rename from dev/tasks/conda-recipes/.ci_support/linux_python3.7.yaml
rename to dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.7.____cpython.yaml
index 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,defaults
channel_targets:
- conda-forge main
+cuda_compiler:
+- nvcc
+cuda_compiler_version:
+- None
cxx_compiler:
- gxx
cxx_compiler_version:
- '7'
docker_image:
- condaforge/linux-anvil-comp7
+gflags:
+- '2.2'
glog:
- 0.4.0
grpc_cpp:
-- '1.27'
+- '1.29'
libprotobuf:
-- '3.11'
+- '3.12'
lz4_c:
-- 1.8.3
+- 1.9.2
pin_run_as_build:
boost-cpp:
max_pin: x.x.x
bzip2:
max_pin: x
- grpc-cpp:
- max_pin: x.x
lz4-c:
max_pin: x.x.x
python:
@@ -41,9 +45,14 @@ pin_run_as_build:
zstd:
max_pin: x.x.x
python:
-- '3.7'
+- 3.7.* *_cpython
+re2:
+- 2020.06.01
snappy:
- '1'
+zip_keys:
+- - cuda_compiler_version
+ - docker_image
zlib:
- '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.yaml
similarity index 74%
rename from dev/tasks/conda-recipes/.ci_support/linux_python3.8.yaml
rename to dev/tasks/conda-recipes/.ci_support/linux_cuda_compiler_versionNonepython3.8.____cpython.yaml
index 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,defaults
channel_targets:
- conda-forge main
+cuda_compiler:
+- nvcc
+cuda_compiler_version:
+- None
cxx_compiler:
- gxx
cxx_compiler_version:
- '7'
docker_image:
- condaforge/linux-anvil-comp7
+gflags:
+- '2.2'
glog:
- 0.4.0
grpc_cpp:
-- '1.27'
+- '1.29'
libprotobuf:
-- '3.11'
+- '3.12'
lz4_c:
-- 1.8.3
+- 1.9.2
pin_run_as_build:
boost-cpp:
max_pin: x.x.x
bzip2:
max_pin: x
- grpc-cpp:
- max_pin: x.x
lz4-c:
max_pin: x.x.x
python:
@@ -41,9 +45,14 @@ pin_run_as_build:
zstd:
max_pin: x.x.x
python:
-- '3.8'
+- 3.8.* *_cpython
+re2:
+- 2020.06.01
snappy:
- '1'
+zip_keys:
+- - cuda_compiler_version
+ - docker_image
zlib:
- '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.yaml
similarity index 88%
rename from dev/tasks/conda-recipes/.ci_support/osx_python3.7.yaml
rename to dev/tasks/conda-recipes/.ci_support/osx_python3.6.____cpython.yaml
index 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:
- clangxx
cxx_compiler_version:
- '9'
+gflags:
+- '2.2'
glog:
- 0.4.0
grpc_cpp:
-- '1.27'
+- '1.29'
libprotobuf:
-- '3.11'
+- '3.12'
lz4_c:
-- 1.8.3
+- 1.9.2
macos_machine:
- x86_64-apple-darwin13.4.0
macos_min_version:
@@ -33,8 +35,6 @@ pin_run_as_build:
max_pin: x.x.x
bzip2:
max_pin: x
- grpc-cpp:
- max_pin: x.x
lz4-c:
max_pin: x.x.x
python:
@@ -45,7 +45,9 @@ pin_run_as_build:
zstd:
max_pin: x.x.x
python:
-- '3.7'
+- 3.6.* *_cpython
+re2:
+- 2020.06.01
snappy:
- '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.yaml
similarity index 88%
rename from dev/tasks/conda-recipes/.ci_support/osx_python3.8.yaml
rename to dev/tasks/conda-recipes/.ci_support/osx_python3.7.____cpython.yaml
index 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:
- clangxx
cxx_compiler_version:
- '9'
+gflags:
+- '2.2'
glog:
- 0.4.0
grpc_cpp:
-- '1.27'
+- '1.29'
libprotobuf:
-- '3.11'
+- '3.12'
lz4_c:
-- 1.8.3
+- 1.9.2
macos_machine:
- x86_64-apple-darwin13.4.0
macos_min_version:
@@ -33,8 +35,6 @@ pin_run_as_build:
max_pin: x.x.x
bzip2:
max_pin: x
- grpc-cpp:
- max_pin: x.x
lz4-c:
max_pin: x.x.x
python:
@@ -45,7 +45,9 @@ pin_run_as_build:
zstd:
max_pin: x.x.x
python:
-- '3.8'
+- 3.7.* *_cpython
+re2:
+- 2020.06.01
snappy:
- '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.yaml
similarity index 88%
rename from dev/tasks/conda-recipes/.ci_support/osx_python3.6.yaml
rename to dev/tasks/conda-recipes/.ci_support/osx_python3.8.____cpython.yaml
index 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:
- clangxx
cxx_compiler_version:
- '9'
+gflags:
+- '2.2'
glog:
- 0.4.0
grpc_cpp:
-- '1.27'
+- '1.29'
libprotobuf:
-- '3.11'
+- '3.12'
lz4_c:
-- 1.8.3
+- 1.9.2
macos_machine:
- x86_64-apple-darwin13.4.0
macos_min_version:
@@ -33,8 +35,6 @@ pin_run_as_build:
max_pin: x.x.x
bzip2:
max_pin: x
- grpc-cpp:
- max_pin: x.x
lz4-c:
max_pin: x.x.x
python:
@@ -45,7 +45,9 @@ pin_run_as_build:
zstd:
max_pin: x.x.x
python:
-- '3.6'
+- 3.8.* *_cpython
+re2:
+- 2020.06.01
snappy:
- '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.yaml
similarity index 71%
rename from dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.7vc14.yaml
rename to dev/tasks/conda-recipes/.ci_support/win_python3.6.____cpython.yaml
index 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
+- vs2017
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
cxx_compiler:
-- vs2015
+- vs2017
+gflags:
+- '2.2'
glog:
- 0.4.0
grpc_cpp:
-- '1.27'
+- '1.29'
libprotobuf:
-- '3.11'
+- '3.12'
lz4_c:
-- 1.8.3
+- 1.9.2
pin_run_as_build:
boost-cpp:
max_pin: x.x.x
bzip2:
max_pin: x
- grpc-cpp:
- max_pin: x.x
lz4-c:
max_pin: x.x.x
python:
min_pin: x.x
max_pin: x.x
- vc:
- max_pin: x
zlib:
max_pin: x.x
zstd:
max_pin: x.x.x
python:
-- '3.7'
+- 3.6.* *_cpython
+re2:
+- 2020.06.01
snappy:
- '1'
-vc:
-- '14'
-zip_keys:
-- - python
- - vc
- - c_compiler
- - cxx_compiler
zlib:
- '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.yaml
similarity index 71%
rename from dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.8vc14.yaml
rename to dev/tasks/conda-recipes/.ci_support/win_python3.7.____cpython.yaml
index 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
+- vs2017
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
cxx_compiler:
-- vs2015
+- vs2017
+gflags:
+- '2.2'
glog:
- 0.4.0
grpc_cpp:
-- '1.27'
+- '1.29'
libprotobuf:
-- '3.11'
+- '3.12'
lz4_c:
-- 1.8.3
+- 1.9.2
pin_run_as_build:
boost-cpp:
max_pin: x.x.x
bzip2:
max_pin: x
- grpc-cpp:
- max_pin: x.x
lz4-c:
max_pin: x.x.x
python:
min_pin: x.x
max_pin: x.x
- vc:
- max_pin: x
zlib:
max_pin: x.x
zstd:
max_pin: x.x.x
python:
-- '3.8'
+- 3.7.* *_cpython
+re2:
+- 2020.06.01
snappy:
- '1'
-vc:
-- '14'
-zip_keys:
-- - python
- - vc
- - c_compiler
- - cxx_compiler
zlib:
- '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.yaml
similarity index 71%
rename from dev/tasks/conda-recipes/.ci_support/win_c_compilervs2015cxx_compilervs2015python3.6vc14.yaml
rename to dev/tasks/conda-recipes/.ci_support/win_python3.8.____cpython.yaml
index 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
+- vs2017
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
cxx_compiler:
-- vs2015
+- vs2017
+gflags:
+- '2.2'
glog:
- 0.4.0
grpc_cpp:
-- '1.27'
+- '1.29'
libprotobuf:
-- '3.11'
+- '3.12'
lz4_c:
-- 1.8.3
+- 1.9.2
pin_run_as_build:
boost-cpp:
max_pin: x.x.x
bzip2:
max_pin: x
- grpc-cpp:
- max_pin: x.x
lz4-c:
max_pin: x.x.x
python:
min_pin: x.x
max_pin: x.x
- vc:
- max_pin: x
zlib:
max_pin: x.x
zstd:
max_pin: x.x.x
python:
-- '3.6'
+- 3.8.* *_cpython
+re2:
+- 2020.06.01
snappy:
- '1'
-vc:
-- '14'
-zip_keys:
-- - python
- - vc
- - c_compiler
- - cxx_compiler
zlib:
- '1.2'
zstd:
diff --git a/dev/tasks/conda-recipes/README.md b/dev/tasks/conda-recipes/README.md
index 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#L12
diff --git a/dev/tasks/conda-recipes/arrow-cpp/LLVM_LICENSE.txt b/dev/tasks/conda-recipes/arrow-cpp/LLVM_LICENSE.txt
new file mode 100644
index 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.h
diff --git a/dev/tasks/conda-recipes/arrow-cpp/bld.bat b/dev/tasks/conda-recipes/arrow-cpp/bld-arrow.bat
similarity index 90%
rename from dev/tasks/conda-recipes/arrow-cpp/bld.bat
rename to dev/tasks/conda-recipes/arrow-cpp/bld-arrow.bat
index 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\build
pushd "%SRC_DIR%"\cpp\build
cmake -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 1
cmake --build . --target install --config Release
+if errorlevel 1 exit 1
popd
diff --git a/dev/tasks/conda-recipes/pyarrow/bld.bat b/dev/tasks/conda-recipes/arrow-cpp/bld-pyarrow.bat
similarity index 97%
rename from dev/tasks/conda-recipes/pyarrow/bld.bat
rename to dev/tasks/conda-recipes/arrow-cpp/bld-pyarrow.bat
index 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=1
SET PYARROW_WITH_PARQUET=1
SET PYARROW_CMAKE_GENERATOR=Ninja
-"%PYTHON%" setup.py ^
+%PYTHON% setup.py ^
build_ext ^
install --single-version-externally-managed ^
--record=record.txt
diff --git a/dev/tasks/conda-recipes/arrow-cpp/build.sh b/dev/tasks/conda-recipes/arrow-cpp/build-arrow.sh
similarity index 51%
rename from dev/tasks/conda-recipes/arrow-cpp/build.sh
rename to dev/tasks/conda-recipes/arrow-cpp/build-arrow.sh
index 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" ]; then
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 \
-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
+fi
popd
diff --git a/dev/tasks/conda-recipes/pyarrow/build.sh b/dev/tasks/conda-recipes/arrow-cpp/build-pyarrow.sh
old mode 100644
new mode 100755
similarity index 57%
rename from dev/tasks/conda-recipes/pyarrow/build.sh
rename to dev/tasks/conda-recipes/arrow-cpp/build-pyarrow.sh
index 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=1
export PYARROW_WITH_PARQUET=1
export PYARROW_WITH_PLASMA=1
export 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"
+fi
cd python
diff --git a/dev/tasks/conda-recipes/arrow-cpp/meta.yaml b/dev/tasks/conda-recipes/arrow-cpp/meta.yaml
index 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.0
license_file:
- LICENSE.txt
- summary: 'C++ libraries for Apache Arrow'
+ summary: C++ and Python libraries for Apache Arrow
extra:
recipe-maintainers:
@@ -133,3 +246,6 @@ extra:
- kou
- kszucs
- pitrou
+ - pearu
+ - nealrichardson
+ - jakirkham
diff --git a/dev/tasks/conda-recipes/azure.linux.yml b/dev/tasks/conda-recipes/azure.linux.yml
index 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-comp7
UPLOAD_PACKAGES: False
steps:
@@ -26,11 +25,6 @@ jobs:
git -C arrow submodule update --init --recursive
displayName: 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@1
inputs:
- 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.yml
index 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_artifacts
diff --git a/dev/tasks/conda-recipes/azure.win.yml b/dev/tasks/conda-recipes/azure.win.yml
index 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: true
displayName: 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%.yaml
displayName: Build recipe
workingDirectory: arrow\dev\tasks\conda-recipes
env:
diff --git a/dev/tasks/conda-recipes/build_steps.sh b/dev/tasks/conda-recipes/build_steps.sh
index 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 condarc
setup_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.yaml
deleted file mode 100644
index 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
- - pitrou
diff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.yml
index 7a47673844..e8de06415c 100644
--- a/dev/tasks/tasks.yml
+++ b/dev/tasks/tasks.yml
@@ -126,32 +126,59 @@ tasks:
ci: azure
template: conda-recipes/azure.clean.yml
- conda-linux-gcc-py36:
+ conda-linux-gcc-py36-cpu:
ci: azure
template: conda-recipes/azure.linux.yml
params:
- config: linux_python3.6
+ config: linux_cuda_compiler_versionNonepython3.6.____cpython
artifacts:
- - 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: azure
template: conda-recipes/azure.linux.yml
params:
- config: linux_python3.7
+ config: linux_cuda_compiler_versionNonepython3.7.____cpython
artifacts:
- - 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: azure
template: conda-recipes/azure.linux.yml
params:
- config: linux_python3.8
+ config: linux_cuda_compiler_versionNonepython3.8.____cpython
artifacts:
- - 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: azure
template: conda-recipes/azure.osx.yml
params:
- config: osx_python3.6
+ config: osx_python3.6.____cpython
artifacts:
- - 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-osx-clang-py37:
ci: azure
template: conda-recipes/azure.osx.yml
params:
- config: osx_python3.7
+ config: osx_python3.7.____cpython
artifacts:
- - 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-osx-clang-py38:
ci: azure
template: conda-recipes/azure.osx.yml
params:
- config: osx_python3.8
+ config: osx_python3.8.____cpython
artifacts:
- - 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: azure
template: conda-recipes/azure.win.yml
params:
- config: win_c_compilervs2015cxx_compilervs2015python3.6vc14
+ config: win_python3.6.____cpython
artifacts:
- - 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-win-vs2015-py37:
ci: azure
template: conda-recipes/azure.win.yml
params:
- config: win_c_compilervs2015cxx_compilervs2015python3.7vc14
+ config: win_python3.7.____cpython
artifacts:
- - 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-win-vs2015-py38:
ci: azure
template: conda-recipes/azure.win.yml
params:
- config: win_c_compilervs2015cxx_compilervs2015python3.8vc14
+ config: win_python3.8.____cpython
artifacts:
- - 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 ##################################