1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-05-08 22:37:04 +08:00
CMake/Utilities/Scripts/update-libuv.bash
Brad King 703e3e03c3 libuv: Comment why we cannot update past 1.44.2
libuv 1.45 and above have higher minimum requirements than we do.
Until we raise ours, we will have to stick with 1.44.2 and backport
any further changes we need.
2023-08-18 15:52:49 -04:00

33 lines
774 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="libuv"
readonly ownership="libuv upstream <libuv@googlegroups.com>"
readonly subtree="Utilities/cmlibuv"
readonly repo="https://github.com/libuv/libuv.git"
# We cannot import libuv 1.45 or higher because it has higher
# minimum system requirements than we do:
# - It requires C11 atomics from GCC 4.9+. We support GCC 4.8.
# - It requires Windows 8, we support Windows 7.
readonly tag="v1.44.2"
readonly shortlog=false
readonly paths="
LICENSE
include
src
"
extract_source () {
git_archive
pushd "${extractdir}/${name}-reduced"
echo "* -whitespace" > .gitattributes
echo >> src/unix/aix-common.c
echo >> src/unix/ibmi.c
popd
}
. "${BASH_SOURCE%/*}/update-third-party.bash"