This repository has been archived by the owner on May 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PARQUET-267: Detach thirdparty code from build configuration.
This is based off of pull request #14. Author: Kalon Mills <[email protected]> Closes #16 from kalaxy/libparquet-library-update-build and squashes the following commits: 0ce51db [Kalon Mills] Add script for automating build env setup. 82a198c [Kalon Mills] Make thrift build on mac only a warning when not specified explicitly. d096c64 [Kalon Mills] Update build instructions. 6709182 [Kalon Mills] Support thrift dependency in thirdparty scripts for linux. bedd0d4 [Kalon Mills] Remove thirdparty code lz4 from repo. 30c2b7e [Kalon Mills] Support build environment configuration of LZ4 library. 73e7785 [Kalon Mills] Support build environment configuration of Snappy library.
- Loading branch information
Showing
15 changed files
with
212 additions
and
1,941 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
SOURCE_DIR=$(cd "$(dirname "$BASH_SOURCE")"; pwd) | ||
: ${BUILD_DIR:=$SOURCE_DIR/build} | ||
|
||
mkdir -p $BUILD_DIR | ||
cp -r $SOURCE_DIR/thirdparty $BUILD_DIR | ||
cd $BUILD_DIR | ||
./thirdparty/download_thirdparty.sh | ||
./thirdparty/build_thirdparty.sh | ||
|
||
export SNAPPY_HOME=$BUILD_DIR/thirdparty/installed | ||
export LZ4_HOME=$BUILD_DIR/thirdparty/installed | ||
# build script doesn't support building thrift on OSX | ||
if [ "$(uname)" != "Darwin" ]; then | ||
export THRIFT_HOME=$BUILD_DIR/thirdparty/installed | ||
fi | ||
|
||
cmake $SOURCE_DIR | ||
|
||
cd $SOURCE_DIR | ||
|
||
echo | ||
echo "Build env initialized in $BUILD_DIR." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.