Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into index-names
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche committed Feb 1, 2018
2 parents b7e0560 + c1d77a1 commit 80f0492
Show file tree
Hide file tree
Showing 123 changed files with 4,234 additions and 1,947 deletions.
2 changes: 2 additions & 0 deletions c_glib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ recommended that you use packages.
Note that the packages are "unofficial". "Official" packages will be
released in the future.

If you find problems when installing please see [common build problems](https://github.com/apache/arrow/blob/master/c_glib/README.md#common-build-problems).

### Package

See [install document](../site/install.md) for details.
Expand Down
2 changes: 1 addition & 1 deletion c_glib/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ AC_CONFIG_FILES([
arrow-gpu-glib/arrow-gpu-glib.pc
doc/Makefile
doc/reference/Makefile
doc/reference/xml/Makefile
doc/reference/entities.xml
example/Makefile
example/lua/Makefile
tool/Makefile
Expand Down
4 changes: 1 addition & 3 deletions c_glib/doc/reference/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
# specific language governing permissions and limitations
# under the License.

SUBDIRS = \
xml

DOC_MODULE = arrow-glib

DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
Expand Down Expand Up @@ -72,4 +69,5 @@ CLEANFILES += \
$(DOC_MODULE).types

EXTRA_DIST += \
entities.xml.in \
meson.build
4 changes: 2 additions & 2 deletions c_glib/doc/reference/arrow-glib-docs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
<!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
<!ENTITY % gtkdocentities SYSTEM "xml/gtkdocentities.ent">
<!ENTITY % gtkdocentities SYSTEM "entities.xml">
%gtkdocentities;
]>
<book id="index">
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
<bookinfo>
<title>&package_name; Reference Manual</title>
<releaseinfo>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
specific language governing permissions and limitations
under the License.
-->
<!ENTITY package "@package@">
<!ENTITY package_bugreport "@package_bugreport@">
<!ENTITY package_name "@package_name@">
<!ENTITY package_string "@package_string@">
<!ENTITY package_url "@package_url@">
<!ENTITY package_version "@package_version@">
<!ENTITY package "@PACKAGE@">
<!ENTITY package_bugreport "@PACKAGE_BUGREPORT@">
<!ENTITY package_name "@PACKAGE_NAME@">
<!ENTITY package_string "@PACKAGE_STRING@">
<!ENTITY package_url "@PACKAGE_URL@">
<!ENTITY package_version "@PACKAGE_VERSION@">
13 changes: 12 additions & 1 deletion c_glib/doc/reference/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,18 @@
# specific language governing permissions and limitations
# under the License.

subdir('xml')
entities_conf = configuration_data()
entities_conf.set('PACKAGE', meson.project_name())
entities_conf.set('PACKAGE_BUGREPORT',
'https://issues.apache.org/jira/browse/ARROW')
entities_conf.set('PACKAGE_NAME', meson.project_name())
entities_conf.set('PACKAGE_STRING',
' '.join([meson.project_name(), version]))
entities_conf.set('PACKAGE_URL', 'https://arrow.apache.org/')
entities_conf.set('PACKAGE_VERSION', version)
configure_file(input: 'entities.xml.in',
output: 'entities.xml',
configuration: entities_conf)

private_headers = [
]
Expand Down
4 changes: 2 additions & 2 deletions ci/msvc-build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ conda info -a

conda create -n arrow -q -y python=%PYTHON% ^
six pytest setuptools numpy pandas cython ^
thrift-cpp
thrift-cpp=0.11.0

if "%JOB%" == "Toolchain" (

Expand Down Expand Up @@ -145,6 +145,6 @@ pushd python

set PYARROW_CXXFLAGS=/WX
python setup.py build_ext --inplace --with-parquet --bundle-arrow-cpp bdist_wheel || exit /B
py.test pyarrow -v -s --parquet || exit /B
py.test pyarrow -r sxX --durations=15 -v -s --parquet || exit /B

popd
2 changes: 1 addition & 1 deletion ci/travis_before_script_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if [ "$ARROW_TRAVIS_USE_TOOLCHAIN" == "1" ]; then
zlib \
cmake \
curl \
thrift-cpp \
thrift-cpp=0.11.0 \
ninja

# HACK(wesm): We started experiencing OpenSSL failures when Miniconda was
Expand Down
6 changes: 3 additions & 3 deletions ci/travis_lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ popd
# Fail fast on style checks
sudo pip install flake8

PYARROW_DIR=$TRAVIS_BUILD_DIR/python/pyarrow
PYTHON_DIR=$TRAVIS_BUILD_DIR/python

flake8 --count $PYARROW_DIR
flake8 --count $PYTHON_DIR/pyarrow

# Check Cython files with some checks turned off
flake8 --count --config=$PYTHON_DIR/.flake8.cython \
$PYARROW_DIR
$PYTHON_DIR/pyarrow
2 changes: 1 addition & 1 deletion ci/travis_script_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ if [ $TRAVIS_OS_NAME == "linux" ]; then
fi

PYARROW_PATH=$CONDA_PREFIX/lib/python$PYTHON_VERSION/site-packages/pyarrow
python -m pytest -vv -r sxX -s $PYARROW_PATH --parquet
python -m pytest -vv -r sxX --durations=15 -s $PYARROW_PATH --parquet

if [ "$PYTHON_VERSION" == "3.6" ] && [ $TRAVIS_OS_NAME == "linux" ]; then
# Build documentation once
Expand Down
19 changes: 18 additions & 1 deletion cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ sudo apt-get install cmake \
libboost-system-dev
```

On OS X, you can use [Homebrew][1]:
On macOS, you can use [Homebrew][1]:

```shell
git clone https://github.com/apache/arrow.git
cd arrow
brew update && brew bundle --file=c_glib/Brewfile
```

Expand Down Expand Up @@ -250,6 +252,21 @@ Logging IWYU to /tmp/arrow-cpp-iwyu.gT7XXV
...
```

### Linting

We require that you follow a certain coding style in the C++ code base.
You can check your code abides by that coding style by running:

make lint

You can also fix any formatting errors automatically:

make format

These commands require `clang-format-4.0` (and not any other version).
You may find the required packages at http://releases.llvm.org/download.html
or use the Debian/Ubuntu APT repositories on https://apt.llvm.org/.

## Continuous Integration

Pull requests are run through travis-ci for continuous integration. You can avoid
Expand Down
4 changes: 4 additions & 0 deletions cpp/apidoc/HDFS.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ export CLASSPATH=`$HADOOP_HOME/bin/hadoop classpath --glob`
* `ARROW_LIBHDFS_DIR` (optional): explicit location of `libhdfs.so` if it is
installed somewhere other than `$HADOOP_HOME/lib/native`.

To accommodate distribution-specific nuances, the `JAVA_HOME` variable may be
set to the root path for the Java SDK, the JRE path itself, or to the directory
containing the `libjvm` library.

### Mac Specifics

The installed location of Java on OS X can vary, however the following snippet
Expand Down
Loading

0 comments on commit 80f0492

Please sign in to comment.