File tree Expand file tree Collapse file tree 2 files changed +40
-2
lines changed
Expand file tree Collapse file tree 2 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ jobs:
111111 permissions :
112112 id-token : write
113113 name : publish
114+ env :
115+ CMAKE_POLICY_VERSION_MINIMUM : 3.5
114116 steps :
115117 - name : Free Disk Space
116118 uses : jlumbroso/free-disk-space@main
@@ -131,7 +133,6 @@ jobs:
131133 gcc \
132134 g++ \
133135 make \
134- cmake \
135136 binutils \
136137 libibverbs-dev \
137138 librdmacm-dev \
@@ -143,6 +144,24 @@ jobs:
143144 libhiredis-dev \
144145 liburing-dev
145146
147+ # install cmake
148+ cd /tmp && \
149+ wget -q https://cmake.org/files/v4.1/cmake-4.1.3-linux-x86_64.sh && \
150+ sudo bash cmake-4.1.3-linux-x86_64.sh --skip-license --prefix=/usr && \
151+ rm cmake-4.1.3-linux-x86_64.sh && \
152+ cd -
153+
154+ # libevhtp uses TestEndianess.c.in
155+ ln -s /usr/share/cmake-4.1/Modules/TestEndianness.c.in /usr/share/cmake-4.1/Modules/TestEndianess.c.in
156+
157+ # install ucx
158+ cd /tmp && \
159+ wget -q https://github.com/openucx/ucx/releases/download/v1.19.0/ucx-1.19.0-ubuntu22.04-mofed5-cuda12-x86_64.tar.bz2 && \
160+ tar xvf ucx-1.19.0-ubuntu22.04-mofed5-cuda12-x86_64.tar.bz2 && \
161+ sudo dpkg -i ucx-1.19.0.deb ucx-cuda-1.19.0.deb ucx-xpmem-1.19.0.deb && \
162+ rm /tmp/ucx-1.19.0-ubuntu22.04-mofed5-cuda12-x86_64.tar.bz2 /tmp/ucx-1.19.0.deb /tmp/ucx-cuda-1.19.0.deb /tmp/ucx-xpmem-1.19.0.deb && \
163+ cd -
164+
146165 # install python dependencies
147166 pip install -r requirements.txt
148167 - name : Build
Original file line number Diff line number Diff line change 4444 matrix :
4545 os : [ubuntu-22.04]
4646 python-version : ["3.11", "3.12"]
47+ env :
48+ CMAKE_POLICY_VERSION_MINIMUM : 3.5
4749 steps :
4850 - name : Free Disk Space
4951 uses : jlumbroso/free-disk-space@main
7173 gcc \
7274 g++ \
7375 make \
74- cmake \
7576 binutils \
7677 libibverbs-dev \
7778 librdmacm-dev \
8384 libhiredis-dev \
8485 liburing-dev
8586
87+ # install cmake
88+ cd /tmp && \
89+ wget -q https://cmake.org/files/v4.1/cmake-4.1.3-linux-x86_64.sh && \
90+ sudo bash cmake-4.1.3-linux-x86_64.sh --skip-license --prefix=/usr && \
91+ rm cmake-4.1.3-linux-x86_64.sh && \
92+ cd -
93+
94+ # libevhtp uses TestEndianess.c.in
95+ ln -s /usr/share/cmake-4.1/Modules/TestEndianness.c.in /usr/share/cmake-4.1/Modules/TestEndianess.c.in
96+
97+ # install ucx
98+ cd /tmp && \
99+ wget -q https://github.com/openucx/ucx/releases/download/v1.19.0/ucx-1.19.0-ubuntu22.04-mofed5-cuda12-x86_64.tar.bz2 && \
100+ tar xvf ucx-1.19.0-ubuntu22.04-mofed5-cuda12-x86_64.tar.bz2 && \
101+ sudo dpkg -i ucx-1.19.0.deb ucx-cuda-1.19.0.deb ucx-xpmem-1.19.0.deb && \
102+ rm /tmp/ucx-1.19.0-ubuntu22.04-mofed5-cuda12-x86_64.tar.bz2 /tmp/ucx-1.19.0.deb /tmp/ucx-cuda-1.19.0.deb /tmp/ucx-xpmem-1.19.0.deb && \
103+ cd -
104+
86105 # install clang-format-19
87106 sudo curl -fsSL --retry 3 --retry-delay 2 https://github.com/muttleyxd/clang-tools-static-binaries/releases/download/master-46b8640/clang-format-19_linux-amd64 -o /usr/bin/clang-format-19 || { echo "ERROR: Failed to download clang-format-19"; exit 1; }
88107 test -s /usr/bin/clang-format-19 || { echo "ERROR: Downloaded file is empty"; exit 1; }
You can’t perform that action at this time.
0 commit comments