From 0aaff745f80623c29bf6f772fa9bd02ec63c9bfa Mon Sep 17 00:00:00 2001 From: Colin Dellow Date: Wed, 4 Jul 2018 22:13:10 -0400 Subject: [PATCH] Stomp timestamp of arrow/pq directory Otherwise they'll be deemed to be newer than the prebuilt libraries, and make will gallantly kick off a build. --- build/Makefile.linux | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/Makefile.linux b/build/Makefile.linux index f7059a8..8dab059 100644 --- a/build/Makefile.linux +++ b/build/Makefile.linux @@ -74,6 +74,7 @@ $(ARROW): rm -rf $(ARROW) git clone https://github.com/apache/arrow.git $(ARROW) cd $(ARROW) && git checkout apache-arrow-0.9.0 + touch -d @0 $(ARROW) $(ARROW_LIB): $(ARROW) mkdir $(ARROW)/cpp/release @@ -93,6 +94,7 @@ $(PARQUET_CPP): rm -rf $(PARQUET_CPP) git clone https://github.com/apache/parquet-cpp.git $(PARQUET_CPP) cd $(PARQUET_CPP) && git checkout apache-parquet-cpp-1.4.0 + touch -d @0 $(PARQUET_CPP) $(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 .