Skip to content

Commit

Permalink
CI: use libboost-math-dev instead of libboost-all-dev (#3223)
Browse files Browse the repository at this point in the history
## Summary

Small change: libboost-math-dev requires just 4 packages to install, while libboost-all-dev requires > 100. Only Debian/Ubuntu distributions provide fine-grained boost packages like this, but should shave a little time off the CI builds. (Our only boost include is boost/math/distributions/binomial.hpp.)

## Test Plan

Builds should pass as before. Now that we are no longer using Travis for Linux builds, the side effect of libboost-all-dev installing make and other missing build tools on Travis encountered in #2717 is no longer a concern.
  • Loading branch information
cce authored Nov 22, 2021
1 parent 116c06e commit 9807eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install_linux_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
DISTRIB=$ID

ARCH_DEPS="boost boost-libs expect jq autoconf shellcheck sqlite python-virtualenv"
UBUNTU_DEPS="libboost-all-dev expect jq autoconf shellcheck sqlite3 python3-venv"
UBUNTU_DEPS="libboost-math-dev expect jq autoconf shellcheck sqlite3 python3-venv"
FEDORA_DEPS="boost-devel expect jq autoconf ShellCheck sqlite python-virtualenv"

if [ "${DISTRIB}" = "arch" ]; then
Expand Down

0 comments on commit 9807eab

Please sign in to comment.