Skip to content

Commit cab9da6

Browse files
committed
[CI] issue: HPCINFRA-3581 Clang-tools-extra 19.1.7
Upgrade Clang-tools-extra from 18.1 to 19.1 Signed-off-by: NirWolfer <[email protected]>
1 parent 4c4e091 commit cab9da6

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

.ci/dockerfiles/Dockerfile.rhel8.6

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,32 @@ ARG _UID=6213
55
ARG _GID=101
66
ARG _LOGIN=swx-jenkins
77
ARG _HOME=/var/home/$_LOGIN
8+
89
RUN echo "${_LOGIN} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
910
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
1011
mkdir -p ${_HOME} && \
1112
groupadd -f -g "$_GID" "$_LOGIN" && \
1213
useradd -u "$_UID" -g "$_GID" -s /bin/bash -m -d ${_HOME} "${_LOGIN}" && \
1314
chown -R ${_LOGIN} ${_HOME} && \
1415
mkdir /build && chown -R ${_LOGIN} /build
16+
RUN rm -f /etc/yum.repos.d/sw-rivermax ubi.repo
1517

1618
FROM core as static
1719
ARG _LOGIN=swx-jenkins
1820

19-
RUN yum install -y yum-utils \
20-
&& yum-config-manager --add-repo https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/ \
21-
&& yum --nogpgcheck install -y cppcheck \
22-
&& yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
23-
&& yum install -y csbuild clang-tools-extra sudo curl autoconf automake make libtool \
24-
libnl3-devel libnl3 rdma-core-devel rdma-core bc \
25-
&& yum clean all
21+
RUN echo "[sw-rivermax-rpm]" > /etc/yum.repos.d/sw-rivermax-rpm.repo && \
22+
echo "name=sw-rivermax-rpm" >> /etc/yum.repos.d/sw-rivermax-rpm.repo && \
23+
echo "baseurl=https://urm.nvidia.com/artifactory/sw-rivermax-rpm/" >> /etc/yum.repos.d/sw-rivermax-rpm.repo && \
24+
echo "enabled=1" >> /etc/yum.repos.d/sw-rivermax-rpm.repo && \
25+
echo "gpgcheck=0" >> /etc/yum.repos.d/sw-rivermax-rpm.repo && \
26+
yum makecache && \
27+
yum install -y yum-utils clang-tools-extra-19.1.7 sudo curl autoconf automake make libtool \
28+
libnl3-devel libnl3 rdma-core-devel rdma-core bc && \
29+
yum-config-manager --add-repo https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/ && \
30+
yum --nogpgcheck install -y cppcheck && \
31+
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
32+
yum install -y csbuild && \
33+
yum clean all
2634

2735
RUN pip3 install -U pip --no-cache-dir \
2836
&& pip3 install compiledb --no-cache-dir

.ci/matrix_job.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,13 @@ runs_on_dockers:
9999
build_args: '--no-cache --target static',
100100
category: 'tool'
101101
}
102-
- {name: 'xlio_static.csbuild', url: 'harbor.mellanox.com/swx-infra/media/x86_64/xlio_static.csbuild-clang18:20250515', category: 'tool', arch: 'x86_64' }
102+
- {file: '.ci/dockerfiles/Dockerfile.rhel8.6',
103+
arch: 'x86_64',
104+
name: 'xlio_static.csbuild',
105+
uri: '$arch/$name',
106+
tag: '20250521',
107+
build_args: '--no-cache --target static',
108+
category: 'tool'
103109
# tests
104110
- {
105111
file: '.ci/dockerfiles/Dockerfile.ubuntu22.04',

0 commit comments

Comments
 (0)