Hello community,

here is the log from the commit of package llvm for openSUSE:Factory checked in 
at 2015-10-02 09:23:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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        2015-09-11 
09:01:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.llvm.new/llvm.changes   2015-10-02 
09:23:02.000000000 +0200
@@ -1,0 +2,10 @@
+Sun Sep 27 12:03:57 UTC 2015 - idon...@suse.com
+
+- Enable OpenMP for x86, x86_64, ppc64 and ppc64le 
+
+-------------------------------------------------------------------
+Mon Sep 14 13:10:49 UTC 2015 - idon...@suse.com
+
+- Enable all targets on x86, x86_64 
+
+-------------------------------------------------------------------

New:
----
  openmp-3.7.0.src.tar.xz

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

Other differences:
------------------
++++++ llvm.spec ++++++
--- /var/tmp/diff_new_pack.9NCGvR/_old  2015-10-02 09:23:04.000000000 +0200
+++ /var/tmp/diff_new_pack.9NCGvR/_new  2015-10-02 09:23:04.000000000 +0200
@@ -20,11 +20,16 @@
 %define _release_version 3.7.0
 
 %define build_libcxx 0
+%define build_openmp 0
 
 %ifarch x86_64
 %define build_libcxx 1
 %endif
 
+%ifarch ppc64 ppc64le %{ix86} x86_64
+%define build_openmp 1
+%endif
+
 Name:           llvm
 Version:        3.7.0
 Release:        0
@@ -37,13 +42,14 @@
 Source2:        
http://llvm.org/releases/%{version}/compiler-rt-%{version}.src.tar.xz
 Source3:        
http://llvm.org/releases/%{version}/libcxx-%{version}.src.tar.xz
 Source4:        
http://llvm.org/releases/%{version}/libcxxabi-%{version}.src.tar.xz
+Source5:        
http://llvm.org/releases/%{version}/openmp-%{version}.src.tar.xz
 # Manually created docs
 # cd docs
 # make -f Makefile.sphinx man html
 # cd ..
 # tar cvJf llvm-docs-3.7.0.src.tar.xz llvm-3.7.0.src/docs/_build/{man,html}
-Source5:        llvm-docs-%{version}.src.tar.xz
-Source6:        cfe-docs-%{version}.src.tar.xz
+Source6:        llvm-docs-%{version}.src.tar.xz
+Source7:        cfe-docs-%{version}.src.tar.xz
 Source100:      %{name}-rpmlintrc
 Source101:      baselibs.conf
 # PATCH-FIX-OPENSUSE set-revision.patch idoen...@suse.de -- Allow us to set 
revision
@@ -152,7 +158,7 @@
 This package contains the Python bindings to clang (C language) frontend for 
LLVM.
 
 %prep
-%setup -q -a 1 -a 2 -a 3 -a 4 -a 6 -b 5 -n %{name}-%{version}.src
+%setup -q -a 1 -a 2 -a 3 -a 4 -a 5 -a 7 -b 6 -n %{name}-%{version}.src
 %patch1
 %patch2
 %patch3
@@ -168,6 +174,10 @@
 mv cfe-%{version}.src tools/clang
 mv compiler-rt-%{version}.src projects/compiler-rt
 
+%if %{build_openmp}
+mv openmp-%{version}.src  projects/openmp
+%endif
+
 %if %{build_libcxx}
 mv libcxx-%{version}.src projects/libcxx
 mv libcxxabi-%{version}.src projects/libcxxabi
@@ -262,8 +272,11 @@
       -DLLVM_ENABLE_ASSERTIONS=OFF \
       -DLLVM_ENABLE_PIC=ON \
       -DLLVM_BINUTILS_INCDIR=/usr/include \
+%if %{build_openmp}
+      -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp \
+%endif
 %ifarch %{ix86} x86_64
-      -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \
+      -DLLVM_TARGETS_TO_BUILD="all" \
 %else
       -DLLVM_TARGETS_TO_BUILD=host \
 %endif
@@ -309,8 +322,11 @@
       -DLLVM_ENABLE_ASSERTIONS=OFF \
       -DLLVM_ENABLE_PIC=ON \
       -DLLVM_BINUTILS_INCDIR=/usr/include \
+%if %{build_openmp}
+      -DCLANG_DEFAULT_OPENMP_RUNTIME=libomp \
+%endif
 %ifarch %{ix86} x86_64
-      -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \
+      -DLLVM_TARGETS_TO_BUILD="all" \
 %else
       -DLLVM_TARGETS_TO_BUILD=host \
 %endif
@@ -417,6 +433,10 @@
 # Stuff we don't want to include
 rm %{buildroot}%{_mandir}/man1/lit.1
 
+%if %{build_openmp}
+rm -f %{buildroot}%{_libdir}/libgomp.so
+%endif
+
 %if %{build_libcxx}
 # Create an libc++.so as an ldscript
 rm %{buildroot}%{_libdir}/libc++.so
@@ -483,6 +503,10 @@
 %{_datadir}/clang
 %{_mandir}/man1/clang.1%{ext_man}
 %{_libdir}/libLTO.*
+%if %{build_openmp}
+%{_libdir}/libomp.so
+%{_libdir}/libiomp5.so
+%endif
 %if %{build_libcxx}
 %{_libdir}/libc++*
 %{_includedir}/c++/*



Reply via email to