Skip to content

Commit e1eabc6

Browse files
committed
[workflows] Upgrade CMake in Ubuntu AArch64 container image
CMake 3.20 suffered from a bug that caused `find_library` to malfunction on Ubuntu when Clang prepends `$CLANG_DIR/lib/$LLVM_HOST_TARGET` to the search path for the linkder `ld`. This patch upgrades the version of CMake used for the AArch64 CI workflow, to match the one used for the X86 CI workflow, which also fixes the bug. Reference: https://gitlab.kitware.com/cmake/cmake/-/issues/25136
1 parent b16a35a commit e1eabc6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/UbuntuDockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ RUN apt --fix-missing update && \
3737
libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl
3838

3939
RUN cd /opt && \
40-
wget https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0-linux-aarch64.sh && \
41-
/bin/sh cmake-3.20.0-linux-aarch64.sh --skip-license --include-subdir && \
42-
ln -s /opt/cmake-3.20.0-linux-aarch64/bin/* /usr/local/bin
40+
wget https://github.com/Kitware/CMake/releases/download/v3.30.3/cmake-3.30.3-linux-aarch64.sh && \
41+
/bin/sh cmake-3.30.3-linux-aarch64.sh --skip-license --include-subdir && \
42+
ln -s /opt/cmake-3.30.3-linux-aarch64/bin/* /usr/local/bin
4343

4444
RUN ln -s /usr/bin/ninja-build /usr/local/bin/ninja
4545

0 commit comments

Comments
 (0)