From 906a761e347b0cadfc6cbe9f75e269190f69a62c Mon Sep 17 00:00:00 2001 From: Tian jianyong <11429339@qq.com> Date: Fri, 20 Dec 2024 12:22:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=93=E5=8C=85=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/prepare_deploy.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/prepare_deploy.sh b/scripts/prepare_deploy.sh index b170082..62e00ca 100644 --- a/scripts/prepare_deploy.sh +++ b/scripts/prepare_deploy.sh @@ -44,10 +44,11 @@ if ! command -v repotrack &> /dev/null; then sudo yum install -y yum-utils fi -if ! command -v cmake3 &> /dev/null; then - sudo yum install -y epel-release - sudo yum install -y cmake3 -fi +# Install build dependencies +log_info "Installing build dependencies..." +sudo yum groupinstall -y "Development Tools" +sudo yum install -y epel-release +sudo yum install -y cmake3 boost-devel openssl-devel nlohmann-json-devel python3-devel # Download Python3 and dependencies repotrack python3 python3-pip python3-devel