aboutsummaryrefslogtreecommitdiff
path: root/update_external_sources.sh
AgeCommit message (Collapse)Author
2017-05-03build: set CMAKE_INSTALL_PREFIX explicitlyMike Weiblen
Recent changes to upstream CMakeFiles changed the default install location. Explicitly specify our desired install location. Changed for Linux only; Windows was already doing this. Change-Id: Id71945d426ac8f0a445dca3855bfa037870aaed9
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-12-23Use Python instead of greadlink to get full path on macOSMichael Jurka
Python is built-in on Macs; this avoids an unnecessary dependency on greadlink
2016-12-02toolchain: Fix core count in script for macOSCody Northrop
This could also switch to using gnproc from brew if needed in the future.
2016-12-02toolchain: Fix update script for macOSCody Northrop
readlink -f is not supported on macOS brew is already a requirement to build for macOS
2016-11-22scripts: Improve paths in update_ext_resources.shMark Lobodzinski
Script was relying on $PWD for determining the current path which is unreliable in some situations. Updated to a more robust method allowing spaces in paths. Change-Id: Ibdb780c479ad7fa831d113e445cc598830806806
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-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-09-23toolchain: Use multiple processes to build glslangCody Northrop
2016-08-26glslang : Force update in update_external_sourcesMark Young
Linux's sh file didn't clobber previous external items synced. This is having a problem with the previous changes which reverted the glslang texel fetch patch, and then updated the revision. Change-Id: I0e8e28d11fa40df00a5fb9164624f113b2adf084
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-08-09toolchain: Fix SPIRV-Headers update scriptCody Northrop
Without specifying a branch, git pull fails.
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-29misc: GH691 Remove duplicated line.Karl Schultz
Change-Id: I5af06e880a7a71a42503e1ce6acdd1557e445169
2016-06-17update_external_sources.sh: now get spirv-tools headers from ↵GregF
Khronos/SPIRV-Headers
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-02-22Build: Remove LunarGLASS from update_external_sources.shGregF
LunarGLASS is no longer built from here since it not needed for this repo. Rather, an update_external_sources.sh has been added to VulkanTools which can be use to build LunarGLASS.
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-01-06toolchain: Update parameter parsing on LinuxCody Northrop
Lack of parameters builds everything, as before. ./update_external_sources.sh Building glslang, LunarGLASS, spirv-tools Modified parameters: --glslang-only becomes --glslang Current parameters: -g | --glslang # enable glslang -l | --LunarGLASS # enable LunarGLASS -s | --spirv-tools # enable spirv-tools Mix and match: ./update_external_sources.sh -g -s Building glslang (-g) Building spirv-tools (-s)
2016-01-06toolchain: Add spirv-tools to update_external_sources.shCody Northrop
2015-12-01toolchain: Add option to only build glslangCody Northrop
New usage: update_external_sources.sh -g or: update_external_sources.sh --glslang-only Building LunarGLASS by default takes a long time on systems that don't need it.
2015-10-08update_external_sources: Fix svn LunarGLASS checkout for LinuxCody Northrop
Don't checkout HEAD or rolling back one commit will delete files.
2015-10-08misc: do not need pull if using git checkoutCourtney Goeltzenleuchter
Also remove unused R32 variable and file now that we can get latest glslang from git.
2015-10-02update_external_sources: get glslang from gitlabGregF
This is the new way to get SPIR-V rev32 source.
2015-09-22build: move to SPIR-V rev 32GregF
2015-09-21build: bring update_external_sources.sh to latest rev 31 SPIR-VGregF
2015-08-11build: rebuild LLVM when LLVM overlay files changeGregF
2015-07-17misc: Create new glslang directory if neededCourtney Goeltzenleuchter
glslang has now moved to git. The update script will recreate the glslang folder if the existing one is the svn version.
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.
2015-06-17toolchain: Update to glslang 31490 and LunarGLASS 1091Cody Northrop
Also contains commits: Author: GregF <greg@LunarG.com> Date: Thu May 28 09:30:14 2015 -0600 compiler: handle new builtIn enum in metadata Author: Cody Northrop <cody@lunarg.com> Date: Mon Jun 1 14:24:26 2015 -0600 compiler: Update backend for new sampler types and switches
2015-04-29toolchain: Update to newer glslang and LunarGLASS versionsCody Northrop
LUNARGLASS_REVISION=1070 GLSLANG_REVISION=30939
2015-03-18SPIR-V: Change BIL to SPV in all source filesCody Northrop
2015-02-05BIL: Update BIL versionCourtney Goeltzenleuchter
2015-02-04BIL: Update to support descriptor set GLSL featuresCourtney Goeltzenleuchter
2015-02-04xgl: Fix syntax errorCourtney Goeltzenleuchter
2015-02-04cmake: Fix BIL overlay to glslangCody Northrop
2015-02-04icd: update glslang, bil and lunarglassGregF
Move ahead with versions installed by update_external_sources.sh
2015-02-04build: Add more error checking for build environmentCourtney Goeltzenleuchter
Make sure that a KHRONOS_ACCOUNT_NAME and necessary BIL files exist before doing any other work. That way user knows right away if build environment is setup correctly or not.
2014-12-12misc: Update external source versionsCourtney Goeltzenleuchter
2014-12-08BIL: Updated to latest BIL spec / functionalityCourtney Goeltzenleuchter
The BIL specification rationalized/added these, with full semantics OpTextureQuerySizeLod, OpTextureQuerySize, OpTextureQueryLod, OpTextureQueryLevels, and OpTextureQuerySamples.
2014-12-02xgl: Update BIL/LunarGLASS/glslang versionsCourtney Goeltzenleuchter
2014-11-26xgl: Update to current BIL/glslang/LunarGLASSCourtney Goeltzenleuchter
2014-11-26xgl: Update external revisionsCourtney Goeltzenleuchter
2014-11-02Misc. cleanupCourtney Goeltzenleuchter
2014-10-31xgl: Update to current BIL/glslang/LunarGLASSCourtney Goeltzenleuchter
2014-10-31xgl: Update to specific version of external librariesCourtney Goeltzenleuchter
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.