Skip to content

Commit

Permalink
Merge branch 'master' into jdbc-column-metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Pigott committed Dec 9, 2018
2 parents 03091a8 + 881c6c8 commit 1ceac9e
Show file tree
Hide file tree
Showing 443 changed files with 11,880 additions and 7,209 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

.git
docker_cache
docs/_build

# IDE
.vscode
Expand Down Expand Up @@ -49,7 +50,6 @@ python/dist
python/*.egg-info
python/*.egg
python/*.pyc
python/doc/_build
__pycache__/
*/__pycache__/
*/*/__pycache__/
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
# specific language governing permissions and limitations
# under the License.

apache-rat-*.jar
arrow-src.tar

# Compiled source
*.a
*.dll
Expand All @@ -34,7 +37,9 @@ MANIFEST
*.iml

cpp/.idea/
cpp/apidoc/xml/
python/.eggs/
python/doc/
.vscode
.idea/
.pytest_cache/
Expand Down
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
# To run all hooks on all files use `pre-commit run -a`

repos:
- repo: local
hooks:
- id: rat
name: rat
language: system
entry: bash -c "git archive HEAD --prefix=apache-arrow/ --output=arrow-src.tar && ./dev/release/run-rat.sh arrow-src.tar"
always_run: true
pass_filenames: false
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v1.2.3
hooks:
Expand Down
2 changes: 1 addition & 1 deletion c_glib/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ Makefile.in
/libtool
/m4/
/stamp-h1
/arrow-cuda-glib/*.pc
/arrow-glib/enums.c
/arrow-glib/enums.h
/arrow-glib/stamp-*
/arrow-glib/version.h
/arrow-glib/*.pc
/arrow-gpu-glib/*.pc
/gandiva-glib/*.pc
/parquet-glib/*.pc
/plasma-glib/*.pc
Expand Down
2 changes: 1 addition & 1 deletion c_glib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}

SUBDIRS = \
arrow-glib \
arrow-gpu-glib \
arrow-cuda-glib \
gandiva-glib \
parquet-glib \
plasma-glib \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,51 +24,51 @@ AM_CPPFLAGS = \
-I$(top_builddir) \
-I$(top_srcdir)

if HAVE_ARROW_GPU
if HAVE_ARROW_CUDA
lib_LTLIBRARIES = \
libarrow-gpu-glib.la
libarrow-cuda-glib.la

libarrow_gpu_glib_la_CXXFLAGS = \
libarrow_cuda_glib_la_CXXFLAGS = \
$(GLIB_CFLAGS) \
$(ARROW_CFLAGS) \
$(ARROW_GPU_CFLAGS) \
$(ARROW_CUDA_CFLAGS) \
$(GARROW_CXXFLAGS)

libarrow_gpu_glib_la_LDFLAGS = \
libarrow_cuda_glib_la_LDFLAGS = \
-version-info $(LT_VERSION_INFO) \
-no-undefined

libarrow_gpu_glib_la_LIBADD = \
libarrow_cuda_glib_la_LIBADD = \
$(GLIB_LIBS) \
$(ARROW_LIBS) \
$(ARROW_GPU_LIBS) \
$(ARROW_CUDA_LIBS) \
../arrow-glib/libarrow-glib.la

libarrow_gpu_glib_la_headers = \
arrow-gpu-glib.h \
libarrow_cuda_glib_la_headers = \
arrow-cuda-glib.h \
cuda.h

libarrow_gpu_glib_la_sources = \
libarrow_cuda_glib_la_sources = \
cuda.cpp \
$(libarrow_gpu_glib_la_headers)
$(libarrow_cuda_glib_la_headers)

libarrow_gpu_glib_la_cpp_headers = \
arrow-gpu-glib.hpp \
libarrow_cuda_glib_la_cpp_headers = \
arrow-cuda-glib.hpp \
cuda.hpp

libarrow_gpu_glib_la_SOURCES = \
$(libarrow_gpu_glib_la_sources) \
$(libarrow_gpu_glib_la_cpp_headers)
libarrow_cuda_glib_la_SOURCES = \
$(libarrow_cuda_glib_la_sources) \
$(libarrow_cuda_glib_la_cpp_headers)

arrow_gpu_glib_includedir = \
$(includedir)/arrow-gpu-glib
arrow_gpu_glib_include_HEADERS = \
$(libarrow_gpu_glib_la_headers) \
$(libarrow_gpu_glib_la_cpp_headers)
arrow_cuda_glib_includedir = \
$(includedir)/arrow-cuda-glib
arrow_cuda_glib_include_HEADERS = \
$(libarrow_cuda_glib_la_headers) \
$(libarrow_cuda_glib_la_cpp_headers)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \
arrow-gpu-glib.pc
arrow-cuda-glib.pc

if HAVE_INTROSPECTION
-include $(INTROSPECTION_MAKEFILE)
Expand All @@ -85,39 +85,39 @@ endif
INTROSPECTION_COMPILER_ARGS = \
--includedir=$(abs_builddir)/../arrow-glib

ArrowGPU-1.0.gir: libarrow-gpu-glib.la
ArrowGPU_1_0_gir_PACKAGES = \
ArrowCUDA-1.0.gir: libarrow-cuda-glib.la
ArrowCUDA_1_0_gir_PACKAGES = \
arrow-glib
ArrowGPU_1_0_gir_EXPORT_PACKAGES = \
arrow-gpu-glib
ArrowGPU_1_0_gir_INCLUDES = \
ArrowCUDA_1_0_gir_EXPORT_PACKAGES = \
arrow-cuda-glib
ArrowCUDA_1_0_gir_INCLUDES = \
Arrow-1.0
ArrowGPU_1_0_gir_CFLAGS = \
ArrowCUDA_1_0_gir_CFLAGS = \
$(AM_CPPFLAGS)
ArrowGPU_1_0_gir_LIBS =
ArrowGPU_1_0_gir_FILES = \
$(libarrow_gpu_glib_la_sources)
ArrowGPU_1_0_gir_SCANNERFLAGS = \
ArrowCUDA_1_0_gir_LIBS =
ArrowCUDA_1_0_gir_FILES = \
$(libarrow_cuda_glib_la_sources)
ArrowCUDA_1_0_gir_SCANNERFLAGS = \
--library-path=$(ARROW_LIB_DIR) \
--warn-all \
--add-include-path=$(abs_builddir)/../arrow-glib \
--identifier-prefix=GArrowGPU \
--symbol-prefix=garrow_gpu
--identifier-prefix=GArrowCUDA \
--symbol-prefix=garrow_cuda
if OS_MACOS
ArrowGPU_1_0_gir_LIBS += \
ArrowCUDA_1_0_gir_LIBS += \
arrow-glib \
arrow-gpu-glib
ArrowGPU_1_0_gir_SCANNERFLAGS += \
arrow-cuda-glib
ArrowCUDA_1_0_gir_SCANNERFLAGS += \
--no-libtool \
--library-path=$(abs_builddir)/../arrow-glib/.libs \
--library-path=$(abs_builddir)/.libs
else
ArrowGPU_1_0_gir_LIBS += \
ArrowCUDA_1_0_gir_LIBS += \
$(abs_builddir)/../arrow-glib/libarrow-glib.la \
libarrow-gpu-glib.la
libarrow-cuda-glib.la
endif

INTROSPECTION_GIRS += ArrowGPU-1.0.gir
INTROSPECTION_GIRS += ArrowCUDA-1.0.gir

girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@

#include <arrow-glib/arrow-glib.h>

#include <arrow-gpu-glib/cuda.h>
#include <arrow-cuda-glib/cuda.h>
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@

#include <arrow-glib/arrow-glib.hpp>

#include <arrow-gpu-glib/cuda.hpp>
#include <arrow-cuda-glib/cuda.hpp>
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: Apache Arrow GPU GLib
Description: C API for Apache Arrow GPU based on GLib
Name: Apache Arrow CUDA GLib
Description: C API for Apache Arrow CUDA based on GLib
Version: @VERSION@
Libs: -L${libdir} -larrow-gpu-glib
Libs: -L${libdir} -larrow-cuda-glib
Cflags: -I${includedir}
Requires: arrow-glib
Requires: arrow-glib arrow-cuda
Loading

0 comments on commit 1ceac9e

Please sign in to comment.