fix vcpkg install path (#27635)

Signed-off-by: PowderLi <min.li@zilliz.com>
This commit is contained in:
PowderLi 2023-10-11 04:27:33 -05:00 committed by GitHub
parent cbb350c552
commit 07809880b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -228,6 +228,8 @@ if [ -z "$BUILD_WITHOUT_AZURE" ]; then
ARCHITECTURE=$(uname -m)
if [[ ${ARCHITECTURE} == "x86_64" ]]; then
ARCHITECTURE="x64"
elif [[ ${ARCHITECTURE} == "aarch64" ]]; then
ARCHITECTURE="arm64"
fi
VCPKG_TARGET_TRIPLET=${ARCHITECTURE}-${SYSTEM_NAME}
fi