diff --git a/.github/workflows/mac.yaml b/.github/workflows/mac.yaml index 1f2ad3c2d1..757e4338c7 100644 --- a/.github/workflows/mac.yaml +++ b/.github/workflows/mac.yaml @@ -85,7 +85,8 @@ jobs: if [[ ! -d "/var/tmp/ccache" ]];then mkdir -p /var/tmp/ccache fi - brew install libomp ninja openblas ccache conan pkg-config + brew install libomp ninja openblas ccache pkg-config + pip3 install conan==1.58.0 if [[ ! -d "/usr/local/opt/llvm" ]]; then ln -s /usr/local/opt/llvm@14 /usr/local/opt/llvm fi diff --git a/scripts/install_deps.sh b/scripts/install_deps.sh index a627b5b00c..93a81669d7 100755 --- a/scripts/install_deps.sh +++ b/scripts/install_deps.sh @@ -24,7 +24,7 @@ function install_linux_deps() { clang-format-10 clang-tidy-10 lcov libtool m4 autoconf automake python3 python3-pip \ pkg-config uuid-dev libaio-dev libgoogle-perftools-dev - sudo pip3 install conan + sudo pip3 install conan==1.58.0 elif [[ -x "$(command -v yum)" ]]; then # for CentOS devtoolset-11 sudo yum install -y epel-release centos-release-scl-rh @@ -35,7 +35,7 @@ function install_linux_deps() { libaio libuuid-devel unzip \ ccache lcov libtool m4 autoconf automake - sudo pip3 install conan + sudo pip3 install conan==1.58.0 echo "source scl_source enable devtoolset-11" | sudo tee -a /etc/profile.d/devtoolset-11.sh echo "source scl_source enable llvm-toolset-11.0" | sudo tee -a /etc/profile.d/llvm-toolset-11.sh echo "export CLANG_TOOLS_PATH=/opt/rh/llvm-toolset-11.0/root/usr/bin" | sudo tee -a /etc/profile.d/llvm-toolset-11.sh @@ -50,10 +50,12 @@ function install_linux_deps() { function install_mac_deps() { sudo xcode-select --install > /dev/null 2>&1 - brew install conan libomp ninja cmake llvm ccache grep + brew install libomp ninja cmake llvm ccache grep export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH" brew update && brew upgrade && brew cleanup + pip3 install conan==1.58.0 + if [[ $(arch) == 'arm64' ]]; then brew install openssl brew install librdkafka diff --git a/scripts/install_deps_msys.sh b/scripts/install_deps_msys.sh index ba1cfc9c0e..670ab81e8d 100644 --- a/scripts/install_deps_msys.sh +++ b/scripts/install_deps_msys.sh @@ -23,7 +23,7 @@ pacmanInstall() mingw-w64-x86_64-diffutils \ mingw-w64-x86_64-go - pip3 install conan + pip3 install conan==1.58.0 } updateKey()