From ff6b65b9e13d98950c2a2cee54f156da7c5f9a45 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 29 Sep 2010 14:45:01 -0700 Subject: [PATCH 1/4] - Rebuilt for gcc bug 634757 --- llvm.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index fd445fd..e182b98 100644 --- a/llvm.spec +++ b/llvm.spec @@ -12,7 +12,7 @@ Name: llvm Version: 2.7 -Release: 9%{?dist} +Release: 10%{?dist} Summary: The Low Level Virtual Machine Group: Development/Languages @@ -381,6 +381,9 @@ find examples -name 'Makefile' | xargs -0r rm -f %changelog +* Wed Sep 29 2010 jkeating - 2.7-10 +- Rebuilt for gcc bug 634757 + * Mon Sep 20 2010 Michel Salim - 2.7-9 - Dynamically determine C++ include path at compile time (# 630474) - Remove unneeded BuildRoot field and clean section From 09e7c11d3ee1c4753c123b832e1029f6d6808b5a Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Tue, 12 Oct 2010 17:38:42 +0200 Subject: [PATCH 2/4] - Update to 2.8 release --- .gitignore | 4 ++-- llvm.spec | 14 +++++++++----- sources | 4 ++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 7fbb55f..00ec31b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -clang-2.7.tgz -llvm-2.7.tgz +/llvm-2.8.tgz +/clang-2.8.tgz diff --git a/llvm.spec b/llvm.spec index e182b98..00e0131 100644 --- a/llvm.spec +++ b/llvm.spec @@ -11,8 +11,8 @@ %endif Name: llvm -Version: 2.7 -Release: 10%{?dist} +Version: 2.8 +Release: 1%{?dist} Summary: The Low Level Virtual Machine Group: Development/Languages @@ -193,9 +193,9 @@ mv clang-%{version} tools/clang %patch0 -p1 -b .timestamp # Encoding fix -(cd tools/clang/docs && \ - iconv -f ISO88591 -t UTF8 BlockImplementation.txt \ - -o BlockImplementation.txt) +#(cd tools/clang/docs && \ +# iconv -f ISO88591 -t UTF8 BlockImplementation.txt \ +# -o BlockImplementation.txt) %build @@ -329,6 +329,7 @@ find examples -name 'Makefile' | xargs -0r rm -f %defattr(-,root,root,-) %doc clang-docs/* clang-testlog.txt %{_bindir}/clang* +%{_bindir}/c-index-test %{_bindir}/tblgen %{_prefix}/lib/clang %doc %{_mandir}/man1/clang.1.* @@ -381,6 +382,9 @@ find examples -name 'Makefile' | xargs -0r rm -f %changelog +* Tue Oct 12 2010 Michel Salim - 2.8-1 +- Update to 2.8 release + * Wed Sep 29 2010 jkeating - 2.7-10 - Rebuilt for gcc bug 634757 diff --git a/sources b/sources index 107743e..93dbdb8 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -b83260aa8c13494adf8978b5f238bf1b clang-2.7.tgz -ac322661f20e7d6c810b1869f886ad9b llvm-2.7.tgz +220d361b4d17051ff4bb21c64abe05ba llvm-2.8.tgz +10e14c901fc3728eecbd5b829e011b59 clang-2.8.tgz From 7ea8ecf20fc5cea30ec2fabcdf39255cd63c5d7c Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 14 Oct 2010 22:24:08 +0200 Subject: [PATCH 3/4] - Add correct C include directory at compile time (# 641500) --- llvm.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index 00e0131..68e74e1 100644 --- a/llvm.spec +++ b/llvm.spec @@ -12,7 +12,7 @@ Name: llvm Version: 2.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Low Level Virtual Machine Group: Development/Languages @@ -212,6 +212,7 @@ mv clang-%{version} tools/clang --enable-debug-runtime \ --enable-jit \ --enable-shared \ + --with-c-include-dirs=$(echo /usr/lib/gcc/*/*/include) \ --with-cxx-include-root=$(echo /usr/include/c++/*) \ --with-cxx-include-arch=%{_arch}-%{_vendor}-%{_os} @@ -382,6 +383,9 @@ find examples -name 'Makefile' | xargs -0r rm -f %changelog +* Thu Oct 14 2010 Michel Salim - 2.8-2 +- Add correct C include directory at compile time (# 641500) + * Tue Oct 12 2010 Michel Salim - 2.8-1 - Update to 2.8 release From 3107968a59701bb907f0f31b415bffd894770e41 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 15 Oct 2010 01:02:11 +0200 Subject: [PATCH 4/4] - Re-add omitted %{_includedir} --- llvm.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/llvm.spec b/llvm.spec index 68e74e1..d836736 100644 --- a/llvm.spec +++ b/llvm.spec @@ -12,7 +12,7 @@ Name: llvm Version: 2.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: The Low Level Virtual Machine Group: Development/Languages @@ -212,8 +212,8 @@ mv clang-%{version} tools/clang --enable-debug-runtime \ --enable-jit \ --enable-shared \ - --with-c-include-dirs=$(echo /usr/lib/gcc/*/*/include) \ - --with-cxx-include-root=$(echo /usr/include/c++/*) \ + --with-c-include-dirs=%{_includedir}:$(echo %{_prefix}/lib/gcc/*/*/include) \ + --with-cxx-include-root=$(echo %{_includedir}/c++/*) \ --with-cxx-include-arch=%{_arch}-%{_vendor}-%{_os} # FIXME file this @@ -383,6 +383,9 @@ find examples -name 'Makefile' | xargs -0r rm -f %changelog +* Fri Oct 15 2010 Michel Salim - 2.8-3 +- Re-add omitted %%{_includedir} + * Thu Oct 14 2010 Michel Salim - 2.8-2 - Add correct C include directory at compile time (# 641500)