Skip to content

Commit

Permalink
[build] upgrade CMake to 3.20.2 (openthread#81)
Browse files Browse the repository at this point in the history
We need to upgrade CMake because ot-commissioner has a minimum
requirement of 3.20.1. The exact 3.20.1 version is not available via
pip so we'll install 3.20.2.
  • Loading branch information
superwhd authored Jul 30, 2024
1 parent 07155e6 commit 4945ba5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
git_archive_all
git_archive_all
4 changes: 1 addition & 3 deletions script/otbr-setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,9 @@ su -c "DOCKER=1 ${build_options[*]} script/bootstrap" pi
rm -rf /home/pi/repo/ot-br-posix/third_party/openthread/repo
cp -r /home/pi/repo/openthread /home/pi/repo/ot-br-posix/third_party/openthread/repo

# Pin CMake version to 3.10.3 for issue https://github.com/openthread/ot-br-posix/issues/728.
# For more background, see https://gitlab.kitware.com/cmake/cmake/-/issues/20568.
apt-get purge -y cmake
pip3 install scikit-build
pip3 install cmake==3.10.3
pip3 install cmake==3.20.2
cmake --version

pip3 install zeroconf
Expand Down

0 comments on commit 4945ba5

Please sign in to comment.