update-libuv.bash 806 B

123456789101112131415161718192021222324252627282930313233
  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 exact_tree_match=false
  16. readonly paths="
  17. LICENSE
  18. include
  19. src
  20. "
  21. extract_source () {
  22. git_archive
  23. pushd "${extractdir}/${name}-reduced"
  24. echo "* -whitespace" > .gitattributes
  25. echo >> src/unix/aix-common.c
  26. echo >> src/unix/ibmi.c
  27. popd
  28. }
  29. . "${BASH_SOURCE%/*}/update-third-party.bash"