Skip to content

[Feature]: Add HIPCC_PARALLEL_JOBS environment variable to enable easier parallel build for developers/packagers. #1273

@darix

Description

@darix

Suggestion Description

while working on integrating rocm/hipcc into more packages in openSUSE. I noticed that openimagedenoise spends like 45 minutes compiling all the different GPU flavors.

in one process. not multithreaded. then i learned there is the --parallel-jobs parameter.

the problem is ... to enable that we would need to patch the build system of every package. Which can be a lot of fun through all the abstraction layers.

for openSUSE we already have https://build.opensuse.org/projects/openSUSE:Factory/packages/memory-constraints/files/memory-constraints.macros?expand=1 to restrict e.g. gcc/clang based on the available memory. hipcc also seems to be about 1GB per process when running with --parallel-jobs.

to avoid having to patch each and every build system. having an environment variable to enable parallel jobs, would make the job of developers and packagers a lot easier.

Operating System

openSUSE Tumbleweed

ROCm Component

  • hipcc

Metadata

Metadata

Assignees

Labels

ExternalIssue reported by community userenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions