Skip to content

Commit 232afaa

Browse files
committed
[CI] Build zstd for release build container
We enabled using zstd for release builds, but it requires zstd static library. zstd and libzstd-devel packages don't contain libzstd.a, therefore building from source.
1 parent b87d667 commit 232afaa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

devops/containers/release_build.Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ RUN dnf -y install https://repo.radeon.com/amdgpu-install/6.4.1/rhel/8.10/amdgpu
2020
dnf -y install rocm && \
2121
dnf clean all && rm -rf /var/cache/dnf
2222

23+
# Build zstd static library from sources
24+
RUN git clone https://github.com/facebook/zstd.git /tmp/zstd && \
25+
cd /tmp/zstd && \
26+
make && \
27+
make install && \
28+
rm -rf /tmp/zstd
29+
2330
COPY scripts/docker_entrypoint.sh /docker_entrypoint.sh
2431

2532
USER sycl

0 commit comments

Comments
 (0)