Skip to content

Commit

Permalink
ruby: limit -j in build phase
Browse files Browse the repository at this point in the history
High -j results in errors in fixup_mmaps_after_fork apparently due to
insufficient page file space.

See https://cygwin.com/pipermail/cygwin/2025-January/257155.html
  • Loading branch information
jeremyd2019 authored and lazka committed Jan 26, 2025
1 parent ec7dea4 commit 351a344
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ruby/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ build() {
--with-dbm-type=gdbm_compat \
LDSHARED="gcc -shared" \
DLDFLAGS="-Wl,--export-all-symbols"
make
# -j2 due to excessive paging file usage
make -j2
}

check() {
Expand Down

0 comments on commit 351a344

Please sign in to comment.