Compare commits

...

35 Commits
master ... f13

Author SHA1 Message Date
Michel Alexandre Salim af6dfd6077 Merge branch 'f15' into f13 2011-03-17 20:01:45 +01:00
Michel Alexandre Salim 2fc8420d0f Move ldconfig triggers to the subpackages containing .so files 2011-03-17 19:03:50 +01:00
Michel Alexandre Salim c3dcc7c01f Don't include test logs; breaks multilib (# 666195)
Split shared libraries into separate subpackage
2011-03-17 18:24:51 +01:00
Michel Alexandre Salim 9eb64e881c Don't include test logs; breaks multilib (# 666195) 2011-03-17 17:36:08 +01:00
Michel Alexandre Salim 4efd36e8e9 for some reason one of the merges resulted in a duplicated with_doxygen
conditional path; excising it
2011-03-17 14:56:29 +01:00
Michel Alexandre Salim 43665ed3e4 Merge branch 'f14' into f13 2011-03-17 14:51:41 +01:00
Michel Alexandre Salim 664c65bee1 Merge branch 'f15' into f14 2011-03-17 14:40:42 +01:00
Michel Alexandre Salim 1db435d4d6 clang++: fix platform-specific include dirs (# 680644) 2011-03-17 14:34:26 +01:00
Michel Alexandre Salim 88425e38fa Don't include 'bits' in the include path override 2011-03-17 13:57:46 +01:00
Michel Alexandre Salim b32ca652bd Fix 32bit-dir and 64-dir parameters: should be relative, not absolute 2011-03-17 13:19:24 +01:00
Michel Alexandre Salim f8523b8fdb clang++: also search for platform-specific include files (# 680644) 2011-03-17 12:47:48 +01:00
Michel Alexandre Salim ae528f3678 Merge branch 'f14' into f13 2010-11-27 17:43:13 +01:00
Michel Alexandre Salim 775aace187 Merge branch 'master' into f14 2010-11-27 17:39:58 +01:00
Michel Alexandre Salim 67f86fc612 remove obsoleted patch 2010-11-27 17:39:46 +01:00
Michel Alexandre Salim f73b06ba5c handle cases where gcc/c++ use symlink for header directories (e.g. F-13's
update from 4.4.4->4.4.5 keeps headers in 4.4.4 but has a 4.4.5 symlink)
2010-11-27 17:33:31 +01:00
Michel Alexandre Salim 44a09cc1e7 Merge branch 'f14' into f13 2010-11-27 16:26:15 +01:00
Michel Alexandre Salim 06a9a2d0a1 Merge branch 'master' into f14 2010-11-27 16:19:13 +01:00
Michel Alexandre Salim 53981466d5 Merge branch 'master' into f13 2010-11-12 16:34:04 +01:00
Michel Alexandre Salim 76c023983a Merge branch 'master' into f14 2010-11-12 16:29:19 +01:00
Michel Alexandre Salim e7a823e4e2 Merge branch 'f14' into f13 2010-11-11 17:59:59 +01:00
Michel Alexandre Salim bbe1677554 Merge branch 'master' into f14
Conflicts:
	llvm.spec
2010-11-11 16:51:56 +01:00
Michel Alexandre Salim faa2645560 Merge branch 'f14' into f13
Conflicts:
	llvm.spec
2010-10-15 01:14:41 +02:00
Michel Alexandre Salim 2be1863ab3 Bump release number for rebuild 2010-10-15 00:05:07 +02:00
Michel Alexandre Salim 63bfe803a9 macro-ify include overrides 2010-10-15 00:01:05 +02:00
Michel Alexandre Salim b3327249f3 Re-add default include directory 2010-10-14 23:58:09 +02:00
Michel Alexandre Salim ae1ead319b - Add correct C include directory at compile time (# 641500)
- Upstream patch so -g flag is not passed to assembler (# 605266)
2010-10-14 23:26:34 +02:00
Jesse Keating d492cae130 - Rebuilt for gcc bug 634757 2010-09-29 22:56:01 -07:00
Michel Alexandre Salim 83f26e99a6 Merge branch 'master' into f14 2010-09-20 15:01:30 +02:00
Dennis Gilmore 79d29c4d2b Merge branch 'master' into f14
Conflicts:
	llvm.spec
2010-09-15 09:32:59 -05:00
David Malcolm 57df0cc54a recompiling .py files against Python 2.7 (rhbz#623332) 2010-08-11 17:46:43 -04:00
Fedora Release Engineering 90303a43a0 dist-git conversion 2010-07-29 02:29:21 +00:00
Michel Alexandre Salim a177d68483 - Make the new noarch -doc obsoletes older (arched) subpackages 2010-06-09 18:51:39 +00:00
Michel Alexandre Salim 271bfdc5be - Add F-12/x86_64 and F-13 C++ header paths 2010-06-05 11:49:56 +00:00
Michel Alexandre Salim 72459ac5db - Update to final 2.7 release 2010-05-02 21:33:15 +00:00
Jesse Keating 3dd5670bf8 Initialize branch F-13 for llvm 2010-02-17 01:57:41 +00:00
2 changed files with 74 additions and 10 deletions

View File

@ -0,0 +1,36 @@
--- llvm-2.7/tools/clang/lib/Frontend/InitHeaderSearch.cpp.cxx_includes 2010-03-06 20:38:10.000000000 +0100
+++ llvm-2.7/tools/clang/lib/Frontend/InitHeaderSearch.cpp 2010-06-05 13:43:03.150438148 +0200
@@ -524,10 +524,32 @@
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.2",
"i686-redhat-linux","", "", triple);
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.2",
+ "x86_64-redhat-linux", "32", "", triple);
+
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.2",
+ "ppc64-redhat-linux", "64", "", triple);
+
// Fedora 12 (February-2010+)
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.3",
"i686-redhat-linux","", "", triple);
-
+
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.3",
+ "x86_64-redhat-linux", "32", "", triple);
+
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.3",
+ "ppc64-redhat-linux", "64", "", triple);
+
+ // Fedora 13
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.4",
+ "i686-redhat-linux","", "", triple);
+
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.4",
+ "x86_64-redhat-linux", "32", "", triple);
+
+ AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.4.4",
+ "ppc64-redhat-linux", "64", "", triple);
+
// openSUSE 11.1 32 bit
AddGnuCPlusPlusIncludePaths("/usr/include/c++/4.3",
"i586-suse-linux", "", "", triple);

