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>
Severity: normal CC: gentoo, xgreenlandforwyy
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 654178    

Description Agostino Sarubbo gentoo-dev 2021-11-10 08:04:59 UTC

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

This machine uses GCC-11:
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):

commit c77c85267c21ac3091492a5bb5354f7bc5da66d6
Author:     YiyangWu <>
AuthorDate: 2021-12-21 03:35:10 +0000
Commit:     Andrew Ammerlaan <>
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 so
    it respects MAKEOPTS
    Package-Manager: Portage-3.0.22, Repoman-3.0.3
    Signed-off-by: Yiyang Wu <>
    Signed-off-by: Andrew Ammerlaan <>

 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