https://github.com/Kitware/CMake
Raw File
Tip revision: 105cb4ee02adcb3754a388b71db54ff8a01b1313 authored by Brad King on 13 February 2024, 14:07:34 UTC
CMake 3.29.0-rc1
Tip revision: 105cb4e
update-libuv.bash
#!/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"
back to top