Skip to content

Commit 9df2ff9

Browse files
prestonvasquezmdb-ad
authored andcommitted
MONGOCRYPT-951: Pin cmake to 4.3.4 (#1200)
1 parent 6a45c6b commit 9df2ff9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.evergreen/install-build-tools.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ install_build_tools() {
5151
fi
5252

5353
if [[ "${rhel7:?}" == "1" ]]; then
54-
uv tool install -q cmake || return
54+
uv tool install -q "cmake==4.3.4" || return
5555
ln -sf /opt/mongodbtoolchain/v4/bin/ninja "${UV_TOOL_BIN_DIR:?}/ninja" || return
5656
elif [[ "${rhel6:?}" == "1" ]]; then
5757
ln -sf /opt/mongodbtoolchain/v4/bin/cmake "${UV_TOOL_BIN_DIR:?}/cmake" || return
@@ -61,7 +61,7 @@ install_build_tools() {
6161
# PyPI `cmake` requires a sufficiently recent Python version.
6262
uv python install --no-bin -q || uv python install -q || return
6363

64-
uv tool install -q cmake || return
64+
uv tool install -q "cmake==4.3.4" || return
6565

6666
if [[ -f /etc/redhat-release && -x /opt/mongodbtoolchain/v4/bin/ninja ]]; then
6767
# Avoid strange "Could NOT find Threads" CMake configuration error on RHEL when using PyPI CMake, PyPI Ninja, and

0 commit comments

Comments
 (0)