View File

@ -12,7 +12,7 @@
Name: llvm
Version: 2.8
Release: 7%{?dist}
Release: 10%{?dist}
Summary: The Low Level Virtual Machine
Group: Development/Languages
@ -42,6 +42,7 @@ BuildRequires: dejagnu tcl-devel python
%if 0%{?_with_doxygen}
BuildRequires: doxygen graphviz
%endif
Requires: llvm-libs = %{version}-%{release}
# LLVM is not supported on PPC64
# http://llvm.org/bugs/show_bug.cgi?id=3729
@ -81,12 +82,21 @@ Obsoletes: %{name}-doc < %{version}-%{release}
Documentation for the LLVM compiler infrastructure.
%package libs
Summary: LLVM shared libraries
Group: System Environment/Libraries
%description libs
Shared libraries for the LLVM compiler infrastructure.
%package -n clang
Summary: A C language family front-end for LLVM
License: NCSA
Group: Development/Languages
Requires: llvm = %{version}-%{release}
# clang requires gcc; clang++ gcc-c++
Requires: gcc-c++
Requires: gcc-c++
%description -n clang
clang: noun
@ -225,7 +235,8 @@ popd
--with-c-include-dirs=%{_includedir}:$(find %{_prefix}/lib/gcc/*/* \
-maxdepth 0 -type d)/include \
--with-cxx-include-root=$(find %{_includedir}/c++/* -maxdepth 0 -type d) \
--with-cxx-include-arch=%{_arch}-%{_vendor}-%{_os}
--with-cxx-include-arch=%{_arch}-%{_vendor}-%{_os} \
--with-cxx-include-32bit-dir=32
# FIXME file this
# configure does not properly specify libdir
@ -308,24 +319,23 @@ chmod -x %{buildroot}%{_libdir}/%{name}/*.a
find examples -name 'Makefile' | xargs -0r rm -f
%post -p /sbin/ldconfig
%post libs -p /sbin/ldconfig
%post -n clang -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%postun -n clang -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc CREDITS.TXT LICENSE.TXT README.txt llvm-testlog.txt
%doc CREDITS.TXT LICENSE.TXT README.txt
%{_bindir}/bugpoint
%{_bindir}/llc
%{_bindir}/lli
%exclude %{_bindir}/llvm-config
%{_bindir}/llvm*
%{_bindir}/opt
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf
%dir %{_libdir}/llvm
%{_libdir}/llvm/*.so
%exclude %{_mandir}/man1/clang.1.*
%exclude %{_mandir}/man1/llvmg??.1.*
%doc %{_mandir}/man1/*.1.*
@ -337,12 +347,20 @@ find examples -name 'Makefile' | xargs -0r rm -f
%{_includedir}/%{name}-c
%{_libdir}/%{name}/*.a
%files libs
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/llvm-%{_arch}.conf
%dir %{_libdir}/%{name}
%exclude %{_libdir}/%{name}/libclang.so
%{_libdir}/%{name}/*.so
%files -n clang
%defattr(-,root,root,-)
%doc clang-docs/* clang-testlog.txt
%doc clang-docs/*
%{_bindir}/clang*
%{_bindir}/c-index-test
%{_bindir}/tblgen
%{_libdir}/%{name}/libclang.so
%{_prefix}/lib/clang
%doc %{_mandir}/man1/clang.1.*
@ -394,6 +412,16 @@ find examples -name 'Makefile' | xargs -0r rm -f
%changelog
* Thu Mar 17 2011 Michel Salim <salimma@fedoraproject.org> - 2.8-10
- Don't include test logs; breaks multilib (# 666195)
- Split shared libraries into separate subpackage
* Thu Mar 17 2011 Michel Salim <salimma@fedoraproject.org> - 2.8-9
- clang++: fix platform-specific include dirs (# 680644)
* Thu Mar 17 2011 Michel Salim <salimma@fedoraproject.org> - 2.8-8
- clang++: also search for platform-specific include files (# 680644)
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild