Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Kitware
GitHub Repository: Kitware/CMake
Path: blob/master/Utilities/Scripts/update-libuv.bash
5015 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 exact_tree_match=false
18
readonly paths="
19
LICENSE
20
include
21
src
22
"
23
24
extract_source () {
25
git_archive
26
pushd "${extractdir}/${name}-reduced"
27
echo "* -whitespace" > .gitattributes
28
echo >> src/unix/aix-common.c
29
echo >> src/unix/ibmi.c
30
popd
31
}
32
33
. "${BASH_SOURCE%/*}/update-third-party.bash"
34
35