Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939366 - sci-libs/hipBLASLt 6.1.1 does not respect MAKEOPTS
Summary: sci-libs/hipBLASLt 6.1.1 does not respect MAKEOPTS
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-09 08:34 UTC by Amit Ugol
Modified: 2024-09-09 20:47 UTC (History)
2 users (show)

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


Attachments
build log (build.log,174.40 KB, text/x-log)
2024-09-09 08:36 UTC, Amit Ugol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amit Ugol 2024-09-09 08:34:49 UTC
sci-libs/hipBLASLt 6.1.1 does not respect MAKEOPTS and when it starts to compile the log says:
Reading logic files: Launching 24 threads...

while
# grep OPT /etc/portage/make.conf 
MAKEOPTS="-j20 -l20"


Reproducible: Always

Steps to Reproduce:
1. set MAKEOPTS to be less of the total number of threads in your system
2. emerge sci-libs/hipBLASLt 6.1.1
3.
Actual Results:  
Reading logic files: Launching 24 threads...

Expected Results:  
Reading logic files: Launching 20 threads... (in my case)

Package would also fail to compile with broken pipes, and all the available memory was spent, this is why I wanted to limit threads to begin with.

# free -v
               total        used        free      shared  buff/cache   available
Mem:        32761748    32425812      513216      186348      359416      335936
Swap:       16777212    16653600      123612
Comm:       33158084    52977304   -19819220
Comment 1 Amit Ugol 2024-09-09 08:36:00 UTC
Created attachment 902440 [details]
build log