update-libuv.bash 774 B

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