File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ elif [[ "$unamestr" == 'Linux' ]]; then
1515elif [[ " $unamestr " == ' Darwin' ]]; then
1616 platform=' macOS'
1717fi
18+ major=${release%% .* }
1819
1920if [[ " $platform " == ' macOS' ]]; then
2021 echo " Executing brew bundle"
@@ -70,11 +71,15 @@ if [[ "$platform" == 'macOS' ]]; then
7071elif [[ " $platform " == ' linux' ]]; then
7172 . /etc/os-release
7273 if [ " $distribution " == ' Ubuntu' ] || [ " $distribution " == ' LinuxMint' ]; then
73-
74+ if [[ " $major " -le 22 ]]; then
75+ additional_deps=" libqt6core5compat6-dev"
76+ else
77+ additional_deps=" qt6-5compat-dev"
78+ fi
7479 sudo apt-get update && sudo apt-get install -y build-essential verilator \
7580 lsb-release git cmake pkgconf libboost-all-dev qt6-base-dev \
7681 libpython3-dev ccache autoconf autotools-dev libsodium-dev \
77- libqt6svg6-dev libqt6svg6* libqt6core5compat6 qt6-5compat-dev \
82+ libqt6svg6-dev libqt6svg6* \
7883 ninja-build lcov gcovr python3-sphinx \
7984 doxygen python3-sphinx-rtd-theme python3-jedi python3-pip \
8085 pybind11-dev python3-pybind11 rapidjson-dev libspdlog-dev libz3-dev z3 \
You can’t perform that action at this time.
0 commit comments