devops: build FFMPEG using MacOS 11 (#9402)
This commit is contained in:
parent
49a53e23df
commit
a3fb39e7c5
|
|
@ -1 +1 @@
|
||||||
1005
|
1006
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,17 @@ fi
|
||||||
|
|
||||||
trap "cd $(pwd -P)" EXIT
|
trap "cd $(pwd -P)" EXIT
|
||||||
cd "$(dirname $0)"
|
cd "$(dirname $0)"
|
||||||
|
SCRIPT_FOLDER="$(pwd -P)"
|
||||||
|
source "${SCRIPT_FOLDER}/../utils.sh"
|
||||||
|
|
||||||
|
CURRENT_HOST_OS_VERSION=$(getMacVersion)
|
||||||
|
# As of Oct 2021, we build FFMPEG for Mac with Xcode 13 to align toolchains.
|
||||||
|
if [[ "${CURRENT_HOST_OS_VERSION}" == "11."* ]]; then
|
||||||
|
selectXcodeVersionOrDie "13"
|
||||||
|
else
|
||||||
|
echo "ERROR: ${CURRENT_HOST_OS_VERSION} is not supported"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
source ./CONFIG.sh
|
source ./CONFIG.sh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue