1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-15 03:48:02 +08:00
Files
CMake/Utilities/Scripts/update-zstd.bash
Cristian Adam 2ca54e7179 zstd: version 1.4.5 update
Add source files needed to properly compile / link to zstd
version 1.4.5
2020-09-23 19:09:16 +02:00

37 lines
699 B
Bash
Executable File

#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="zstd"
readonly ownership="zstd upstream <kwrobot@kitware.com>"
readonly subtree="Utilities/cmzstd"
readonly repo="https://github.com/facebook/zstd.git"
readonly tag="v1.4.5"
readonly shortlog=false
readonly paths="
LICENSE
README.md
lib/common/*.c
lib/common/*.h
lib/compress/*.c
lib/compress/*.h
lib/decompress/*.c
lib/decompress/*.h
lib/deprecated/*.c
lib/deprecated/*.h
lib/dictBuilder/*.c
lib/dictBuilder/*.h
lib/zstd.h
"
extract_source () {
git_archive
pushd "${extractdir}/${name}-reduced"
echo "* -whitespace" > .gitattributes
popd
}
. "${BASH_SOURCE%/*}/update-third-party.bash"