summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Baladurin <k.baladurin@samsung.com>2019-04-15 20:48:40 +0300
committerMikhail Kashkarov <m.kashkarov@partner.samsung.com>2019-09-23 19:31:36 +0300
commit6c4e0ebebd1de4eb78dd68504197822e7a98a8db (patch)
tree943541862bbba04d18ec4001c99a2d9a950b0da2
parentd7f6e9ce71a78dedc31513e547f6ceddaeaa1e6f (diff)
downloadqemu-accel-sandbox/mkashkarov/llvm_gold_test.tar.gz
qemu-accel-sandbox/mkashkarov/llvm_gold_test.tar.bz2
qemu-accel-sandbox/mkashkarov/llvm_gold_test.zip
clang-accel: add LLVM gold plugin (for llvm 5.0)sandbox/mkashkarov/llvm_gold_test
Change-Id: Idfcfad6ee4000dbc4bc6f8135c7021e96ff18d0e
-rw-r--r--packaging/qemu-accel-aarch64.spec6
-rw-r--r--packaging/qemu-accel-armv7hl.spec6
-rw-r--r--packaging/qemu-accel-armv7l.spec6
-rw-r--r--packaging/qemu-accel.spec.in6
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} \