Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .evergreen/install-build-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ install_build_tools() {
fi

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

uv tool install -q cmake || return
uv tool install -q "cmake==4.3.4" || return

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