Skip to content

Commit

Permalink
Update git submodules shallowly to save time
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay authored and sbeamer committed Dec 5, 2023
1 parent 94eac5c commit 071b545
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions riscv-gnu-toolchain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def install
ENV.delete "CPATH"

# need to pull in needed submodules (now that they are disabled above)
system "git", "submodule", "update", "--init", "--recursive", "newlib"
system "git", "submodule", "update", "--init", "--recursive", "binutils"
system "git", "submodule", "update", "--init", "--recursive", "gcc"
system "git", "submodule", "update", "--depth", "1", "--init", "--recursive", "newlib"
system "git", "submodule", "update", "--depth", "1", "--init", "--recursive", "binutils"
system "git", "submodule", "update", "--depth", "1", "--init", "--recursive", "gcc"

args = [
"--prefix=#{prefix}",
Expand Down

0 comments on commit 071b545

Please sign in to comment.