aboutsummaryrefslogtreecommitdiff
path: root/update_external_sources.bat
AgeCommit message (Collapse)Author
2018-01-05build: Improve update ext srcs script for better CIKarl Schultz
Add options (--debug --release --32 --64) to the update_external_sources.bat script so that it can be used to build external libraries for only the desired platform/configuration combinations. This helps the AppVeyor CI builds by building only the platform/configuration combination needed for the current job.
2017-11-21build: Avoid redundant spirv-tools/hdrs buildsMark Lobodzinski
Changed update_external_sources scripts to use spirv-tools and spirv-headers already present in the glslang repo instead of fetching and building separate versions. Change-Id: Iff9666f1939d814d0888b2da9b9e7450af697722
2017-11-03Replaced fixed path python 2.7 executable callssaschawillems
2017-10-24external: Update commit IDs and scriptsMike Weiblen
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
2017-08-28build: Improve component enables usage textJeff Juliano
2017-08-28build: Add no-sync to update_ext_srcs batch fileJeff Juliano
Complete support for cygwin environment by adding --no-sync support to update_external_sources.bat. Also change command line parsing for the the .bat script to be similar to the .sh script. Change-Id: Ie813938654e7f4bb9575eef2587f36ca2933f30c
2017-08-28build: Improve cygwin build supportJeff Juliano
Partially support cygwin environment by adding --no-build to update_external_sources.sh Change-Id: I9fa35d6c720dd05a11c307d3da4d09415934899e
2017-06-22build: Exit with return code in update_external batTony Barbour
Change-Id: Idf9d85d36c66a63de0c07322a367b45cfe84e3de
2017-02-17externals: Update script to take URLs as paramsMike Weiblen
To provide flexibility in which git repositories are used as the upstream source for LVL's externals, remove the hardcoded repo URLs from the update scripts, and instead read those URLs from parameter files. Also fix typos and comments. Change-Id: Ic1b49fcf30d37b602e20bf3f83eb5991847476dc
2016-11-29misc: Make update external bat not clean buildLenny Komow
Change-Id: Ief2218fb83fb1916b8fcabe60f48893e9393121e
2016-11-22build: Add check for spirv-headers revision fileMark Lobodzinski
Change-Id: I9bc225275c4d890f44c7ab4dd2076b981778ac20
2016-11-22build: Move revision files into external_revisionsMark Lobodzinski
Moved glslang, spirv-tools and spirv-headers revision files into the external_revisions subdirectory. Modified the Win/Lin update external sources files to use the new locations. Change-Id: I56138d5ae21430bcc564e6a42723accae1bcb9de
2016-11-21scripts: Move determine_vs_version into scripts dirMark Lobodzinski
- Moved determine_vs_version.py into scripts dir - Updated build_windows_targets.bat - Updated update_external_sources.bat Change-Id: I951a05763a7004f2ba641dad72ae3c109ce0aa5c
2016-09-28build: gh27 Allow builds in paths with spacesKarl Schultz
Add quotes around shell var expansions in the update_external_sources scripts. For Windows, remove the cmake directives to add a linker option for the DEF files. These were redundant with the DEF files getting added via the cmake add_library() directive. They were also causing difficult-to-fix problems with paths that have spaces in them. Change-Id: I741bac31bbf27deae59031b6aa916c6ab48383a6
2016-08-26glslang: Remove change to revert texel fetch fix.Mark Young
Previously, we had to revert a texel fetch fix in glslang as part of the update_external_sources.bat/sh due to a bug in the certain drivers. The drivers have been fixed and released so we can remove the change. Change-Id: I018a0dbbc5fb27d7fbd91bc3073f0f5bef5cd346
2016-08-11spirv-headers : Add file to restrict to commitMark Young
Restrict spirv-headers to a specific commit (just as we do to spirv-tools and glslang) by creating a new file (spirv-headers_revision) to track the commit we want to syncrhonize to. Also update the update_external_sources scripts to use it. This will make sure that we don't run into the scenario where spirv-tools and spirv-headers are incompatible. Change-Id: Ia4fdd921a5c1c500d7f751db08b6998b3d704f2d
2016-07-18build: Update glslang to e4821eKarl Schultz
This includes applying a patch to glslang to revert glslang commit a5c33d, which fixes a texel fetch problem that many IHV drivers are not ready to cope with yet.
2016-07-07build: patch glslang to fix g++ 5.3 compilation issueKarl Schultz
Add GLSLANG_REVISION-sensitive step to update_external_sources to patch glslang to allow compilation on Ubuntu 16.10, Arch Linux and other platforms using g++ 5.3. This patch won't happen if the GLSLANG_REVISION is changed. Change-Id: I84a501cb44ee527f45f499d89b2745683e0c8e70
2016-06-22windowsbuild: chmod -x update_external_sources.batDavid Pinedo
2016-06-21windowsbuild: +x of update_external_sources.batDavid Pinedo
2016-06-17Merge branch 'master' of ↵Greg Fischer
github.com:KhronosGroup/Vulkan-LoaderAndValidationLayers
2016-06-17update_external_sources.bat: now get headers from Khronos/SPIRV-HeadersGreg Fischer
2016-06-17Only set scripts that starts with a hashbang as executableAlexander F Rødseth
Remove executable bit from files like README.md Change-Id: I6a2a86e8312616c175845f0a3b777515a58c52b9
2016-05-04project: Fix tabs, whitespace and line endingsMark Lobodzinski
Change-Id: I9cca32a98a1b984b44eca42e4805461c220ae04f
2016-05-03external: GH#246, Move glslang and spirv-tools inside of dir treeJon Ashburn
Have update_external_sources create a sub-directory "external" to fetch these components into. This way the update_external_sources does not potentially overwrite files outside the directory tree. Change-Id: Ia03d1fb9e4dad9d9db26a46e596fb1bf24fcb033
2016-04-01SPIRV: Adjust to spirv-tools library moveGregF
2016-02-22build: Remove LunarGLASS from Win update ext sources.Karl Schultz
2016-02-17Update build info and references to new public GitHub namesPeter Lohrmann
Update build instructions to reference new repository names in GitHub Update all references to the new public GitHub repository names, and also switches from SSH access to the repositories to HTTPS access. Update glslang_revision to reference new GitHub repo
2016-02-01misc: Modify update_external_sources.bat to build quietly.Mark Young
This speeds up the build as well as makes warnings and errors more obvious.
2016-01-25Installer: More work towards 32-bit installer for 32-bit OSMark Young
Removed unnecessary code in update_external_sources batch, and added initial 32-bit path in installer.
2016-01-25LOADER/INSTALLER: Add support for 32-bit install in Win64 installerMark Young
Added ability to install 32-bit and 64-bit Loader into the Win64 installer.
2016-01-25Win32: Get 32-bit Windows build workingMark Young
Also includes changes to allow simultaneous 32-bit and 64-bit Windows builds.
2016-01-25Win32: Get 32-bit Windows build workingMark Young
Also includes changes to allow simultaneous 32-bit and 64-bit Windows builds.
2016-01-25BUILD: Moved 64-bit source dir back to build from build64.Mark Young
Moved 64-bit source dir back to build from build64 to be backwards compatible.
2016-01-25Win32: Get 32-bit Windows build workingMark Young
Also includes changes to allow simultaneous 32-bit and 64-bit Windows builds.
2016-01-25BuildFixes: Fixed update_external_sources batch file for Windows build.Mark Young
Code to detect Visual Studio version was encapsulated in a local section.
2016-01-07update_external_sources: backed out last commit, broke win64 buildDavid Pinedo
2016-01-07Fixes: Automatically detect Visual Studio version on WindowsMark Young
Automatically detect and use the correct version of Visual Studio/MSBuild for Cmake.
2016-01-06toolchain: Add spirv-tools to Windows scriptCody Northrop
2015-10-13update_external_sources: Get Windows LunarGLASS build working againCody Northrop
Include the following changes: - Enable SPIR-V rev 32 support - Always delete previous LunarGLASS builds, just like glslang - Disable Debug LunarGLASS build - Change order of glslang build so that Release resides in install
2015-10-08update_external_sources: move up to latest glslangGreg Fischer
Also remove a few redundant redundancies.
2015-10-02update_external_sources: get glslang from gitlabGreg Fischer
This is the new way to get the tools for private SPIR-V rev32
2015-09-23build: fix update_external_sources.bat to pick up SPIRV rev32 for glslangGregF
2015-07-08toolchain: Update to latest glslang and LunarGLASS, fix scriptCody Northrop
glslang hash: e6f7988adec197e0590fb8274b0412811456d3e6 LunarGLASS revision: 1093 Also, ensure update_external_sources.* fetches the repo before checking out the hash.
2015-07-07toolchain: Switch to using github for glslangCody Northrop
We don't have any tags to pull from, but we can pull specific commits that are tested and known to work. The current commit matches up with the previous subversion version of glslang, so there is no functional change.
2015-07-07toolchain: Add script to pull and build on WindowsCody Northrop
Summary: Add Windows version of update_external_sources, and relocate glslang and LunarGLASS target revisions to external files shared with Linux. Details: On Linux, we've successfully been using update_external_sources.sh to get on the target version of glslang (which generates SPIR-V) and LunarGLASS (which consumes SPIR-V). Both of these components are peers to the typical Vulkan directory structure: /LoaderAndTools /layers /loader /demos /... /glslang /LunarGLASS There hasn't been an equivalent on Windows, so tedious manual steps and GUIs have been used on individual systems. This commit introduces a Windows batch script that automates the process similar to Linux. It detects if you have the required dependendcies and early-outs for any problems. If you are a Windows developer that only wants spirv headers, run: update_external_sources.bat --sync-glslang If you want to build the Windows version of glslangValidator.exe, run: update_external_sources.bat --build-glslang If you want to run LunarGOO with SPIR-V support on Windows, run: update_external_sources.bat --build-LunarGLASS The script builds Debug and Release x64 versions, and should be run from: Developer Command Prompt for VS2013 This commit also relocates the target version of glslang and LunarGLASS to an external shared file that only contains the version number of each. Both scripts read the value from the file, therefore they cannot get out of sync.