Preserve the isl-noexceptions.h C++ bindings when updating isl

The bindings currently need to be generated manually, as they are not yet
part of the official isl distribution. Hence, we keep them across updates
assuming they only need to be updated when new functions or functionality
should be exposed.

llvm-svn: 297710
This commit is contained in:
Tobias Grosser 2017-03-14 07:46:28 +00:00
parent 9c19a0e16a
commit d614b3e6bd
1 changed files with 3 additions and 0 deletions

View File

@ -23,8 +23,11 @@ mkdir -p $BUILDDIR
for DISTFILE in "$BUILDDIR/isl*.tar.gz"; do break; done
cp $ISL_SOURCE_DIR/include/isl-noexceptions.h $TMPDIR/isl-noexceptions.h
rm -rf $ISL_SOURCE_DIR
mkdir -p $ISL_SOURCE_DIR
tar -xf $DISTFILE --strip-components=1 --directory $ISL_SOURCE_DIR
cp $TMPDIR/isl-noexceptions.h $ISL_SOURCE_DIR/include/
rm -rf $TMPDIR