This is an automated email from the ASF dual-hosted git repository. yangzhg pushed a commit to branch libhdfs3 in repository https://gitbox.apache.org/repos/asf/doris-thirdparty.git
commit 0708be46fcff0c8c56dceeb1d81da2e28b13f2c2 Author: yangzhg <yangz...@gmail.com> AuthorDate: Mon Jun 6 13:45:46 2022 +0800 add enable_sse option --- bootstrap | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index e435b8e..9fc9060 100755 --- a/bootstrap +++ b/bootstrap @@ -83,6 +83,7 @@ build_type="Release" enable_boost="OFF" enable_coverage="OFF" enable_clang_lib="OFF" +enable_sse="ON" while test $# != 0; do case "$1" in --prefix=*) dir=`arg "$1"` @@ -128,11 +129,15 @@ if [[ ! -x ${cmake} ]]; then die "cannot found cmake" fi +if [[ "$(uname -m)" != "x86_64" ]]; then + enable_sse="OFF" +fi # Configure ${cmake} -DENABLE_DEBUG=${enable_build} -DCMAKE_INSTALL_PREFIX=${prefix_dirs} \ -DCMAKE_C_COMPILER=${c_compiler} -DCMAKE_CXX_COMPILER=${cxx_compiler} \ -DCMAKE_PREFIX_PATH=${dependency_dir} -DENABLE_BOOST=${enable_boost} \ - -DENABLE_COVERAGE=${enable_coverage} -DENABLE_LIBCPP=${enable_clang_lib} ${source_dir} \ + -DENABLE_COVERAGE=${enable_coverage} -DENABLE_LIBCPP=${enable_clang_lib} + -DENABLE_SSE=${enable_sse} ${source_dir} \ || die "failed to configure the project" echo 'bootstrap success. Run "make" to build.' --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org