Skip to content

Commit 7f8706e

Browse files
committed
Fix cmake version
1 parent 373d43f commit 7f8706e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

components/core/tools/scripts/lib_install/manylinux_2_28/install-prebuilt-packages.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ curl \
4040
dnf install --assumeyes "$task_pkg_path"
4141
rm "$task_pkg_path"
4242

43-
# Downgrade to CMake v3 to work around https://github.com/y-scope/clp/issues/795
44-
if ! command -v cmake ; then
45-
pipx install cmake~=3.31
43+
# Install CMake v3.31.x as ANTLR and yaml-cpp do not yet support CMake v4+.
44+
# See also: https://github.com/y-scope/clp/issues/795
45+
if command -v cmake ; then
46+
pipx uninstall cmake
4647
fi
48+
pipx install "cmake~=3.31"

0 commit comments

Comments
 (0)