diff options
author | Hyunggi Lee <hyunggi.lee@samsung.com> | 2021-03-08 19:05:57 +0900 |
---|---|---|
committer | Hyunggi Lee <hyunggi.lee@samsung.com> | 2021-03-09 10:24:48 +0900 |
commit | 49f50961a0159a94758c4b8582d87060f442db78 (patch) | |
tree | eaacb0848d7365270c38c1c7caba51d977027266 | |
parent | c670b362443587b47be2a5a91a49930bf4e5b6fe (diff) | |
download | qemu-accel-49f50961a0159a94758c4b8582d87060f442db78.tar.gz qemu-accel-49f50961a0159a94758c4b8582d87060f442db78.tar.bz2 qemu-accel-49f50961a0159a94758c4b8582d87060f442db78.zip |
Add localedef for tizen-locale buildsubmit/tizen_base/20210309.052922accepted/tizen/base/tool/20210314.214530
Build is very slow in arm environment.
Most of the time is spent in command "localedef"
like this. I18NPATH=localedata GCONV_PATH=iconvdata localedef --quiet -c ...
So I added localedef to qemu-accel.
result:
before:
[ 1844s]
[ 1844s] obsnw03 finished "build tizen-locale.spec" at Mon Feb 1 06:24:02 UTC 2021.
[ 1844s]
after:
[ 222s]
[ 222s] obsnw18 finished "build tizen-locale.spec" at Mon Mar 8 10:18:55 UTC 2021.
[ 222s]
1622 seconds faster (830%)
Change-Id: I60c3e87e139f90129c19928d0b1d78ec61760ecd
Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com>
-rw-r--r-- | packaging/qemu-accel-aarch64.spec | 4 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7hl.spec | 4 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7l.spec | 4 | ||||
-rw-r--r-- | packaging/qemu-accel.spec.in | 3 |
4 files changed, 11 insertions, 4 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec index c96f744..583faa7 100644 --- a/packaging/qemu-accel-aarch64.spec +++ b/packaging/qemu-accel-aarch64.spec @@ -69,6 +69,7 @@ BuildRequires: libunwind BuildRequires: libuuid BuildRequires: clang BuildRequires: pbzip2 + # required for LLVM gold plugin BuildRequires: llvm-devel Summary: Native binaries for speeding up cross compile @@ -210,7 +211,8 @@ for executable in $LD \ %{_rpmconfigdir}/debugedit \ %{_rpmconfigdir}/*deps \ %{_libdir}/{libunwind*.so*,libuuid*.so*} \ - %{_bindir}/guile + %{_bindir}/guile \ + %{_bindir}/localedef do binaries="$binaries $executable" done diff --git a/packaging/qemu-accel-armv7hl.spec b/packaging/qemu-accel-armv7hl.spec index 12f1246..1adabe6 100644 --- a/packaging/qemu-accel-armv7hl.spec +++ b/packaging/qemu-accel-armv7hl.spec @@ -69,6 +69,7 @@ BuildRequires: libunwind BuildRequires: libuuid BuildRequires: clang BuildRequires: pbzip2 + # required for LLVM gold plugin BuildRequires: llvm-devel Summary: Native binaries for speeding up cross compile @@ -210,7 +211,8 @@ for executable in $LD \ %{_rpmconfigdir}/debugedit \ %{_rpmconfigdir}/*deps \ %{_libdir}/{libunwind*.so*,libuuid*.so*} \ - %{_bindir}/guile + %{_bindir}/guile \ + %{_bindir}/localedef do binaries="$binaries $executable" done diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec index 6cf9007..08bcb66 100644 --- a/packaging/qemu-accel-armv7l.spec +++ b/packaging/qemu-accel-armv7l.spec @@ -69,6 +69,7 @@ BuildRequires: libunwind BuildRequires: libuuid BuildRequires: clang BuildRequires: pbzip2 + # required for LLVM gold plugin BuildRequires: llvm-devel Summary: Native binaries for speeding up cross compile @@ -210,7 +211,8 @@ for executable in $LD \ %{_rpmconfigdir}/debugedit \ %{_rpmconfigdir}/*deps \ %{_libdir}/{libunwind*.so*,libuuid*.so*} \ - %{_bindir}/guile + %{_bindir}/guile \ + %{_bindir}/localedef do binaries="$binaries $executable" done diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in index 07d7828..3f8eaea 100644 --- a/packaging/qemu-accel.spec.in +++ b/packaging/qemu-accel.spec.in @@ -208,7 +208,8 @@ for executable in $LD \ %{_rpmconfigdir}/debugedit \ %{_rpmconfigdir}/*deps \ %{_libdir}/{libunwind*.so*,libuuid*.so*} \ - %{_bindir}/guile + %{_bindir}/guile \ + %{_bindir}/localedef do binaries="$binaries $executable" done |