diff options
| author | GregF <greg@LunarG.com> | 2015-09-23 11:16:44 -0600 |
|---|---|---|
| committer | GregF <greg@LunarG.com> | 2015-09-23 11:36:43 -0600 |
| commit | 2647f3216cab3a51c5bbe016055fdbbf5651c55d (patch) | |
| tree | 3a18db9890816a9eda9dff44f6e85d31a32be9a6 | |
| parent | bd58b3dcc748e2cb9b3e648b60b887380f4b1931 (diff) | |
| download | usermoji-2647f3216cab3a51c5bbe016055fdbbf5651c55d.tar.xz | |
build: fix update_external_sources.bat to pick up SPIRV rev32 for glslang
| -rwxr-xr-x | update_external_sources.bat | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/update_external_sources.bat b/update_external_sources.bat index 81b29e18..e21f4826 100755 --- a/update_external_sources.bat +++ b/update_external_sources.bat @@ -194,9 +194,15 @@ set /p GLSLANG_REVISION= < glslang_revision echo LUNARGLASS_REVISION=%LUNARGLASS_REVISION%
echo GLSLANG_REVISION=%GLSLANG_REVISION%
+set /p LUNARGLASS_REVISION_R32= < LunarGLASS_revision_R32
+set /p GLSLANG_REVISION_R32= < glslang_revision_R32
+echo LUNARGLASS_REVISION_R32=%LUNARGLASS_REVISION_R32%
+echo GLSLANG_REVISION_R32=%GLSLANG_REVISION_R32%
+
echo Creating and/or updating glslang and LunarGLASS in %BASE_DIR%
if %sync-glslang% equ 1 (
+ rd /S /Q %GLSLANG_DIR%
if not exist %GLSLANG_DIR% (
call:create_glslang
)
@@ -262,8 +268,9 @@ goto:eof echo.
echo Updating %GLSLANG_DIR%
cd %GLSLANG_DIR%
- git fetch --all
- git checkout %GLSLANG_REVISION%
+ svn.exe checkout --force https://cvs.khronos.org/svn/repos/SPIRV/trunk/glslang/ .
+ svn.exe update -r %GLSLANG_REVISION_R32%
+ svn.exe revert -R .
goto:eof
:create_LunarGLASS
|
