Hello community,

here is the log from the commit of package llvm for openSUSE:Factory checked in 
at 2014-12-17 19:15:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm (Old)
 and      /work/SRC/openSUSE:Factory/.llvm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "llvm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm/llvm.changes        2014-10-31 
18:27:11.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes   2014-12-17 
19:14:02.000000000 +0100
@@ -1,0 +2,7 @@
+Fri Dec 12 12:36:22 UTC 2014 - [email protected]
+
+- Conditionalize libcxx{abi} build on build_libcxx variable
+- Turn libc++.so into an ldscript so it links to libc++abi
+  automatically.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ llvm.spec ++++++
--- /var/tmp/diff_new_pack.1YPqfL/_old  2014-12-17 19:14:05.000000000 +0100
+++ /var/tmp/diff_new_pack.1YPqfL/_new  2014-12-17 19:14:05.000000000 +0100
@@ -19,6 +19,12 @@
 %define _revision       216961
 %define _release_version 3.5.0
 
+%define build_libcxx 0
+
+%ifarch x86_64
+%define build_libcxx 1
+%endif
+
 Name:           llvm
 Version:        3.5.0
 Release:        0
@@ -169,7 +175,7 @@
 mv cfe-%{version}.src tools/clang
 mv compiler-rt-%{version}.src projects/compiler-rt
 
-%ifarch x86_64
+%if %{build_libcxx}
 mv libcxx-%{version}.src projects/libcxx
 mv libcxxabi-%{version}.src projects/libcxxabi
 %endif
@@ -358,7 +364,9 @@
 ninja check
 ninja clang-test
 
-%ifarch x86_64
+%if %{build_libcxx}
+# Uncomment when llvm 3.6 hits
+#ninja check-libcxx
 ninja check-libcxxabi
 %endif
 
@@ -450,6 +458,14 @@
 # Stuff we don't want to include
 rm %{buildroot}%{_mandir}/man1/lit.1
 
+%if %{build_libcxx}
+# Create an libc++.so as an ldscript
+rm %{buildroot}%{_libdir}/libc++.so
+cat > %{buildroot}%{_libdir}/libc++.so <<EOF
+GROUP ( %{_libdir}/libc++.so.1 %{_libdir}/libc++abi.so )
+EOF
+%endif
+
 %fdupes -s %{buildroot}%{_docdir}/%{name}
 %fdupes -s %{buildroot}%{_docdir}/%{name}-doc
 
@@ -505,7 +521,7 @@
 %{_datadir}/clang
 %{_mandir}/man1/clang.1%{ext_man}
 %{_libdir}/libLTO.*
-%ifarch x86_64
+%if %{build_libcxx}
 %{_libdir}/libc++*
 %{_includedir}/c++/*
 %endif


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to