aboutsummaryrefslogtreecommitdiff
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
commitbb6978c8e86ee19e82ec8e5291d0f0a5fe5383db (patch)
tree09ff810ac08e02c0726888cfab50337f80e07468 /update_external_sources.sh
parentc42c39c53a42820a98f498380687a28fd0e5cc95 (diff)
downloadusermoji-bb6978c8e86ee19e82ec8e5291d0f0a5fe5383db.tar.xz
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