Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Sep 23, 2024
1 parent 8a7416b commit 15523b1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions scripts/setup-centos9.sh
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,12 @@ function install_duckdb {
function install_stemmer {
wget_and_untar https://snowballstem.org/dist/libstemmer_c-${STEMMER_VERSION}.tar.gz stemmer
(
cd stemmer
cd ${DEPENDENCY_DIR}/stemmer
sed -i '/CPPFLAGS=-Iinclude/ s/$/ -fPIC/' Makefile
make clean && make "-j${NPROC}"
${SUDO} cp libstemmer.a /usr/local/lib/
${SUDO} cp include/libstemmer.h /usr/local/include/
INSTALL_PREFIX="${INSTALL_PREFIX:-/usr/local}"
${SUDO} cp libstemmer.a ${INSTALL_PREFIX}/lib/
${SUDO} cp include/libstemmer.h ${INSTALL_PREFIX}/include/
)
}

Expand Down
7 changes: 4 additions & 3 deletions scripts/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,12 @@ function install_duckdb {
function install_stemmer {
wget_and_untar https://snowballstem.org/dist/libstemmer_c-${STEMMER_VERSION}.tar.gz stemmer
(
cd stemmer
cd ${DEPENDENCY_DIR}/stemmer
sed -i '/CPPFLAGS=-Iinclude/ s/$/ -fPIC/' Makefile
make clean && make "-j${NPROC}"
${SUDO} cp libstemmer.a /usr/local/lib/
${SUDO} cp include/libstemmer.h /usr/local/include/
INSTALL_PREFIX="${INSTALL_PREFIX:-/usr/local}"
${SUDO} cp libstemmer.a ${INSTALL_PREFIX}/lib/
${SUDO} cp include/libstemmer.h ${INSTALL_PREFIX}/include/
)
}

Expand Down

0 comments on commit 15523b1

Please sign in to comment.