Skip to content

Commit

Permalink
Install boost on MacOS setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
majetideepak committed Oct 3, 2024
1 parent 3f5584c commit b2aad27
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion scripts/setup-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ MACOS_VELOX_DEPS="bison flex gflags glog googletest icu4c libevent libsodium lz4
MACOS_BUILD_DEPS="ninja cmake"
FB_OS_VERSION="v2024.05.20.00"
FMT_VERSION="10.1.1"
FAST_FLOAT_VERSION="v6.1.6"
BOOST_VERSION="boost-1.84.0"
STEMMER_VERSION="2.2.0"

function update_brew {
Expand Down Expand Up @@ -99,6 +99,15 @@ function install_velox_deps_from_brew {
done
}

function install_boost {
wget_and_untar https://github.com/boostorg/boost/releases/download/${BOOST_VERSION}/${BOOST_VERSION}.tar.gz boost
(
cd ${DEPENDENCY_DIR}/boost
./bootstrap.sh --prefix=${INSTALL_PREFIX}
${SUDO} ./b2 "-j$(nproc)" -d0 install threading=multi --without-python
)
}

function install_fmt {
wget_and_untar https://github.com/fmtlib/fmt/archive/${FMT_VERSION}.tar.gz fmt
cmake_install_dir fmt -DFMT_TEST=OFF
Expand Down Expand Up @@ -168,6 +177,7 @@ function install_velox_deps {
run_and_time install_ranges_v3
run_and_time install_double_conversion
run_and_time install_re2
run_and_time install_boost
run_and_time install_fmt
run_and_time install_folly
run_and_time install_fizz
Expand Down

0 comments on commit b2aad27

Please sign in to comment.