summaryrefslogtreecommitdiff
path: root/update_external_sources.sh
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtney@LunarG.com>2014-10-29 17:50:15 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2014-10-31 15:29:19 -0600
commit90a6f4bb09b99d7789321673686e7147198222ef (patch)
tree5b4ac55afcd3f4835e8e945c994fbab17baa504d /update_external_sources.sh
parenteab90101f6b6cddb2ec331cf91040fad11f0d49c (diff)
xgl: Update to specific version of external libraries
As the BIL spec is rapidly changing, we will explicitly check out the working version at the time the driver was tested. Need to update the REVISION values in the update_external_sources.sh to update to later versions of BIL.
Diffstat (limited to 'update_external_sources.sh')
-rwxr-xr-xupdate_external_sources.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/update_external_sources.sh b/update_external_sources.sh
index 9beb7b9b..388c488e 100755
--- a/update_external_sources.sh
+++ b/update_external_sources.sh
@@ -2,6 +2,10 @@
# 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/..
@@ -15,7 +19,7 @@ function create_glslang () {
function update_glslang () {
echo "Updating $BASEDIR/glslang"
cd $BASEDIR/glslang
- svn update
+ svn update -r "$GLSLANG_REVISION"
}
function create_LunarGLASS () {
@@ -44,14 +48,14 @@ function create_BIL () {
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
@@ -108,5 +112,5 @@ update_glslang
update_LunarGLASS
update_BIL
-build_LunarGLASS
build_glslang
+build_LunarGLASS