Skip to content

Commit

Permalink
Add msgpack and joblib into install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vin-huang committed Sep 18, 2024
1 parent c174a61 commit 0351f7e
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ install_packages( )
local library_dependencies_fedora=( "gcc-gfortran" "make" "cmake" "gcc-c++" "libcxx-devel" "rpm-build" "numactl-libs" )
local library_dependencies_sles=( "gcc-fortran" "make" "cmake" "gcc-c++" "libcxxtools9" "rpm-build" )

local client_dependencies_ubuntu=( "python3" "python3-yaml" )
local client_dependencies_centos=( "python36" "python3-pip" )
local client_dependencies_centos8=( "python39" "python3-pip" )
local client_dependencies_fedora=( "python36" "PyYAML" "python3-pip" )
local client_dependencies_sles=( "pkg-config" "dpkg" "python3-pip" )
local client_dependencies_ubuntu=( "python3" "python3-yaml" "python3-joblib" )
local client_dependencies_centos=( "python36" "python3-pip" "python3-joblib" )
local client_dependencies_centos8=( "python39" "python3-pip" "python3-joblib" )
local client_dependencies_fedora=( "python36" "PyYAML" "python3-pip" "python3-joblib" )
local client_dependencies_sles=( "pkg-config" "dpkg" "python3-pip" "python3-joblib" )

if [[ ( "${ID}" == "centos" ) || ( "${ID}" == "rhel" ) ]]; then
if [[ "${VERSION_ID}" == "6" ]]; then
Expand All @@ -179,6 +179,11 @@ install_packages( )
fi
fi

if [[ "${tensile_msgpack_backend}" == true ]]; then
client_dependencies_ubuntu+=("libmsgpack-dev")
client_dependencies_fedora+=("msgpack-devel")
fi

# wget is needed for blis
if [[ ! -e "${build_dir}/deps/blis/lib/libblis.a" ]]; then
client_dependencies_ubuntu+=("wget")
Expand Down Expand Up @@ -697,3 +702,4 @@ pushd .

fi
popd

0 comments on commit 0351f7e

Please sign in to comment.