1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 07:13:24 +03:00
vimr/bin/build_deps.sh
2020-08-21 08:59:40 +02:00

25 lines
733 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
main () {
pushd "$(dirname "${BASH_SOURCE[0]}")/.." > /dev/null
local -r x86_64_deployment_target=$(cat ./resources/x86_64_deployment_target.txt)
local -r arm64_deployment_target=$(cat ./resources/arm64_deployment_target.txt)
local -r pcre_version="8.43"
local -r xz_version="5.2.4"
local -r ag_version="2.2.0"
pushd ./third-party >/dev/null
python build.py \
--arm64-deployment-target="${arm64_deployment_target}" \
--x86_64-deployment-target="${x86_64_deployment_target}" \
--xz-version "${xz_version}" \
--pcre-version "${pcre_version}" \
--ag-version "${ag_version}"
popd >/dev/null
popd >/dev/null
}
main