1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-03 00:54:42 +03:00
vimr/bin/build_deps.sh

30 lines
901 B
Bash
Raw Normal View History

#!/bin/bash
2019-12-22 23:45:42 +03:00
set -Eeuo pipefail
2020-02-14 09:44:48 +03:00
main () {
2020-08-21 09:59:40 +03:00
pushd "$(dirname "${BASH_SOURCE[0]}")/.." > /dev/null
2020-11-16 00:11:01 +03:00
local x86_64_deployment_target
2022-01-11 16:11:17 +03:00
x86_64_deployment_target="$(jq -r .deploymentTargets.x86_64 ./resources/buildInfo.json)"
2020-11-16 00:11:01 +03:00
readonly x86_64_deployment_target
local arm64_deployment_target
2022-01-11 16:11:17 +03:00
arm64_deployment_target="$(jq -r .deploymentTargets.arm64 ./resources/buildInfo.json)"
2020-11-16 00:11:01 +03:00
readonly arm64_deployment_target
2020-08-21 09:59:40 +03:00
local -r pcre_version="8.45"
local -r xz_version="5.3.2alpha"
2020-08-21 09:59:40 +03:00
local -r ag_version="2.2.0"
pushd ./bin >/dev/null
python third_party/build.py \
2020-08-21 09:59:40 +03:00
--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
2020-02-14 09:44:48 +03:00
}
main