SHA256
1
0
forked from pool/llvm

- Add libc++/libc++abi support clang (only on x86_64)

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=369
This commit is contained in:
Ismail Dönmez 2014-09-05 18:13:29 +00:00 committed by Git OBS Bridge
parent a4dd9949df
commit 6fd647e4ce
2 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,6 @@
Fri Sep 5 16:09:45 UTC 2014 - idonmez@suse.com Fri Sep 5 16:09:45 UTC 2014 - idonmez@suse.com
- Use ninja for building - Use ninja for building
- Remove libstdc++-devel from requires, clang now ships libc++
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 4 12:26:10 UTC 2014 - idonmez@suse.com Thu Sep 4 12:26:10 UTC 2014 - idonmez@suse.com
@ -10,7 +9,7 @@ Thu Sep 4 12:26:10 UTC 2014 - idonmez@suse.com
- Update to llvm 3.5.0 - Update to llvm 3.5.0
* Major update, see http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html * Major update, see http://llvm.org/releases/3.5.0/docs/ReleaseNotes.html
- Use upstream pristine tarballs - Use upstream pristine tarballs
- Add libc++/libc++abi support clang - Add libc++/libc++abi support clang (only on x86_64)
- Add libcxxabi-exceptions.patch to fix libcxxabi exception handling - Add libcxxabi-exceptions.patch to fix libcxxabi exception handling
- Remove asan-disable-hugemalloctest.patch and - Remove asan-disable-hugemalloctest.patch and
cmake-patchversion.patch, fixed upstream. cmake-patchversion.patch, fixed upstream.

View File

@ -104,6 +104,7 @@ Group: Development/Languages/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: binutils Requires: binutils
Requires: libclang = %{version}-%{release} Requires: libclang = %{version}-%{release}
Requires: libstdc++-devel
Provides: clang Provides: clang
%description clang %description clang
@ -164,7 +165,7 @@ This package contains the Python bindings to clang (C language) frontend for LLV
mv cfe-%{version}.src tools/clang mv cfe-%{version}.src tools/clang
mv compiler-rt-%{version}.src projects/compiler-rt mv compiler-rt-%{version}.src projects/compiler-rt
%ifarch %{ix86} x86_64 %ifarch x86_64
mv libcxx-%{version}.src projects/libcxx mv libcxx-%{version}.src projects/libcxx
mv libcxxabi-%{version}.src projects/libcxxabi mv libcxxabi-%{version}.src projects/libcxxabi
%endif %endif
@ -312,7 +313,7 @@ ln -s lib lib64
ninja check ninja check
ninja clang-test ninja clang-test
%ifarch %{ix86} x86_64 %ifarch x86_64
ninja check-libcxxabi ninja check-libcxxabi
%endif %endif
@ -462,7 +463,7 @@ rm %{buildroot}%{_mandir}/man1/lit.1
%{_datadir}/clang %{_datadir}/clang
%{_mandir}/man1/clang.1%{ext_man} %{_mandir}/man1/clang.1%{ext_man}
%{_libdir}/libLTO.* %{_libdir}/libLTO.*
%ifarch %{ix86} x86_64 %ifarch x86_64
%{_libdir}/libc++* %{_libdir}/libc++*
%{_includedir}/c++/* %{_includedir}/c++/*
%endif %endif