[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-buildservice
Subject:    Difference between "--buildjobs" and "--jobs"?
From:       "Obs Geeko" <obsgeeko () gmx ! de>
Date:       2024-01-17 11:11:41
Message-ID: 170548990185.23673.17320250474078228185 () mailman3 ! infra ! opensuse ! org
[Download RAW message or body]

Hello,

May I ask what is the difference between these two parameters: "--buildjobs" and \
"--jobs"?

-----------------------------------------------------------
"https://github.com/openSUSE/obs-build/blob/44e43abe9da522c1c6685742aecc55be158da55b/PBuild/Options.pm#L196"
                
--buildjobs number
      build in parallel with 'number' jobs

"https://github.com/openSUSE/obs-build/blob/44e43abe9da522c1c6685742aecc55be158da55b/build#L269"
                
--jobs N    Use N parallel processes during build.
              Sets %jobs and %_smp_mflags macros and
              defines the number of CPUs to use for
              VMs.
-----------------------------------------------------------
1. "--buildjobs number" for how many pbuild job at the same time, and "--jobs N" mean \
in each of these pbuild job, how many CPUs setting for VM? 2. In "chroot" build \
environment, what "--jobs N" means?

Thank you.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic