From 895a2a2cba461dc79eca88660944fd0fd1fd18fe Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Wed, 13 Dec 2023 15:04:39 +0800 Subject: [PATCH] Update prepare_build_environment.sh --- ci/prepare_build_environment.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/ci/prepare_build_environment.sh b/ci/prepare_build_environment.sh index 0309c100f1e9..44370733261a 100755 --- a/ci/prepare_build_environment.sh +++ b/ci/prepare_build_environment.sh @@ -8,18 +8,11 @@ fi install_protobuf_centos() { PB_REL="https://github.com/protocolbuffers/protobuf/releases" - curl -SLO $PB_REL/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip + curl -LO $PB_REL/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip unzip protoc-3.15.8-linux-x86_64.zip -d /usr rm protoc-3.15.8-linux-x86_64.zip } -install_hipblas_5_7_2_centos() { - curl -SL https://repo.radeon.com/amdgpu-install/5.7.2/rhel/7.9/amdgpu-install-5.7.50702-1.el7.noarch.rpm --output /tmp/amdgpu-install.rpm - yum -y install /tmp/amdgpu-install.rpm - rm /tmp/amdgpu-install.rpm - yum -y install hipblas-devel hipblaslt-devel rocblas-devel -} - if [[ "$OSTYPE" == "linux"* ]]; then if command -v apt-get ; then sudo apt-get -y install protobuf-compiler libopenblas-dev @@ -27,10 +20,6 @@ if [[ "$OSTYPE" == "linux"* ]]; then # Build from manylinux2014 container yum -y install openblas-devel perl-IPC-Cmd unzip curl openssl-devel - if [[ "$ROCM" == "5.7.2" ]]; then - install_hipblas_5_7_2_centos - fi - # Disable safe directory in docker git config --system --add safe.directory "*"