Skip to content

Commit f5b1b7f

Browse files
authored
Reinitialize vulkan submodule (#1216)
1 parent a4efbad commit f5b1b7f

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

README.adoc

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,32 @@ the tens of kB/s, or fatal timeout errors occurring, these may be due to
9898
network routing issues to github within your ISP's internal network, rather
9999
than anything wrong in your own networking setup.
100100
101-
It can be very difficult to get ISPs to acknowledge such problems exist much
102-
less to fix them. In this case, consider trying the clone while running a
103-
VPN service.
101+
It can be very difficult to get ISPs to acknowledge such problems exist, much
102+
less to fix them.
103+
104+
One workaround is to switch the repository to use ssh protocol prior to the
105+
submodule download, which can be done via e.g.
106+
107+
[source,sh]
108+
----
109+
git clone git@github.com:KhronosGroup/Vulkan-Samples.git
110+
cd Vulkan-Samples
111+
perl -i -p -e 's|https://(.*?)/|git@\1:|g' .gitmodules
112+
git submodule sync
113+
git submodule update
114+
----
115+
116+
While this can be a good alternative if you are running into this connection
117+
issue, you must have GitHub ssh key authentication setup to use ssh
118+
protocol - see
119+
link:https://docs.github.com/en/authentication/connecting-to-github-with-ssh[Connecting
120+
to GitHub with SSH] for details.
121+
So it is a not a solution we can implement as the repository default.
122+
123+
Another option which may help is to run github through a VPN service.
104124
====
105125

126+
106127
== Build
107128

108129
=== Supported Platforms

0 commit comments

Comments
 (0)