milvus/scripts/azure_build.sh

14 lines
337 B
Bash
Raw Normal View History

ROOT_DIR=$1
ARCHITECTURE=$(uname -m)
if [[ ${ARCHITECTURE} == "aarch64" ]]; then
export VCPKG_FORCE_SYSTEM_BINARIES="arm"
fi
AZURE_CMAKE_CMD="cmake \
-DCMAKE_INSTALL_LIBDIR=${ROOT_DIR}/internal/core/output/lib \
${ROOT_DIR}/internal/core/src/storage/azure-blob-storage"
echo ${AZURE_CMAKE_CMD}
${AZURE_CMAKE_CMD}
make & make install