aboutsummaryrefslogtreecommitdiff
path: root/update_external_sources.bat
diff options
context:
space:
mode:
authorMike Weiblen <mikew@lunarg.com>2017-10-09 10:31:21 -0600
committerMike Weiblen <mikew@lunarg.com>2017-10-24 12:06:20 -0600
commitc8d034aa57dd4a3cbd9df55f59933c9391431a0a (patch)
tree360593834424a3df114f544b5ed6ef8b742e7fe4 /update_external_sources.bat
parent185e0caa63661cf283e7afc7fb1c46c81760d30b (diff)
downloadusermoji-c8d034aa57dd4a3cbd9df55f59933c9391431a0a.tar.xz
external: Update commit IDs and scripts
Update to top-of-tree glslang, plus the spirv dependencies specified by glslang's known_good.json file. Modify the LVL update_external_sources.* scripts to invoke glslang's update_glslang_sources.py script as part of the checkout process. Add .gitattributes file to force CRLF on .bat files. Enhance LVL's CMakeLists.txt for new SPIRV_TOOLS_OPT_* variables. Add SPIRV-Tools-opt to linker. Adjust some comments. Change-Id: I8e782c15cade4260528ab055361208af137204fa
Diffstat (limited to 'update_external_sources.bat')
-rw-r--r--update_external_sources.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/update_external_sources.bat b/update_external_sources.bat
index 3c4006c2..aac541d7 100644
--- a/update_external_sources.bat
+++ b/update_external_sources.bat
@@ -300,6 +300,7 @@ REM // ======== Functions ======== //
cd %GLSLANG_DIR%
git clone %GLSLANG_GITURL% .
git checkout %GLSLANG_REVISION%
+ C:\Python27\python.exe .\update_glslang_sources.py
if not exist %GLSLANG_DIR%\SPIRV (
echo glslang source download failed!
set errorCode=1
@@ -312,6 +313,7 @@ goto:eof
cd %GLSLANG_DIR%
git fetch --all
git checkout %GLSLANG_REVISION%
+ C:\Python27\python.exe .\update_glslang_sources.py
goto:eof
:create_spirv-tools