Skip to content

Commit

Permalink
Fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Sep 4, 2024
1 parent e2e3292 commit dd9d94d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion scripts/setup-centos9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,12 @@ function install_duckdb {

function install_stemmer {
wget_and_untar https://snowballstem.org/dist/libstemmer_c-${STEMMER_VERSION}.tar.gz stemmer
pushd $SCRIPTDIR/../CMake/resolve_dependency_modules/libstemmer
PATCH_DIR=$(pwd)
popd
(
cd stemmer
git apply $SCRIPTDIR/../CMake/resolve_dependency_modules/libstemmer/Makefile.patch
git apply ${PATCH_DIR}/Makefile.patch
make "-j${NPROC}"
make install
)
Expand Down Expand Up @@ -235,6 +238,7 @@ function install_velox_deps {
run_and_time install_mvfst
run_and_time install_fbthrift
run_and_time install_duckdb
run_and_time install_stemmer
run_and_time install_arrow
}

Expand Down
6 changes: 5 additions & 1 deletion scripts/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,12 @@ function install_duckdb {

function install_stemmer {
wget_and_untar https://snowballstem.org/dist/libstemmer_c-${STEMMER_VERSION}.tar.gz stemmer
pushd $SCRIPTDIR/../CMake/resolve_dependency_modules/libstemmer
PATCH_DIR=$(pwd)
popd
(
cd stemmer
git apply $SCRIPTDIR/../CMake/resolve_dependency_modules/libstemmer/Makefile.patch
git apply ${PATCH_DIR}/Makefile.patch
make "-j${NPROC}"
make install
)
Expand Down Expand Up @@ -244,6 +247,7 @@ function install_velox_deps {
run_and_time install_fbthrift
run_and_time install_conda
run_and_time install_duckdb
run_and_time install_stemmer
run_and_time install_arrow
}

Expand Down

0 comments on commit dd9d94d

Please sign in to comment.