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

30 lines
861 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
x86_64_deployment_target=$(cat ./resources/x86_64_deployment_target.txt)
readonly x86_64_deployment_target
local arm64_deployment_target
arm64_deployment_target=$(cat ./resources/arm64_deployment_target.txt)
readonly arm64_deployment_target
2020-08-21 09:59:40 +03:00
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
2020-09-05 13:53:43 +03:00
python3 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