Skip to contentSkip to conversation

gem5/gem5-aarch64-native: don't specify -j twice

PATCH Applied Ross Burton 2 participants 3 messages Nov 13, 2020 – Nov 16, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gem5/gem5-aarch64-native: don't specify -j twice

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
---
 meta-gem5/recipes-devtools/gem5/gem5-native.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gem5/recipes-devtools/gem5/gem5-native.inc +1 -1
index 1df94d0..3c891ba 100644
@@ -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"
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 gem5/gem5-aarch64-native: bump to 20.0.0.3

Minor point release, that successfully compiles with GCC 9.3.

Change-Id I22bec41f92ea4ae6e9fb7b6e6706338c0134bf99
---
 meta-gem5/recipes-devtools/gem5/gem5-aarch64-native_20.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-gem5/recipes-devtools/gem5/gem5-aarch64-native_20.bb +2 -2
index 101e6ef..ce36514 100644
@@ -8,8 +8,8 @@ SRC_URI = "git://gem5.googlesource.com/public/gem5;protocol=https;nobranch=1 \
            file://0002-arch-arm-Introduce-HavePACExt-helper.patch \
            file://0003-arch-arm-Check-if-PAC-is-implemented-before-executing-insts.patch \
           "
-RELEASE_TAG = "v20.0.0.1"
-SRCREV = "332a9de33db603e0aefedae1e05134db4257ea3e"
+RELEASE_TAG = "v20.0.0.3"
+SRCREV = "fa70478413e4650d0058cbfe81fd5ce362101994"
 
 PV = "${RELEASE_TAG}"
 
Signature · 1 line
2.25.1
Applied
#2 lore raw
In reply to Ross Burton
Quoted 7 lines · Ross Burton

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

Applied to master.

Thanks,
Jon

Quoted 24 lines
---
 meta-gem5/recipes-devtools/gem5/gem5-native.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gem5/recipes-devtools/gem5/gem5-native.inc +1 -1
index 1df94d0..3c891ba 100644
@@ -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"
 
Signature · 1 line
2.25.1