From e43e7fe94d6261ed5373cb0312957f3463e78d94 Mon Sep 17 00:00:00 2001 From: Jochem Rutgers <68805714+jhrutgers@users.noreply.github.com> Date: Fri, 7 Jun 2024 23:53:19 +0200 Subject: [PATCH] fixing bootstrap --- dist/macos/bootstrap.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dist/macos/bootstrap.sh b/dist/macos/bootstrap.sh index df1e0eec..7eea2f1c 100755 --- a/dist/macos/bootstrap.sh +++ b/dist/macos/bootstrap.sh @@ -32,7 +32,7 @@ fi function do_install { if [[ ${do_brew} == 1 ]]; then for p in "$@"; do - if ! brew ls --versions "$p" >/dev/null; then + if ! brew ls --versions "$p"; then HOMEBREW_NO_AUTO_UPDATE=1 brew install "$p" || gotErr fi done @@ -48,11 +48,10 @@ if which python3 > /dev/null; then elif [[ ${do_brew} == 1 ]]; then do_install python3 elif [[ ${do_port} == 1 ]]; then - do_install python311 + do_install python312 + do_install py312-pip fi -python3 -m ensurepip - if [[ ${do_brew} == 1 ]]; then do_install zeromq elif [[ ${do_port} == 1 ]]; then @@ -63,7 +62,7 @@ set +x if [[ ${do_brew} == 1 ]]; then echo -e "\nSuggested packages to install manually:\n" - echo -e " brew install cppcheck clang-format@11 lcov" + echo -e " brew install cppcheck clang-format@18 lcov" elif [[ ${do_port} == 1 ]]; then echo -e "\nSuggested packages to install manually:\n" echo -e " sudo port install cppcheck lcov"