travis: run cmake
This ensures `parquet_version.h.in` gets procesed
This commit is contained in:
parent
aaa07fe629
commit
b4bf732eb1
|
@ -74,11 +74,11 @@ $(ARROW):
|
||||||
rm -rf $(ARROW)
|
rm -rf $(ARROW)
|
||||||
git clone https://github.com/apache/arrow.git $(ARROW)
|
git clone https://github.com/apache/arrow.git $(ARROW)
|
||||||
cd $(ARROW) && git checkout apache-arrow-0.9.0
|
cd $(ARROW) && git checkout apache-arrow-0.9.0
|
||||||
|
mkdir $(ARROW)/cpp/release
|
||||||
|
cd $(ARROW)/cpp/release && cmake -DCMAKE_BUILD_TYPE=$(APACHE_BUILD) -DARROW_BOOST_VENDORED=ON -DARROW_BOOST_USE_SHARED=OFF -DPARQUET_BUILD_SHARED=OFF ..
|
||||||
touch -d @0 $(ARROW)
|
touch -d @0 $(ARROW)
|
||||||
|
|
||||||
$(ARROW_LIB): $(ARROW)
|
$(ARROW_LIB): $(ARROW)
|
||||||
mkdir $(ARROW)/cpp/release
|
|
||||||
cd $(ARROW)/cpp/release && cmake -DCMAKE_BUILD_TYPE=$(APACHE_BUILD) -DARROW_BOOST_VENDORED=ON -DARROW_BOOST_USE_SHARED=OFF -DPARQUET_BUILD_SHARED=OFF ..
|
|
||||||
cd $(ARROW)/cpp/release && make -j$(CPUS)
|
cd $(ARROW)/cpp/release && make -j$(CPUS)
|
||||||
|
|
||||||
# This is pretty gross. I'm sure someone who knows what they're doing could do this more cleanly.
|
# This is pretty gross. I'm sure someone who knows what they're doing could do this more cleanly.
|
||||||
|
@ -94,10 +94,10 @@ $(PARQUET_CPP):
|
||||||
rm -rf $(PARQUET_CPP)
|
rm -rf $(PARQUET_CPP)
|
||||||
git clone https://github.com/apache/parquet-cpp.git $(PARQUET_CPP)
|
git clone https://github.com/apache/parquet-cpp.git $(PARQUET_CPP)
|
||||||
cd $(PARQUET_CPP) && git checkout apache-parquet-cpp-1.4.0
|
cd $(PARQUET_CPP) && git checkout apache-parquet-cpp-1.4.0
|
||||||
|
cd $(PARQUET_CPP) && BOOST_ROOT=$(BOOST_ROOT) BOOST_STATIC_REGEX_LIBRARY=$(BOOST_REGEX_LIB) SNAPPY_STATIC_LIB=$(SNAPPY_LIB) BROTLI_STATIC_LIB_ENC=$(BROTLI_ENC_LIB) BROTLI_STATIC_LIB_DEC=$(BROTLI_DEC_LIB) BROTLI_STATIC_LIB_COMMON=$(BROTLI_COMMON_LIB) ZLIB_STATIC_LIB=$(ZLIB_LIB) LZ4_STATIC_LIB=$(LZ4_LIB) ZSTD_STATIC_LIB=$(ZSTD_LIB) cmake -DCMAKE_BUILD_TYPE=$(APACHE_BUILD) -DPARQUET_MINIMAL_DEPENDENCY=ON -DPARQUET_ARROW_LINKAGE=static -DPARQUET_BOOST_USE_SHARED=OFF -DPARQUET_BUILD_SHARED=OFF .
|
||||||
touch -d @0 $(PARQUET_CPP)
|
touch -d @0 $(PARQUET_CPP)
|
||||||
|
|
||||||
$(PARQUET_CPP_LIB): $(PARQUET_CPP) $(ARROW_LIB)
|
$(PARQUET_CPP_LIB): $(PARQUET_CPP) $(ARROW_LIB)
|
||||||
cd $(PARQUET_CPP) && BOOST_ROOT=$(BOOST_ROOT) BOOST_STATIC_REGEX_LIBRARY=$(BOOST_REGEX_LIB) SNAPPY_STATIC_LIB=$(SNAPPY_LIB) BROTLI_STATIC_LIB_ENC=$(BROTLI_ENC_LIB) BROTLI_STATIC_LIB_DEC=$(BROTLI_DEC_LIB) BROTLI_STATIC_LIB_COMMON=$(BROTLI_COMMON_LIB) ZLIB_STATIC_LIB=$(ZLIB_LIB) LZ4_STATIC_LIB=$(LZ4_LIB) ZSTD_STATIC_LIB=$(ZSTD_LIB) cmake -DCMAKE_BUILD_TYPE=$(APACHE_BUILD) -DPARQUET_MINIMAL_DEPENDENCY=ON -DPARQUET_ARROW_LINKAGE=static -DPARQUET_BOOST_USE_SHARED=OFF -DPARQUET_BUILD_SHARED=OFF .
|
|
||||||
cd $(PARQUET_CPP) && make -j$(CPUS)
|
cd $(PARQUET_CPP) && make -j$(CPUS)
|
||||||
|
|
||||||
$(SQLITE3_LIB):
|
$(SQLITE3_LIB):
|
||||||
|
|
Loading…
Reference in New Issue