Changeset View
Changeset View
Standalone View
Standalone View
contrib/utils/install-dependencies-bullseye.sh
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | |||||
DEBIAN_FRONTEND=noninteractive apt-get install -y $(join_by ' ' "${PACKAGES[@]}") | DEBIAN_FRONTEND=noninteractive apt-get install -y $(join_by ' ' "${PACKAGES[@]}") | ||||
# Use gcc-9/g++-9 by default so it uses libstdc++-9. This prevents from pulling | # Use gcc-9/g++-9 by default so it uses libstdc++-9. This prevents from pulling | ||||
# the new pthread_cond_clockwait symbol from GLIBC_30 and ensure we are testing | # the new pthread_cond_clockwait symbol from GLIBC_30 and ensure we are testing | ||||
# under the same condition our release it built. | # under the same condition our release it built. | ||||
update-alternatives --install /usr/bin/gcc gcc "$(command -v gcc-9)" 100 | update-alternatives --install /usr/bin/gcc gcc "$(command -v gcc-9)" 100 | ||||
update-alternatives --install /usr/bin/g++ g++ "$(command -v g++-9)" 100 | update-alternatives --install /usr/bin/g++ g++ "$(command -v g++-9)" 100 | ||||
update-alternatives --install /usr/bin/aarch64-linux-gnu-gcc aarch64-linux-gnu-gcc "$(command -v aarch64-linux-gnu-gcc-9)" 100 | |||||
update-alternatives --install /usr/bin/aarch64-linux-gnu-g++ aarch64-linux-gnu-g++ "$(command -v aarch64-linux-gnu-g++-9)" 100 | |||||
update-alternatives --install /usr/bin/arm-linux-gnueabihf-gcc arm-linux-gnueabihf-gcc "$(command -v arm-linux-gnueabihf-gcc-9)" 100 | |||||
update-alternatives --install /usr/bin/arm-linux-gnueabihf-g++ arm-linux-gnueabihf-g++ "$(command -v arm-linux-gnueabihf-g++-9)" 100 | |||||
# Use the mingw posix variant | # Use the mingw posix variant | ||||
update-alternatives --set x86_64-w64-mingw32-g++ $(command -v x86_64-w64-mingw32-g++-posix) | update-alternatives --set x86_64-w64-mingw32-g++ $(command -v x86_64-w64-mingw32-g++-posix) | ||||
update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | update-alternatives --set x86_64-w64-mingw32-gcc $(command -v x86_64-w64-mingw32-gcc-posix) | ||||
# Python library for merging nested structures | # Python library for merging nested structures | ||||
pip3 install deepmerge | pip3 install deepmerge | ||||
# For running Python test suites | # For running Python test suites | ||||
pip3 install pytest | pip3 install pytest | ||||
Show All 37 Lines |