From 2732f9885ad2e6ded475806f42b53c9277d8ddfe Mon Sep 17 00:00:00 2001 From: Colin Dellow Date: Thu, 5 Jul 2018 23:08:52 -0400 Subject: [PATCH] Package libs in xz --- build/Makefile.linux | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/build/Makefile.linux b/build/Makefile.linux index 6da8e6d..eeeb4d7 100644 --- a/build/Makefile.linux +++ b/build/Makefile.linux @@ -33,7 +33,6 @@ ICU_DATA_LIB=$(ICU)/source/lib/libicudata.a LZ4_LIB = $(LZ4)/liblz4.a PARQUET_CPP_LIB = $(PARQUET_CPP)/build/$(APACHE_BUILD)/libparquet.a SNAPPY_LIB = $(SNAPPY)/libsnappy.a -SQLITE3_LIB = $(SQLITE)/libsqlite3.a THRIFT_LIB = $(PARQUET_CPP)/thrift_ep/src/thrift_ep-install/lib/libthrift.a ZLIB_LIB = $(ZLIB)/libz.a ZSTD_LIB = $(ZSTD)/libzstd.a @@ -102,10 +101,7 @@ $(PARQUET_CPP): $(PARQUET_CPP_LIB): $(PARQUET_CPP) $(ARROW_LIB) cd $(PARQUET_CPP) && make -j$(CPUS) -$(SQLITE3_LIB): - cd $(ROOT) && ./build-sqlite - -.PHONY: clean arrow icu parquet publish_libs sqlite +.PHONY: clean arrow icu parquet publish_libs clean: rm -f *.o *.so @@ -121,8 +117,5 @@ icu: $(ICU_I18N_LIB) parquet: $(PARQUET_CPP_LIB) publish_libs: - for lib in $(ALL_LIBS); do \ - s3cmd put $$lib s3://cldellow/public/libparquet/$$(lsb_release -s -r)/; \ - done - -sqlite: $(SQLITE3_LIB) + tar -cJf libs.tar.xz $(ALL_LIBS) $(SQLITE)/sqlite3 + s3cmd put libs.tar.xz s3://cldellow/public/libparquet/$$(lsb_release -s -r)/libs.tar.xz