Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xrtdeps : fix and update Fedora package list #8633

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/runtime_src/core/common/aiebu
Submodule aiebu updated from 89f332 to 0f3a6a
141 changes: 78 additions & 63 deletions src/runtime_src/tools/scripts/xrtdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,69 +247,84 @@ ub_package_list()

fd_package_list()
{
FD_LIST=(\
boost-devel \
boost-filesystem \
boost-program-options \
boost-static \
cmake \
cppcheck \
curl \
dkms \
dmidecode \
elfutils-devel \
elfutils-libs \
gcc \
gcc-c++ \
gdb \
git \
glibc-static \
gnuplot \
gnutls-devel \
gtest-devel \
json-glib-devel \
kernel-devel-$(uname -r) \
kernel-headers-$(uname -r) \
libcurl-devel \
libdrm-devel \
libffi-devel \
libjpeg-turbo-devel \
libpng12-devel \
libstdc++-static \
libtiff-devel \
libudev-devel \
libuuid-devel \
libyaml-devel \
lm_sensors \
make \
ncurses-devel \
ocl-icd \
ocl-icd-devel \
opencl-headers \
opencv \
openssl-devel \
openssl-static \
pciutils \
perl \
pkgconfig \
protobuf-compiler \
protobuf-devel \
protobuf-static \
python \
python-pip \
python2-sphinx \
python3 \
python3-pip \
redhat-lsb \
rapidjson-devel \
rpm-build \
strace \
systemd-devel \
systemd-devel \
systemtap-sdt-devel \
unzip \
zlib-static \
)
FD_LIST=(\
boost-devel \
boost-filesystem \
boost-program-options \
cmake \
cppcheck \
curl \
dkms \
dmidecode \
elfutils-devel \
elfutils-libs \
gcc \
gcc-c++ \
gdb \
git \
glibc-static \
gnuplot \
gnutls-devel \
gtest-devel \
json-glib-devel \
kernel-devel-$(uname -r) \
kernel-headers-$(uname -r) \
libcurl-devel \
libdrm-devel \
libffi-devel \
libjpeg-turbo-devel \
libpng12-devel \
libstdc++-static \
libtiff-devel \
libudev-devel \
libuuid-devel \
libyaml-devel \
lm_sensors \
make \
ncurses-devel \
ocl-icd \
ocl-icd-devel \
opencl-headers \
opencv \
openssl-devel \
pciutils \
perl \
pkgconfig \
protobuf-compiler \
protobuf-devel \
python \
python-pip \
python3 \
python3-pip \
redhat-lsb \
rapidjson-devel \
rpm-build \
strace \
systemd-devel \
systemtap-sdt-devel \
unzip \
zlib-static \
)

# Detect Fedora version
FEDORA_VERSION=$(grep "^VERSION_ID=" /etc/os-release | cut -d'=' -f2 | tr -d '"')

# Add openssl-static if Fedora <= 35
if (( FEDORA_VERSION <= 35 )); then
FD_LIST+=("openssl-static")
fi

# Add protobuf-static if Fedora <= 38
if (( FEDORA_VERSION <= 38 )); then
FD_LIST+=("protobuf-static")
fi

# Add python2-sphinx if Fedora < 32, else python3-sphinx
if (( FEDORA_VERSION < 32 )); then
FD_LIST+=("python2-sphinx")
else
FD_LIST+=("python3-sphinx")
fi
}


Expand Down