-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[VL] Refine cmake flags to decrease normal build time #3485
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ BUILD_TYPE=release | |
VELOX_HOME="" | ||
ENABLE_EP_CACHE=OFF | ||
ENABLE_BENCHMARK=OFF | ||
ENABLE_TESTS=OFF | ||
RUN_SETUP_SCRIPT=ON | ||
|
||
OS=`uname -s` | ||
|
@@ -50,6 +51,10 @@ for arg in "$@"; do | |
ENABLE_EP_CACHE=("${arg#*=}") | ||
shift # Remove argument name from processing | ||
;; | ||
--build_tests=*) | ||
ENABLE_TESTS=("${arg#*=}") | ||
shift # Remove argument name from processing | ||
;; | ||
--build_benchmarks=*) | ||
ENABLE_BENCHMARK=("${arg#*=}") | ||
shift # Remove argument name from processing | ||
|
@@ -92,9 +97,12 @@ function compile { | |
fi | ||
fi | ||
|
||
COMPILE_OPTION="-DVELOX_ENABLE_PARQUET=ON" | ||
if [ $ENABLE_BENCHMARK == "OFF" ]; then | ||
COMPILE_OPTION="$COMPILE_OPTION -DVELOX_BUILD_TESTING=OFF -DVELOX_BUILD_TEST_UTILS=ON" | ||
COMPILE_OPTION="-DVELOX_ENABLE_PARQUET=ON -DVELOX_BUILD_TESTING=OFF -DVELOX_BUILD_TEST_UTILS=OFF -DVELOX_ENABLE_DUCKDB=OFF" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suppose parquet compilation is not needed for ORC users. Better to keep it as optional. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. previous parquet option is enabled by default, I keep it as original.
We should not separate users with file format, more is better. |
||
if [ $ENABLE_BENCHMARK == "ON" ]; then | ||
COMPILE_OPTION="$COMPILE_OPTION -DVELOX_BUILD_BENCHMARKS=ON" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for your fix! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for review, I keep both |
||
fi | ||
if [ $ENABLE_TESTS == "ON" ]; then | ||
COMPILE_OPTION="$COMPILE_OPTION -DVELOX_BUILD_TESTING=ON " | ||
fi | ||
if [ $ENABLE_HDFS == "ON" ]; then | ||
COMPILE_OPTION="$COMPILE_OPTION -DVELOX_ENABLE_HDFS=ON" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question.