Skip to content

Commit

Permalink
Limit 7z thread to 3 when building Windows distro due to OoM in GitHu…
Browse files Browse the repository at this point in the history
…b Action.
  • Loading branch information
robby-phd committed Oct 29, 2024
1 parent 7b9f463 commit 455114b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/jvm/src/main/scala/org/sireum/Init.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1748,7 +1748,7 @@ import Init._
if (Os.isWin) {
val pkg = s"$plat.7z"
val p7zz = install7zz()
Os.proc(ISZ[String](p7zz.string, "a", "-mmt2", pkg) ++ files).at(distroDir.up).runCheck()
Os.proc(ISZ[String](p7zz.string, "a", "-mmt3", pkg) ++ files).at(distroDir.up).runCheck()
(distroDir.up / pkg).moveOverTo(setupDir.up / pkg)
} else {
val pkg = s"$plat.tar.xz"
Expand Down

0 comments on commit 455114b

Please sign in to comment.