Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 822828

Summary: sci-libs/rocBLAS-4.3.0 does not respect MAKEOPTS
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, xgreenlandforwyy
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/23450
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 654178    

Description Agostino Sarubbo gentoo-dev 2021-11-10 08:04:59 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/rocBLAS-4.3.0 unspecified issue.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Unspecified issue means that there is an issue but the tinderbox is missing a bug template about it. The issue will be specified manually.
Comment 1 Agostino Sarubbo gentoo-dev 2021-11-10 08:07:02 UTC
MAKEOPTS are set to 44 while at the end it compiles sources with -j48:

Compiling source kernels: Launching 48 threads...

Build log is too big for attachment, but I guess you are able to reproduce.
Comment 2 Larry the Git Cow gentoo-dev 2022-03-05 20:51:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c77c85267c21ac3091492a5bb5354f7bc5da66d6

commit c77c85267c21ac3091492a5bb5354f7bc5da66d6
Author:     YiyangWu <xgreenlandforwyy@gmail.com>
AuthorDate: 2021-12-21 03:35:10 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-03-05 20:51:47 +0000

    sci-libs/rocBLAS: let TensileCreateLibrary respects MAKEOPTS
    
    Originaly TensileCreateLibrary consumes all cpu detected. This
    modification will inject $(makeopts_jobs) into TensileCreateLibrary.py so
    it respects MAKEOPTS
    
    Closes: https://bugs.gentoo.org/822828
    Package-Manager: Portage-3.0.22, Repoman-3.0.3
    Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/rocBLAS/rocBLAS-4.3.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 3 Alessandro Barbieri 2022-06-14 20:43:52 UTC
This is still true with version 5.0.2
if I set MAKEOPTS="-j1" it will launch 12 jobs and it will later crash my system because all RAM and swap are full
I want to set less jobs to consume less memory