Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Scripts/update-libuv.bash
3148 views
1
#!/usr/bin/env bash
2
3
set -e
4
set -x
5
shopt -s dotglob
6
7
readonly name="libuv"
8
readonly ownership="libuv upstream <[email protected]>"
9
readonly subtree="Utilities/cmlibuv"
10
readonly repo="https://github.com/libuv/libuv.git"
11
# We cannot import libuv 1.45 or higher because it has higher
12
# minimum system requirements than we do:
13
# - It requires C11 atomics from GCC 4.9+. We support GCC 4.8.
14
# - It requires Windows 8, we support Windows 7.
15
readonly tag="v1.44.2"
16
readonly shortlog=false
17
readonly paths="
18
LICENSE
19
include
20
src
21
"
22
23
extract_source () {
24
git_archive
25
pushd "${extractdir}/${name}-reduced"
26
echo "* -whitespace" > .gitattributes
27
echo >> src/unix/aix-common.c
28
echo >> src/unix/ibmi.c
29
popd
30
}
31
32
. "${BASH_SOURCE%/*}/update-third-party.bash"
33
34