# Update source for glslang and LLVM
# Copy necessary BIL pieces into glslang and LLVM
+BIL_REVISION=28725
+LUNARGLASS_REVISION=1052
+GLSLANG_REVISION=28653
+
BUILDDIR=$PWD
BASEDIR=$BUILDDIR/..
function update_glslang () {
echo "Updating $BASEDIR/glslang"
cd $BASEDIR/glslang
- svn update
+ svn update -r "$GLSLANG_REVISION"
}
function create_LunarGLASS () {
function update_LunarGLASS () {
echo "Updating $BASEDIR/LunarGLASS"
cd $BASEDIR/LunarGLASS
- svn update
+ svn update -r "$LUNARGLASS_REVISION"
}
function update_BIL () {
if [ -d "$BASEDIR/BIL" ]; then
# Update source
cd $BASEDIR/BIL
- svn update
+ svn update -r "$BIL_REVISION"
# copy of necessary BIL pieces into glslang
cp $BASEDIR/BIL/glslangOverlay_into_BIL/* $BASEDIR/glslang/BIL
cp $BASEDIR/BIL/Bil.h $BASEDIR/glslang/BIL
update_LunarGLASS
update_BIL
-build_LunarGLASS
build_glslang
+build_LunarGLASS