summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package.bbclass15
1 files changed, 2 insertions, 13 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 6a552d904e..5d8123f2f9 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -928,13 +928,7 @@ python split_and_strip_files () {
928 for f in kernmods: 928 for f in kernmods:
929 sfiles.append((f, 16, strip)) 929 sfiles.append((f, 16, strip))
930 930
931 931 oe.utils.multiprocess_exec(sfiles, oe.package.runstrip)
932 import multiprocessing
933 nproc = multiprocessing.cpu_count()
934 pool = bb.utils.multiprocessingpool(nproc)
935 processed = list(pool.imap(oe.package.runstrip, sfiles))
936 pool.close()
937 pool.join()
938 932
939 # 933 #
940 # End of strip 934 # End of strip
@@ -1311,12 +1305,7 @@ python package_do_filedeps() {
1311 for files in chunks(pkgfiles[pkg], 100): 1305 for files in chunks(pkgfiles[pkg], 100):
1312 pkglist.append((pkg, files, rpmdeps, pkgdest)) 1306 pkglist.append((pkg, files, rpmdeps, pkgdest))
1313 1307
1314 import multiprocessing 1308 processed = oe.utils.multiprocess_exec( pkglist, oe.package.filedeprunner)
1315 nproc = multiprocessing.cpu_count()
1316 pool = bb.utils.multiprocessingpool(nproc)
1317 processed = list(pool.imap(oe.package.filedeprunner, pkglist))
1318 pool.close()
1319 pool.join()
1320 1309
1321 provides_files = {} 1310 provides_files = {}
1322 requires_files = {} 1311 requires_files = {}