- Enable ARM support again

- Switch to optimized build

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=96
This commit is contained in:
Ismail Dönmez 2011-11-16 14:28:41 +00:00 committed by Git OBS Bridge
parent 58c2b1acef
commit 8e9524212e
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 16 14:28:17 UTC 2011 - idonmez@suse.com
- Enable ARM support again
- Switch to optimized build
-------------------------------------------------------------------
Thu Nov 10 14:54:50 UTC 2011 - idonmez@suse.com

View File

@ -18,7 +18,7 @@
%define _revision 143961
%define _release_version 3.0
%define _supported_archs "X86"
%define _supported_archs "ARM;X86"
Name: llvm
Version: 2.9.99.svn20111106
@ -142,8 +142,8 @@ TOPLEVEL=$PWD
mkdir stage1 stage2
cd stage1
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLLVM_ENABLE_ASSERTIONS=TRUE \
cmake -DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_ASSERTIONS=FALSE \
-DLLVM_TARGETS_TO_BUILD=%{_supported_archs} \
..
@ -157,7 +157,7 @@ export CC=$TOPLEVEL/stage1/bin/clang
export CXX=$TOPLEVEL/stage1/bin/clang++
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_ENABLE_ASSERTIONS=FALSE \
-DLLVM_ENABLE_PIC=TRUE \
-DLLVM_ENABLE_TIMESTAMPS=FALSE \