Skip to content

Commit

Permalink
scripts: sort packages
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelbezpravel committed Jun 5, 2024
1 parent 0aa172d commit 617eef3
Showing 1 changed file with 88 additions and 83 deletions.
171 changes: 88 additions & 83 deletions install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,125 +28,130 @@ else
fi

debian_packages=(
ninja-build
ragel
libhwloc-dev
libnuma-dev
libpciaccess-dev
libcrypto++-dev
cmake
diffutils
doxygen
g++
gcc
libboost-all-dev
libxml2-dev
xfslibs-dev
libc-ares-dev
libcrypto++-dev
libfmt-dev
libgnutls28-dev
libhwloc-dev
liblz4-dev
libnuma-dev
libpciaccess-dev
libprotobuf-dev
libsctp-dev
libtool
liburing-dev
gcc
libxml2-dev
libyaml-cpp-dev
make
meson
ninja-build
openssl
pkg-config
protobuf-compiler
python3
python3-pyelftools
systemtap-sdt-dev
libtool
cmake
libyaml-cpp-dev
libc-ares-dev
ragel
stow
g++
libfmt-dev
diffutils
systemtap-sdt-dev
valgrind
doxygen
openssl
pkg-config
libprotobuf-dev
protobuf-compiler
xfslibs-dev
)

# seastar doesn't directly depend on these packages. They are
# needed because we want to link seastar statically and pkg-config
# has no way of saying "static seastar, but dynamic transitive
# dependencies". They provide the various .so -> .so.ver symbolic
# links.
transitive=(libtool-ltdl-devel trousers-devel libidn2-devel libunistring-devel)
transitive=(
libidn2-devel
libtool-ltdl-devel
libunistring-devel
trousers-devel
)

redhat_packages=(
boost-devel
c-ares-devel
cmake
diffutils
doxygen
fmt-devel
gcc
gnutls-devel
hwloc-devel
numactl-devel
libpciaccess-devel
libtool
liburing-devel
libxml2-devel
xfsprogs-devel
gnutls-devel
lksctp-tools-devel
lz4-devel
liburing-devel
gcc
make
meson
numactl-devel
openssl
protobuf-compiler
protobuf-devel
python3
python3-pyelftools
systemtap-sdt-devel
libtool
cmake
yaml-cpp-devel
c-ares-devel
stow
diffutils
doxygen
openssl
fmt-devel
boost-devel
systemtap-sdt-devel
valgrind-devel
protobuf-devel
protobuf-compiler
xfsprogs-devel
yaml-cpp-devel
"${transitive[@]}"
)

fedora_packages=(
"${redhat_packages[@]}"
gcc-c++
ninja-build
ragel
boost-devel
fmt-devel
libubsan
gcc-c++
libasan
libatomic
libubsan
ninja-build
ragel
valgrind-devel
)

centos7_packages=(
"${redhat_packages[@]}"
ninja-build
ragel
cmake3
rh-mongodb36-boost-devel
devtoolset-11-gcc-c++
devtoolset-11-libubsan
devtoolset-11-libasan
devtoolset-11-libatomic
devtoolset-11-libubsan
ninja-build
ragel
rh-mongodb36-boost-devel
)

centos8_packages=(
"${redhat_packages[@]}"
ninja-build
ragel
gcc-toolset-11-gcc
gcc-toolset-11-gcc-c++
gcc-toolset-11-libubsan-devel
gcc-toolset-11-libasan-devel
gcc-toolset-11-libatomic-devel
gcc-toolset-11-libubsan-devel
ninja-build
ragel
)

centos9_packages=(
"${redhat_packages[@]}"
ninja-build
ragel
gcc-toolset-13-gcc
gcc-toolset-13-gcc-c++
gcc-toolset-13-libubsan-devel
gcc-toolset-13-libasan-devel
gcc-toolset-13-libatomic-devel
gcc-toolset-13-libubsan-devel
ninja-build
ragel
)

# 1) glibc 2.30-3 has sys/sdt.h (systemtap include)
Expand All @@ -157,43 +162,49 @@ centos9_packages=(
# 3) aur installations require having sudo and being
# a sudoer. makepkg does not work otherwise.
arch_packages=(
gcc
ninja
ragel
boost
boost-libs
c-ares
cmake
crypto++
filesystem
fmt
gcc
glibc
gnutls
hwloc
numactl
libpciaccess
crypto++
libtool
liburing
libxml2
xfsprogs
gnutls
lksctp-tools
lz4
make
meson
python-pyelftools
protobuf
libtool
cmake
yaml-cpp
stow
c-ares
ninja
numactl
openssl
pkgconf
fmt
protobuf
python3
glibc
filesystem
python-pyelftools
ragel
stow
valgrind
openssl
liburing
xfsprogs
yaml-cpp
)

opensuse_packages=(
c-ares-devel
cmake
hwloc-devel
libboost_atomic1_66_0
libboost_atomic1_66_0-devel
libboost_chrono1_66_0
libboost_chrono1_66_0-devel
libboost_date_time1_66_0
libboost_date_time1_66_0-devel
libboost_filesystem1_66_0
libboost_filesystem1_66_0-devel
libboost_program_options1_66_0
Expand All @@ -204,26 +215,20 @@ opensuse_packages=(
libboost_test1_66_0-devel
libboost_thread1_66_0
libboost_thread1_66_0-devel
libboost_atomic1_66_0
libboost_atomic1_66_0-devel
libboost_date_time1_66_0
libboost_date_time1_66_0-devel
libboost_chrono1_66_0
libboost_chrono1_66_0-devel
libgnutls-devel
libgnutlsxx28
liblz4-devel
libnuma-devel
libtool
lksctp-tools-devel
meson
ninja
openssl
protobuf-devel
ragel
stow
xfsprogs-devel
yaml-cpp-devel
protobuf-devel
libtool
stow
openssl
)

case "$ID" in
Expand Down

0 comments on commit 617eef3

Please sign in to comment.