Skip to content

libreoffice: fix parallel build [ci skip] - #62610

Open
tylerRosso wants to merge 1 commit into
void-linux:masterfrom
tylerRosso:libreoffice-parallel-build
Open

tylerRosso wants to merge 1 commit into
void-linux:masterfrom
tylerRosso:libreoffice-parallel-build

Conversation

@tylerRosso

Copy link
Copy Markdown

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)

Since c7851c1 do_build passes PARALLELISM=$MAKEJOBS to make. xbps-src has no such variable so the value is empty and gbuild runs with a single job.
I've noticed it because libreoffice was building on one core despite having XBPS_MAKEJOBS=14. With this change all 14 cores are used again.

No revbump, the packages themselves don't change. CI skipped since libreoffice takes far too long for it.

I used Claude to help find the cause.

c7851c1 replaced "make ${makejobs}" with "make PARALLELISM=$MAKEJOBS",
but xbps-src defines no MAKEJOBS variable (only XBPS_MAKEJOBS and
makejobs). The resulting empty PARALLELISM= on the make command line
overrides the --with-parallelism value written by configure, and
LibreOffice's Makefile then passes no -j to gbuild, so the whole build
ran with a single job.

Use XBPS_MAKEJOBS instead. No revbump: the produced packages are
unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant