Skip to content

Commit

Permalink
Modify setup-centos7.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Apr 30, 2024
1 parent f6f6f35 commit ea1a8d9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/setup-centos7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,17 @@ function install_fmt {
cmake_install fmt -DFMT_TEST=OFF
}

function install_duckdb {
if $BUILD_DUCKDB ; then
echo 'Building DuckDB'
wget_and_untar https://github.com/duckdb/duckdb/archive/refs/tags/v0.8.1.tar.gz duckdb
(
cd duckdb
cmake_install -DBUILD_UNITTESTS=OFF -DENABLE_SANITIZER=OFF -DENABLE_UBSAN=OFF -DBUILD_SHELL=OFF -DEXPORT_DLL_SYMBOLS=OFF -DCMAKE_BUILD_TYPE=Release
)
fi
}

function install_prerequisites {
run_and_time install_lzo
run_and_time install_boost
Expand All @@ -229,6 +240,7 @@ function install_velox_deps {
run_and_time install_fmt
run_and_time install_folly
run_and_time install_conda
run_and_time install_duckdb
}

$SUDO dnf makecache
Expand Down

0 comments on commit ea1a8d9

Please sign in to comment.