projects
/
packages
/
rpm-build-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43ad78f
)
on -j define __jobs instead of _smp_mflags
author
Jan Palus
<atler@pld-linux.org>
Tue, 30 Mar 2021 10:44:04 +0000
(12:44 +0200)
committer
Jan Palus
<atler@pld-linux.org>
Tue, 30 Mar 2021 10:44:04 +0000
(12:44 +0200)
not all tools use -j syntax for parallelism so instead of redefining
_smp_mflags define __jobs (the former is expressed with the latter)
builder.sh
patch
|
blob
|
blame
|
history
diff --git
a/builder.sh
b/builder.sh
index c93a68228111960a201cab12f04b09a1564e5d08..53ef564791a62e735978a5709a6aab3dbfc94abe 100755
(executable)
--- a/
builder.sh
+++ b/
builder.sh
@@
-2189,11
+2189,11
@@
while [ $# -gt 0 ]; do
--http )
PROTOCOL="http"; shift ;;
-j)
- RPMOPTS="${RPMOPTS} --define \"_
smp_mflags -j
$2\""
+ RPMOPTS="${RPMOPTS} --define \"_
_jobs
$2\""
shift 2
;;
-j[0-9]*)
- RPMOPTS="${RPMOPTS} --define \"_
smp_mflags $1
\""
+ RPMOPTS="${RPMOPTS} --define \"_
_jobs ${1#-j}
\""
shift
;;
-p)
This page took
0.076604 seconds
and
4
git commands to generate.