- Update to r197142 from release_34 branch
- Disable assertions again now that PPC64 backend is fixed OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=321
This commit is contained in:
parent
4632243a0b
commit
c0c4af6b01
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5046ba1175f271b0f178f69e694baebc9931979da74e78192a3e20755d7a5566
|
||||
size 27863933
|
3
llvm-3.4.tar.bz2
Normal file
3
llvm-3.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f343e45d71f91d608ec5b43919bce68ee197b838dc15ea9a3ebab6d8b7b295e
|
||||
size 27905400
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 12 10:43:42 UTC 2013 - idonmez@suse.com
|
||||
|
||||
- Update to r197142 from release_34 branch
|
||||
- Disable assertions again now that PPC64 backend is fixed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 10 09:48:59 UTC 2013 - idonmez@suse.com
|
||||
|
||||
|
13
llvm.spec
13
llvm.spec
@ -16,11 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%define _revision 196899
|
||||
%define _revision 197142
|
||||
%define _release_version 3.4
|
||||
|
||||
Name: llvm
|
||||
Version: 3.3.93
|
||||
Version: 3.4
|
||||
Release: 0
|
||||
Summary: Low Level Virtual Machine
|
||||
License: NCSA
|
||||
@ -154,7 +154,7 @@ Requires: python
|
||||
This package contains the Python bindings to clang (C language) frontend for LLVM.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
@ -230,6 +230,7 @@ pushd stage1
|
||||
%ifarch ppc64
|
||||
%define host_triple powerpc64-suse-linux
|
||||
sed -i s,'${CMAKE_SYSTEM_PROCESSOR}','"PowerPC"',g ../cmake/modules/AddLLVM.cmake
|
||||
rm -rf ../projects/compiler-rt
|
||||
%endif
|
||||
%ifarch s390x
|
||||
%define host_triple s390x-suse-linux
|
||||
@ -240,7 +241,7 @@ rm -rf ../projects/compiler-rt
|
||||
cmake -G "Unix Makefiles" \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLLVM_ENABLE_ASSERTIONS=ON \
|
||||
-DLLVM_ENABLE_ASSERTIONS=OFF \
|
||||
-DLLVM_TARGETS_TO_BUILD=host \
|
||||
-DCMAKE_C_FLAGS="-O0" \
|
||||
-DCMAKE_CXX_FLAGS="-O0" \
|
||||
@ -280,7 +281,7 @@ cmake -G "Unix Makefiles" \
|
||||
%endif
|
||||
-DLLVM_REQUIRES_RTTI=ON \
|
||||
-DLLVM_ENABLE_TIMESTAMPS=OFF \
|
||||
-DLLVM_ENABLE_ASSERTIONS=ON \
|
||||
-DLLVM_ENABLE_ASSERTIONS=OFF \
|
||||
-DLLVM_ENABLE_PIC=ON \
|
||||
%if 0%{?suse_version} >= 1220
|
||||
-DLLVM_BINUTILS_INCDIR=/usr/include \
|
||||
@ -463,7 +464,7 @@ rm %{buildroot}%{_mandir}/man1/lit.1
|
||||
%{_libdir}/bfd-plugins/
|
||||
%endif
|
||||
%{_libdir}/clang
|
||||
%ifnarch %arm aarch64 s390 s390x
|
||||
%ifnarch %arm aarch64 ppc64 s390 s390x
|
||||
%{_libdir}/clang/%{_release_version}/lib/linux/
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user