Use local Arrow for minimal build

This commit is contained in:
Wes McKinney committed 2019-09-19 17:33:38 -05:00
1 parent 7b9ab61661
commit 8fd0c3ed54
1 file changed
+4 -6
+4 -6
View File
@@ -16,19 +16,17 @@
# specific language governing permissions and limitations
# under the License.
# Run with
# Set $ARROW_ROOT to the path of your Arrow clone and run
# docker build -t arrow_cpp_minimal .
# docker run --rm -t -i -v $PWD:/io arrow_cpp_minimal /io/build.sh
# docker run --rm -t -i -v $PWD:/io -v $ARROW_ROOT:/arrow arrow_cpp_minimal /io/build.sh
git clone --depth 1 https://github.com/apache/arrow.git
BUILD_DIR=arrow/cpp/build
BUILD_DIR=/build
mkdir $BUILD_DIR
pushd $BUILD_DIR
cmake .. -DBOOST_SOURCE=BUNDLED \
cmake /arrow/cpp -DBOOST_SOURCE=BUNDLED \
-DARROW_BOOST_USE_SHARED=OFF \
-DARROW_COMPUTE=OFF \
-DARROW_DATASET=OFF \