Add update script for LCL

This commit is contained in:
Sujin Philip 2019-10-07 13:59:06 -04:00
parent be03d1c2b5
commit d0c6d16123
2 changed files with 26 additions and 1 deletions

2
.gitattributes vendored

@ -17,4 +17,4 @@ data/** filter=lfs diff=lfs merge=lfs -text
vtkm/thirdparty/diy/vtkmdiy/** -format.clang-format -whitespace
vtkm/thirdparty/optionparser/vtkmoptionparser/** -format.clang-format -whitespace
vtkm/thirdparty/lodepng/vtkmlodepng/** -format.clang-format -whitespace
vtkm/thirdparty/vtkc/vtkmvtkc/** -format.clang-format -whitespace
vtkm/thirdparty/lcl/vtkmlcl/** -format.clang-format -whitespace

25
vtkm/thirdparty/lcl/update.sh vendored Executable file

@ -0,0 +1,25 @@
#!/usr/bin/env bash
set -e
set -x
shopt -s dotglob
readonly name="lcl"
readonly ownership="Lightweight Cell Library Upstream <kwrobot@kitware.com>"
readonly subtree="vtkm/thirdparty/$name/vtkm$name"
readonly repo="https://gitlab.kitware.com/vtk/lcl.git"
readonly tag="master"
readonly paths="
lcl
LICENSE.md
README.md
"
extract_source () {
git_archive
pushd "${extractdir}/${name}-reduced"
rm -rf lcl/testing
popd
}
. "${BASH_SOURCE%/*}/../update-common.sh"