[meta-arm,1/2] gem5/gem5-aarch64-native: don't specify -j twice

Submitted by Ross Burton on Nov. 13, 2020, 4:48 p.m. | Patch ID: 178092

Details

Message ID 20201113164836.3926050-1-ross.burton@arm.com
State New
Headers show

Commit Message

Ross Burton Nov. 13, 2020, 4:48 p.m.
There's no need to pass -j here as the scons clas does this already.

Also, BB_NUMBER_THREADS is the number of BitBake threads, not the number
of parallel make jobs.

Change-Id: Ib6179bf05c5ec57b7cbe9c045f7bea86518d35af
Signed-off-by: Ross Burton <ross.burton@arm.com>

---
 meta-gem5/recipes-devtools/gem5/gem5-native.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1365): https://lists.yoctoproject.org/g/meta-arm/message/1365
Mute This Topic: https://lists.yoctoproject.org/mt/78233529/1003190
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta-gem5/recipes-devtools/gem5/gem5-native.inc b/meta-gem5/recipes-devtools/gem5/gem5-native.inc
index 1df94d0..3c891ba 100644
--- a/meta-gem5/recipes-devtools/gem5/gem5-native.inc
+++ b/meta-gem5/recipes-devtools/gem5/gem5-native.inc
@@ -10,7 +10,7 @@  LICENSE = "BSD & MIT & LGPLv2.1"
 GEM5_BUILD_CONFIGS ?= "build/X86/gem5.opt"
 
 # Scons build arguments
-GEM5_SCONS_ARGS ?= "-j ${BB_NUMBER_THREADS} CC=${BUILD_CC} CXX=${BUILD_CXX} \
+GEM5_SCONS_ARGS ?= "CC=${BUILD_CC} CXX=${BUILD_CXX} \
     AS=${BUILD_AS} AR=${BUILD_AR} ${GEM5_BUILD_CONFIGS} \
     PYTHON_CONFIG=python3-config"
 

Comments

Jon Mason Nov. 16, 2020, 2:27 p.m.
On Fri, Nov 13, 2020 at 04:48:35PM +0000, Ross Burton wrote:
> There's no need to pass -j here as the scons clas does this already.

> 

> Also, BB_NUMBER_THREADS is the number of BitBake threads, not the number

> of parallel make jobs.

> 

> Change-Id: Ib6179bf05c5ec57b7cbe9c045f7bea86518d35af

> Signed-off-by: Ross Burton <ross.burton@arm.com>


Applied to master.

Thanks,
Jon

> ---

>  meta-gem5/recipes-devtools/gem5/gem5-native.inc | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/meta-gem5/recipes-devtools/gem5/gem5-native.inc b/meta-gem5/recipes-devtools/gem5/gem5-native.inc

> index 1df94d0..3c891ba 100644

> --- a/meta-gem5/recipes-devtools/gem5/gem5-native.inc

> +++ b/meta-gem5/recipes-devtools/gem5/gem5-native.inc

> @@ -10,7 +10,7 @@ LICENSE = "BSD & MIT & LGPLv2.1"

>  GEM5_BUILD_CONFIGS ?= "build/X86/gem5.opt"

>  

>  # Scons build arguments

> -GEM5_SCONS_ARGS ?= "-j ${BB_NUMBER_THREADS} CC=${BUILD_CC} CXX=${BUILD_CXX} \

> +GEM5_SCONS_ARGS ?= "CC=${BUILD_CC} CXX=${BUILD_CXX} \

>      AS=${BUILD_AS} AR=${BUILD_AR} ${GEM5_BUILD_CONFIGS} \

>      PYTHON_CONFIG=python3-config"

>  

> -- 

> 2.25.1

> 


> 

> 

>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1373): https://lists.yoctoproject.org/g/meta-arm/message/1373
Mute This Topic: https://lists.yoctoproject.org/mt/78233529/1003190
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-