aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Fischer <greg@lunarg.com>2015-10-02 13:05:27 -0600
committerGreg Fischer <greg@lunarg.com>2015-10-02 13:16:29 -0600
commit07ed5b612cd419a626586f8e98cc5cbf77b28fd2 (patch)
tree0ab6bae417d76417cd88386bd2d6a77a11bd5229
parent72c558551c954efaf0fda73575e70626ca1af352 (diff)
downloadusermoji-07ed5b612cd419a626586f8e98cc5cbf77b28fd2.tar.xz
update_external_sources: get glslang from gitlab
This is the new way to get the tools for private SPIR-V rev32
-rwxr-xr-xupdate_external_sources.bat9
1 files changed, 5 insertions, 4 deletions
diff --git a/update_external_sources.bat b/update_external_sources.bat
index e21f4826..2586875f 100755
--- a/update_external_sources.bat
+++ b/update_external_sources.bat
@@ -256,7 +256,9 @@ REM // ======== Functions ======== //
echo Creating local glslang repository %GLSLANG_DIR%)
mkdir %GLSLANG_DIR%
cd %GLSLANG_DIR%
- git clone https://github.com/KhronosGroup/glslang.git .
+ git clone git@gitlab.khronos.org:GLSL/glslang.git .
+ git branch --track Rev32 origin/Rev32
+ git checkout Rev32
git checkout %GLSLANG_REVISION%
if not exist %GLSLANG_DIR%\SPIRV (
echo glslang source download failed!
@@ -268,9 +270,8 @@ goto:eof
echo.
echo Updating %GLSLANG_DIR%
cd %GLSLANG_DIR%
- svn.exe checkout --force https://cvs.khronos.org/svn/repos/SPIRV/trunk/glslang/ .
- svn.exe update -r %GLSLANG_REVISION_R32%
- svn.exe revert -R .
+ git checkout Rev32
+ git checkout %GLSLANG_REVISION%
goto:eof
:create_LunarGLASS