aboutsummaryrefslogtreecommitdiff
path: root/BUILD.md
diff options
context:
space:
mode:
authorJeff Juliano <jjuliano@nvidia.com>2017-08-26 08:20:51 -0400
committerMark Lobodzinski <mark@lunarg.com>2017-08-28 14:34:47 -0600
commitede64a70626e6e5e68452f8df6ee14567b5ba097 (patch)
tree6bce26217749c7e3aa881bc1734f5734a42f687e /BUILD.md
parent345adc9c27b5f4a89ddb3067eba4bb9aa18d4c0e (diff)
downloadvulkan-validation-layers-ede64a70626e6e5e68452f8df6ee14567b5ba097.tar.gz
build: Improve cygwin build support
Partially support cygwin environment by adding --no-build to update_external_sources.sh Change-Id: I9fa35d6c720dd05a11c307d3da4d09415934899e
Diffstat (limited to 'BUILD.md')
-rw-r--r--BUILD.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/BUILD.md b/BUILD.md
index da9f3e0c7..d88eb9a29 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -194,7 +194,7 @@ Windows 7+ with additional required software packages:
- Need python3.3 or later to get the Windows py.exe launcher that is used to get python3 rather than python2 if both are installed on Windows
- 32 bit python works
- [Git](http://git-scm.com/download/win).
- - Note: If you use Cygwin, you can normally use Cygwin's "git.exe". However, in order to use the "update\_external\_sources.bat" script, you must have this version.
+ - Note: If you use Cygwin, you can normally use Cygwin's "git.exe", and "update\_external\_sources.sh --no-build" does support Cygwin's git. However, in order to use the "update\_external\_sources.bat" script, you must have this version.
- Tell the installer to allow it to be used for "Developer Prompt" as well as "Git Bash".
- Tell the installer to treat line endings "as is" (i.e. both DOS and Unix-style line endings).
- Install each a 32-bit and a 64-bit version, as the 64-bit installer does not install the 32-bit libraries and tools.
@@ -225,6 +225,15 @@ This is described in a `LoaderAndLayerInterface` document in the `loader` folder
This specification describes both how ICDs and layers should be properly
packaged, and how developers can point to ICDs and layers within their builds.
+### Cygwin
+
+If you are using Cygwin git instead of win32-native git, you can use Cygwin's git to sync external sources:
+```
+./update_external_sources.sh --no-build
+```
+
+Unfortunately, "update\_external\_sources.bat" does not have a --no-sync option. To build the external sources you have to modify "update\_external\_sources.bat" to skip the sync portions of the script.
+
## Android Build
Install the required tools for Linux and Windows covered above, then add the following.
### Android Studio