1
0
mirror of https://github.com/cldellow/sqlite-parquet-vtable.git synced 2025-09-10 22:28:53 +00:00

All-in-one build command

`./make-linux` clones and builds:

- arrow
- brotli
- lz4
- parquet
- snappy
- zlib
- zstd
- this project

as a statically linked binary. Two Boost libs are still pulled in as
shared libs, should probably fix that, too, for ultimate portability.
This commit is contained in:
Colin Dellow
2018-06-24 21:11:07 -04:00
parent ec6e970bbc
commit 0bdcc9895e
11 changed files with 199 additions and 77 deletions

24
make-linux Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
set -euo pipefail
mkdir -p build/linux
cp -f build/Makefile.linux build/linux/Makefile
cd build/linux
# Install prereqs based on https://github.com/apache/parquet-cpp#linux
sudo apt-get install libboost-dev libboost-filesystem-dev \
libboost-program-options-dev libboost-regex-dev \
libboost-system-dev libboost-test-dev \
libssl-dev libtool bison flex pkg-config
# Install prereqs based on https://github.com/apache/arrow/tree/master/cpp
sudo apt-get install cmake \
libboost-dev \
libboost-filesystem-dev \
libboost-system-dev
if [ ! -e ../../sqlite/sqlite3 ]; then
make sqlite
fi
make "$@"