Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371653 - sci-libs/openfoam - fix for respecting MAKEOPTS
Summary: sci-libs/openfoam - fix for respecting MAKEOPTS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 21:33 UTC by Richard Kenney
Modified: 2011-12-30 05:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch to OpenFoam ebuild (openfoam-1.7.1.ebuild.patch,461 bytes, patch)
2011-06-14 21:35 UTC, Richard Kenney
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Kenney 2011-06-14 21:33:34 UTC
OpenFoam takes about 2 hours to compile on my system with the standard ebuild as it is single threaded.  Adding the WM_NCOMPPROCS environment variable allows the number of parallel processes to be specified.

Reproducible: Always

Steps to Reproduce:
1.Merge OpenFoam
2.Watch processor load
3.
Actual Results:  
One process is used

Expected Results:  
Multiple processes should be used, ideally based on the -j default set in make.conf
Comment 1 Richard Kenney 2011-06-14 21:35:43 UTC
Created attachment 277071 [details, diff]
Proposed patch to OpenFoam ebuild

The patch attempts to detect the number of jobs requested in make.conf and use that number to merge in parallel
Comment 2 Patrick Lauer gentoo-dev 2011-12-30 05:16:03 UTC
+  30 Dec 2011; Patrick Lauer <patrick@gentoo.org> +openfoam-2.1.0.ebuild:
+  Bump, fixes #371653

Here, have a version bump with it :)