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
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
+ 30 Dec 2011; Patrick Lauer <patrick@gentoo.org> +openfoam-2.1.0.ebuild: + Bump, fixes #371653 Here, have a version bump with it :)