Skip to content

Commit

Permalink
Package Flight SQL
Browse files Browse the repository at this point in the history
  • Loading branch information
lidavidm committed Jul 5, 2022
1 parent 7deff6e commit 80bb8c8
Show file tree
Hide file tree
Showing 8 changed files with 76 additions and 44 deletions.
4 changes: 3 additions & 1 deletion .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions .ci_support/migrations/orc175.yaml

This file was deleted.

9 changes: 8 additions & 1 deletion .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 22 additions & 8 deletions LICENSE.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 13 additions & 6 deletions build-locally.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions recipe/build-arrow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ cmake \
-DARROW_DEPENDENCY_SOURCE=SYSTEM \
-DARROW_FLIGHT=ON \
-DARROW_FLIGHT_REQUIRE_TLSCREDENTIALSOPTIONS=ON \
-DARROW_FLIGHT_SQL=ON \
-DARROW_HDFS=ON \
-DARROW_GCS=ON \
-DARROW_JEMALLOC=ON \
Expand Down
46 changes: 25 additions & 21 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ source:
sha256: ad9a05705117c989c116bae9ac70492fe015050e1b80fb0e38fde4b5d863aaa3

build:
number: 3
number: 4
# for cuda on win/linux, building with 9.2 is enough to be compatible with all later versions,
# since arrow is only using libcuda, and not libcudart.
skip: true # [(win or linux64) and cuda_compiler_version not in ("None", "10.2")]
Expand Down Expand Up @@ -115,6 +115,7 @@ outputs:
# headers
- test -f $PREFIX/include/arrow/api.h # [unix]
- test -f $PREFIX/include/arrow/flight/types.h # [unix]
- test -f $PREFIX/include/arrow/flight/sql/api.h # [unix]
- test -f $PREFIX/include/plasma/client.h # [unix]
- test -f $PREFIX/include/gandiva/engine.h # [unix and not (osx and arm64)]
- test -f $PREFIX/include/parquet/api/reader.h # [unix]
Expand All @@ -123,13 +124,14 @@ outputs:
- if not exist %LIBRARY_INC%\\parquet\\api\\reader.h exit 1 # [win]

# shared
- test -f $PREFIX/lib/libarrow.so # [linux]
- test -f $PREFIX/lib/libarrow_dataset.so # [linux]
- test -f $PREFIX/lib/libarrow_flight.so # [linux]
- test -f $PREFIX/lib/libarrow_python.so # [linux]
- test -f $PREFIX/lib/libparquet.so # [linux]
- test -f $PREFIX/lib/libgandiva.so # [linux]
- test -f $PREFIX/lib/libplasma.so # [linux]
- 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_flight_sql.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_cuda${SHLIB_EXT} # [(cuda_compiler_version != "None") and unix]
- test ! -f $PREFIX/lib/libarrow_cuda${SHLIB_EXT} # [(cuda_compiler_version == "None") and unix]
- if not exist %PREFIX%\\Library\\bin\\arrow_cuda.dll exit 1 # [(cuda_compiler_version != "None") and win]
Expand All @@ -148,19 +150,21 @@ outputs:
- if not exist %PREFIX%\\Library\\bin\\gandiva.dll exit 1 # [win]

# absence of static libraries
- test ! -f $PREFIX/lib/libarrow.a # [unix]
- test ! -f $PREFIX/lib/libarrow_dataset.a # [unix]
- test ! -f $PREFIX/lib/libarrow_flight.a # [unix]
- test ! -f $PREFIX/lib/libarrow_python.a # [unix]
- test ! -f $PREFIX/lib/libplasma.a # [unix]
- test ! -f $PREFIX/lib/libparquet.a # [unix]
- test ! -f $PREFIX/lib/libgandiva.a # [unix]
- if exist %PREFIX%\\Library\\lib\\arrow_static.lib exit 1 # [win]
- if exist %PREFIX%\\Library\\lib\\arrow_dataset_static.lib exit 1 # [win]
- if exist %PREFIX%\\Library\\lib\\arrow_flight_static.lib exit 1 # [win]
- if exist %PREFIX%\\Library\\lib\\arrow_python_static.lib exit 1 # [win]
- if exist %PREFIX%\\Library\\lib\\parquet_static.lib exit 1 # [win]
- if exist %PREFIX%\\Library\\lib\\gandiva_static.lib exit 1 # [win]
- 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_flight_sql.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_flight_sql_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]

- name: pyarrow
script: build-pyarrow.sh # [not win]
Expand Down

0 comments on commit 80bb8c8

Please sign in to comment.