diff options
author | Konstantin Baladurin <k.baladurin@samsung.com> | 2019-04-15 20:48:40 +0300 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2019-09-06 11:26:08 +0900 |
commit | 14263d79cda21fdcc16bc8577f5c694a58107a81 (patch) | |
tree | 943541862bbba04d18ec4001c99a2d9a950b0da2 | |
parent | 8a9385762a3076f0f806a6f49bd65f5810a9df9a (diff) | |
download | qemu-accel-sandbox/dkson95/enhancement.tar.gz qemu-accel-sandbox/dkson95/enhancement.tar.bz2 qemu-accel-sandbox/dkson95/enhancement.zip |
clang-accel: add LLVM gold plugin (for llvm 5.0)sandbox/dkson95/enhancement
Change-Id: Idfcfad6ee4000dbc4bc6f8135c7021e96ff18d0e
-rw-r--r-- | packaging/qemu-accel-aarch64.spec | 6 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7hl.spec | 6 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7l.spec | 6 | ||||
-rw-r--r-- | packaging/qemu-accel.spec.in | 6 |
4 files changed, 20 insertions, 4 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec index cff0659..c60dda4 100644 --- a/packaging/qemu-accel-aarch64.spec +++ b/packaging/qemu-accel-aarch64.spec @@ -67,6 +67,8 @@ BuildRequires: icecream BuildRequires: libunwind BuildRequires: libuuid BuildRequires: clang +# required for LLVM gold plugin +BuildRequires: llvm-devel Summary: Native binaries for speeding up cross compile License: GPL-2.0 Group: Development/Cross Compilation @@ -207,7 +209,9 @@ prepare_package_list all \ $binaries prepare_package_list clang \ - %{_bindir}/{clang-*,clang++,opt,lli,llc,llvm-*} + %{_bindir}/{clang-*,clang++,opt,lli,llc,llvm-*} \ + %{_libdir}/libLTO.so* \ + %{_libdir}/LLVMgold.so* prepare_package_list python \ %{_bindir}/${host_python} \ diff --git a/packaging/qemu-accel-armv7hl.spec b/packaging/qemu-accel-armv7hl.spec index cece799..57f785c 100644 --- a/packaging/qemu-accel-armv7hl.spec +++ b/packaging/qemu-accel-armv7hl.spec @@ -67,6 +67,8 @@ BuildRequires: icecream BuildRequires: libunwind BuildRequires: libuuid BuildRequires: clang +# required for LLVM gold plugin +BuildRequires: llvm-devel Summary: Native binaries for speeding up cross compile License: GPL-2.0 Group: Development/Cross Compilation @@ -207,7 +209,9 @@ prepare_package_list all \ $binaries prepare_package_list clang \ - %{_bindir}/{clang-*,clang++,opt,lli,llc,llvm-*} + %{_bindir}/{clang-*,clang++,opt,lli,llc,llvm-*} \ + %{_libdir}/libLTO.so* \ + %{_libdir}/LLVMgold.so* prepare_package_list python \ %{_bindir}/${host_python} \ diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec index 354106f..b8770cb 100644 --- a/packaging/qemu-accel-armv7l.spec +++ b/packaging/qemu-accel-armv7l.spec @@ -67,6 +67,8 @@ BuildRequires: icecream BuildRequires: libunwind BuildRequires: libuuid BuildRequires: clang +# required for LLVM gold plugin +BuildRequires: llvm-devel Summary: Native binaries for speeding up cross compile License: GPL-2.0 Group: Development/Cross Compilation @@ -207,7 +209,9 @@ prepare_package_list all \ $binaries prepare_package_list clang \ - %{_bindir}/{clang-*,clang++,opt,lli,llc,llvm-*} + %{_bindir}/{clang-*,clang++,opt,lli,llc,llvm-*} \ + %{_libdir}/libLTO.so* \ + %{_libdir}/LLVMgold.so* prepare_package_list python \ %{_bindir}/${host_python} \ diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in index 1824470..5037080 100644 --- a/packaging/qemu-accel.spec.in +++ b/packaging/qemu-accel.spec.in @@ -64,6 +64,8 @@ BuildRequires: icecream BuildRequires: libunwind BuildRequires: libuuid BuildRequires: clang +# required for LLVM gold plugin +BuildRequires: llvm-devel Summary: Native binaries for speeding up cross compile License: GPL-2.0 Group: Development/Cross Compilation @@ -204,7 +206,9 @@ prepare_package_list all \ $binaries prepare_package_list clang \ - %{_bindir}/{clang-*,clang++,opt,lli,llc,llvm-*} + %{_bindir}/{clang-*,clang++,opt,lli,llc,llvm-*} \ + %{_libdir}/libLTO.so* \ + %{_libdir}/LLVMgold.so* prepare_package_list python \ %{_bindir}/${host_python} \ |