Skip to content

Commit

Permalink
Build boost without python in setup script (#9484)
Browse files Browse the repository at this point in the history
Summary:
Velox does not require the boost-python module. Adding the `--without-python` parameter can reduce the compilation time for Boost and also avoid some Python compatibility issues.

Pull Request resolved: #9484

Reviewed By: Yuhta

Differential Revision: D56144983

Pulled By: kgpai

fbshipit-source-id: cbe6bd7d1d60fe58f461c8e89eaf7a310231e900
  • Loading branch information
liujiayi771 authored and facebook-github-bot committed Apr 19, 2024
1 parent 3f5db59 commit 6118101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/setup-centos8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function install_boost {
(
cd boost
./bootstrap.sh --prefix=/usr/local
./b2 "-j$(nproc)" -d0 install threading=multi
./b2 "-j$(nproc)" -d0 install threading=multi --without-python
)
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function install_fmt {
function install_boost {
github_checkout boostorg/boost "${BOOST_VERSION}" --recursive
./bootstrap.sh --prefix=/usr/local
${SUDO} ./b2 "-j$(nproc)" -d0 install threading=multi
${SUDO} ./b2 "-j$(nproc)" -d0 install threading=multi --without-python
}

function install_folly {
Expand Down

0 comments on commit 6118101

Please sign in to comment.