diff --git a/llvm.changes b/llvm.changes index c4b59ae..eaa73b2 100644 --- a/llvm.changes +++ b/llvm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Apr 26 10:55:02 UTC 2012 - idonmez@suse.com + +- Switch to 2-stage bootstrap because we don't do build-compare + anyway. + ------------------------------------------------------------------- Wed Apr 25 09:40:32 UTC 2012 - idonmez@suse.com diff --git a/llvm.spec b/llvm.spec index b0053f4..0c7c40e 100644 --- a/llvm.spec +++ b/llvm.spec @@ -158,7 +158,7 @@ echo > utils/unittest/LLVMBuild.txt %build TOPLEVEL=$PWD -mkdir stage1 stage2 stage3 +mkdir stage1 stage2 pushd stage1 ../configure \ @@ -172,25 +172,12 @@ make %{?_smp_mflags} popd pushd stage2 -export CC=$TOPLEVEL/stage1/Release/bin/clang -export CXX=$TOPLEVEL/stage1/Release/bin/clang++ - -../configure \ - --enable-optimized \ - --disable-assertions \ - --enable-targets=host - -make %{?_smp_mflags} - -popd -pushd stage3 - # autotools ignore --libdir mkdir Release ln -s lib Release/lib64 -export CC=$TOPLEVEL/stage2/Release/bin/clang -export CXX=$TOPLEVEL/stage2/Release/bin/clang++ +export CC=$TOPLEVEL/stage1/Release/bin/clang +export CXX=$TOPLEVEL/stage1/Release/bin/clang++ ../configure \ --prefix=%{_prefix} \ @@ -207,13 +194,13 @@ export CXX=$TOPLEVEL/stage2/Release/bin/clang++ make %{?_smp_mflags} REQUIRES_RTTI=1 %check -cd stage3 +cd stage2 make check cd tools/clang make test %install -cd stage3 +cd stage2 %makeinstall cd ..