diff --git a/scripts/setup-ubuntu.sh b/scripts/setup-ubuntu.sh index 102974b6a333..4e7c21a3641c 100755 --- a/scripts/setup-ubuntu.sh +++ b/scripts/setup-ubuntu.sh @@ -69,38 +69,38 @@ sudo --preserve-env apt update && sudo --preserve-env apt install -y libunwind-d function install_fmt { github_checkout fmtlib/fmt "${FMT_VERSION}" - cmake_install -DFMT_TEST=OFF + sudo cmake_install -DFMT_TEST=OFF } function install_boost { github_checkout boostorg/boost "${BOOST_VERSION}" --recursive ./bootstrap.sh --prefix=/usr/local - ./b2 "-j$(nproc)" -d0 install threading=multi + sudo ./b2 "-j$(nproc)" -d0 install threading=multi } function install_folly { github_checkout facebook/folly "${FB_OS_VERSION}" - cmake_install -DBUILD_TESTS=OFF -DFOLLY_HAVE_INT128_T=ON + sudo cmake_install -DBUILD_TESTS=OFF -DFOLLY_HAVE_INT128_T=ON } function install_fizz { github_checkout facebookincubator/fizz "${FB_OS_VERSION}" - cmake_install -DBUILD_TESTS=OFF -S fizz + sudo cmake_install -DBUILD_TESTS=OFF -S fizz } function install_wangle { github_checkout facebook/wangle "${FB_OS_VERSION}" - cmake_install -DBUILD_TESTS=OFF -S wangle + sudo cmake_install -DBUILD_TESTS=OFF -S wangle } function install_mvfst { github_checkout facebook/mvfst "${FB_OS_VERSION}" - cmake_install -DBUILD_TESTS=OFF + sudo cmake_install -DBUILD_TESTS=OFF } function install_fbthrift { github_checkout facebook/fbthrift "${FB_OS_VERSION}" - cmake_install -DBUILD_TESTS=OFF + sudo cmake_install -DBUILD_TESTS=OFF } function install_conda {