Skip to content

Commit 80ce561

Browse files
committed
passing tests
1 parent 26a07b8 commit 80ce561

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
[submodule "dep/libc-test"]
22
path = dep/libc-test
33
url = https://github.com/kraj/libc-test
4+
shallow = true
45
[submodule "dep/tiny-regex-c"]
56
path = dep/tiny-regex-c
67
url = https://github.com/marler8997/tiny-regex-c
8+
shallow = true
79
[submodule "dep/open_posix_testsuite"]
810
path = dep/open_posix_testsuite
911
url = https://github.com/nloopa/open_posix_testsuite
12+
shallow = true
1013
[submodule "dep/glibc-testsuite"]
1114
path = dep/glibc-testsuite
1215
url = https://github.com/cloudius-systems/glibc-testsuite
16+
shallow = true

build.zig

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,17 @@ fn ensureRepoPath(b: *std.Build, rel_path: []const u8, probe_rel_path: []const u
740740

741741
var exit_code: u8 = undefined;
742742
_ = b.runAllowFail(
743-
&.{ "git", "submodule", "update", "--init", "--recursive", "--", rel_path },
743+
&.{
744+
"git",
745+
"submodule",
746+
"update",
747+
"--init",
748+
"--depth",
749+
"1",
750+
"--recommend-shallow",
751+
"--",
752+
rel_path,
753+
},
744754
&exit_code,
745755
.inherit,
746756
) catch return null;

0 commit comments

Comments
 (0)