diff options
author | Andrew Savchenko <bircoph@gmail.com> | 2013-05-26 23:45:14 +0400 |
---|---|---|
committer | Andrew Savchenko <bircoph@gmail.com> | 2013-05-26 23:45:14 +0400 |
commit | b85d0287b0142e8f23c9b2aeff0b7305908b4312 (patch) | |
tree | a9abc3d5f23a9a68f61c79c2d356e332ce414bd4 /sys-devel | |
parent | torque: update homepage (diff) | |
download | bircoph-b85d0287b0142e8f23c9b2aeff0b7305908b4312.tar.gz bircoph-b85d0287b0142e8f23c9b2aeff0b7305908b4312.tar.bz2 bircoph-b85d0287b0142e8f23c9b2aeff0b7305908b4312.zip |
llvm: fix docs build
See bug 456326.
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/llvm/ChangeLog | 477 | ||||
-rw-r--r-- | sys-devel/llvm/Manifest | 7 | ||||
-rw-r--r-- | sys-devel/llvm/files/llvm-3.0-PPC_macro.patch | 43 | ||||
-rw-r--r-- | sys-devel/llvm/files/llvm-3.2-nodoctargz.patch | 45 | ||||
-rw-r--r-- | sys-devel/llvm/llvm-3.2.ebuild | 206 | ||||
-rw-r--r-- | sys-devel/llvm/metadata.xml | 24 |
6 files changed, 802 insertions, 0 deletions
diff --git a/sys-devel/llvm/ChangeLog b/sys-devel/llvm/ChangeLog new file mode 100644 index 0000000..a34fb58 --- /dev/null +++ b/sys-devel/llvm/ChangeLog @@ -0,0 +1,477 @@ +# ChangeLog for sys-devel/llvm +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.109 2013/03/21 09:12:55 chithanh Exp $ + + 21 Mar 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + llvm-9999.ebuild: + Disable failing patch, bug #462444. + + 19 Mar 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + llvm-9999.ebuild: + Add video_cards_radeon flag for the r600 shader compiler. + + 27 Feb 2013; Zac Medico <zmedico@gentoo.org> llvm-3.2.ebuild: + Add ~arm-linux keyword. + + 02 Feb 2013; Michał Górny <mgorny@gentoo.org> llvm-3.2.ebuild, + llvm-9999.ebuild: + Migrate to python-any-r1 (strictly build-time dependency on Python). + + 17 Jan 2013; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.2.ebuild, + metadata.xml: + Provided pre-generated manpages with USE=-doc, fixes bug #448250 by Duncan + + 07 Jan 2013; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.2.ebuild, + llvm-9999.ebuild: + Fix tests on hardened, thanks nikoli@lavabit.com in bug #448240. Sync some + changes in live ebuild + + 03 Jan 2013; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.8-r2.ebuild, + llvm-2.9-r2.ebuild, llvm-3.0-r2.ebuild, -llvm-3.1.ebuild, + -llvm-3.1-r1.ebuild, llvm-3.1-r2.ebuild, llvm-3.2.ebuild, llvm-9999.ebuild: + Update udis86 dep now that pic USE-flag is going away, bump EAPI in old + packages when needed for the dep, bug #449812. Also clean ~arch 3.1 packages + and update live ebuild EAPI + +*llvm-3.2 (21 Dec 2012) + + 21 Dec 2012; Bernard Cafarelli <voyageur@gentoo.org> -llvm-3.2_rc3.ebuild, + +llvm-3.2.ebuild: + Bump to final version, remove release candidate + + 17 Dec 2012; Markus Meier <maekke@gentoo.org> llvm-3.1-r2.ebuild: + arm stable, bug #443508 + + 14 Dec 2012; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.2_rc3.ebuild, + llvm-9999.ebuild: + Doc and man pages are now generated by sphinx, thanks Alphat-PC for the fix + in bug #446414 + + 14 Dec 2012; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.1-r2.ebuild, + +files/llvm-3.1-ExecutionEngine_tests_xfail_arm.patch: + Backport ExecutionEngine tests XFAIL marking for arm, for bug #444362 + +*llvm-3.2_rc3 (07 Dec 2012) + + 07 Dec 2012; Bernard Cafarelli <voyageur@gentoo.org> -llvm-3.2_rc2.ebuild, + +llvm-3.2_rc3.ebuild: + RC bump, install FileCheck test tool as it is needed for dragonegg tests + +*llvm-3.2_rc2 (03 Dec 2012) + + 03 Dec 2012; Bernard Cafarelli <voyageur@gentoo.org> +llvm-3.2_rc2.ebuild: + Release candidate bump + + 01 Dec 2012; Anthony G. Basile <blueness@gentoo.org> llvm-3.1-r2.ebuild: + stable ppc, bug #443508 + + 30 Nov 2012; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.9-r2.ebuild, + +files/llvm-2.9-gcc4.7.patch: + Fix compilation with gcc 4.7, reported by José Romildo Malaquias in bug + #444550 + + 18 Nov 2012; Agostino Sarubbo <ago@gentoo.org> llvm-3.1-r2.ebuild: + Stable for x86, wrt bug #443508 + + 16 Nov 2012; Agostino Sarubbo <ago@gentoo.org> llvm-3.1-r2.ebuild: + Stable for amd64, wrt bug #443508 + + 24 Sep 2012; Andreas Schuerch <nativemad@gentoo.org> llvm-3.0-r2.ebuild: + x86 stable, see bug 417027. Thanks Myckel Habets. + + 24 Aug 2012; Agostino Sarubbo <ago@gentoo.org> llvm-3.0-r2.ebuild: + Stable for amd64, wrt bug #417027 + + 05 Aug 2012; Richard Yao <ryao@gentoo.org> llvm-3.1-r2.ebuild: + Keyword ~x64-freebsd + + 27 Jul 2012; Michał Górny <mgorny@gentoo.org> llvm-3.1-r1.ebuild, + llvm-3.1-r2.ebuild, llvm-9999.ebuild: + Use tc-export to enforce Gentoo default CC/CXX when $CHOST-clang is available. + +*llvm-3.1-r2 (16 Jul 2012) + + 16 Jul 2012; Michał Górny <mgorny@gentoo.org> + +files/cl-patches/0001-r600-Add-some-intrinsic-definitions.patch, +files/cl-pa + tches/0002-r600-Add-get_global_size-and-get_local_size-intrinsi.patch, + +llvm-3.1-r2.ebuild: + Add OpenCL Radeon patches wrt #425688. + + 06 Jul 2012; Michał Górny <mgorny@gentoo.org> llvm-3.1-r1.ebuild: + Enable cpp target while the ebuild's still hot. Bug #418441. + +*llvm-3.1-r1 (05 Jul 2012) + + 05 Jul 2012; Bernard Cafarelli <voyageur@gentoo.org> +llvm-3.1-r1.ebuild, + +files/llvm-3.1-fix_debug_line_info.patch: + Fix line info generation for gdb in clang, thanks Ben Longbons + <b.r.longbons@gmail.com> in bug #424199 + + 03 Jul 2012; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.9-r2.ebuild, + llvm-3.0-r2.ebuild, llvm-3.1.ebuild, llvm-9999.ebuild: + Add pax-mark calls to support hardened setups, thanks everyone in bug #399825 + + 14 Jun 2012; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.1.ebuild, + +files/llvm-3.1-ivybridge_support.patch: + Fix Ivy bridge processors detection with -march=native + + 12 Jun 2012; Fabian Groffen <grobian@gentoo.org> llvm-3.1.ebuild: + Marked ~x64-macos + + 08 Jun 2012; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild: + Enable cpp target by default wrt #418441. + + 04 Jun 2012; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild: + Depend on binutils[cxx] in the live ebuild as well. + + 04 Jun 2012; Michał Górny <mgorny@gentoo.org> llvm-3.0-r2.ebuild, + llvm-3.1.ebuild: + Depend on binutils[cxx] for gold plugin wrt #419383. + + 02 Jun 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + llvm-3.1.ebuild: + Keyword ~arm, bug #320221. + + 26 May 2012; Alexis Ballier <aballier@gentoo.org> llvm-3.1.ebuild: + keyword ~amd64-fbsd + +*llvm-3.1 (23 May 2012) + + 23 May 2012; Michał Górny <mgorny@gentoo.org> +llvm-3.1.ebuild: + Version bump. + + 20 May 2012; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild: + Fix omitted doman call. + + 20 May 2012; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild: + Disable manpage generation code until either rst2man or docs are fixed. + + 14 May 2012; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild: + Generate manpages before compiling llvm -- save time if it is going to fail. + + 13 May 2012; Michał Górny <mgorny@gentoo.org> llvm-9999.ebuild: + Generate manpages from .rst files. + + 10 May 2012; Patrick Lauer <patrick@gentoo.org> llvm-9999.ebuild: + Upstream changed doc handling, removing obsolete patch from -9999 ebuild + + 04 May 2012; Jeff Horelick <jdhore@gentoo.org> llvm-2.9-r2.ebuild, + llvm-3.0-r2.ebuild, llvm-9999.ebuild: + dev-util/pkgconfig -> virtual/pkgconfig + + 02 May 2012; Michał Górny <mgorny@gentoo.org> metadata.xml: + Add myself as a co-maintainer. + + 30 Apr 2012; Fabian Groffen <grobian@gentoo.org> + +files/llvm-3.2-nodoctargz.patch, llvm-9999.ebuild: + Fix nodoctargz patch for latest source, bug #413111 + + 30 Apr 2012; Fabian Groffen <grobian@gentoo.org> llvm-9999.ebuild: + Extract the version LLVM refers to internally so we can properly fix + install_names on Darwin, bug #412137 + + 13 Apr 2012; Bernard Cafarelli <voyageur@gentoo.org> -llvm-3.0-r1.ebuild, + llvm-3.0-r2.ebuild, llvm-9999.ebuild: + Support epatch_user, bug #411447 + + 13 Apr 2012; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.0-r2.ebuild, + +files/llvm-3.0-PPCCompilationCallbackC_static.patch: + Fix TEXTREL on ppc, patch by and thanks to Kimura Masaru + <hiyuh.root@gmail.com> in bug #403519 + +*llvm-3.0-r2 (27 Mar 2012) + + 27 Mar 2012; Bernard Cafarelli <voyageur@gentoo.org> +llvm-3.0-r2.ebuild, + +files/llvm-3.0-set_soname.patch: + Set soname in shared library, bug #409267 by ryao + + 13 Mar 2012; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.0-r1.ebuild, + llvm-9999.ebuild: + Tests require python-2, spotted by patrick, bug #407885 + + 06 Mar 2012; Bernard Cafarelli <voyageur@gentoo.org> llvm-9999.ebuild: + Set python-2 to build, thanks Matthias Dahl in bug #406155 for report and + patch. Also add PPC support patch and switch to EAPI4 + +*llvm-3.0-r1 (03 Feb 2012) + + 03 Feb 2012; Bernard Cafarelli <voyageur@gentoo.org> -llvm-3.0.ebuild, + +llvm-3.0-r1.ebuild, +files/llvm-3.0-gold_LTO_link.patch: + Fix gold plugin build (using correct libLTO), thanks Rafał Mużyło and + grobian in bug #398391 + + 27 Jan 2012; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.0.ebuild, + +files/llvm-3.0-PPC_macro.patch: + Fix compilation on ppc, bug #394183 + + 27 Jan 2012; Bernard Cafarelli <voyageur@gentoo.org> llvm-9999.ebuild: + Really fix new llvm-config in live ebuild, bug #392715 + + 13 Dec 2011; Naohiro Aota <naota@gentoo.org> llvm-2.9-r2.ebuild: + Add ~x86-fbsd wrt #320221 + + 12 Dec 2011; Fabian Groffen <grobian@gentoo.org> llvm-3.0.ebuild, + llvm-9999.ebuild: + Fix install_name of renamed profile_rt.dylib library (to libprofile_rt.dylib). + + 05 Dec 2011; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.0.ebuild, + +files/llvm-3.0-ocaml_install.patch: + Fix ocaml bindings installation, thanks everyone in bug #393023 + + 02 Dec 2011; Bernard Cafarelli <voyageur@gentoo.org> llvm-9999.ebuild: + Drop llvm-config sed in live ebuild, bug #392715. Also add USE=gold handling + to it, bug #392717. Thanks Marcin Mirosław <bug@mejor.pl> for both bug + reports + +*llvm-3.0 (02 Dec 2011) + + 02 Dec 2011; Bernard Cafarelli <voyageur@gentoo.org> -llvm-3.0_rc4.ebuild, + +llvm-3.0.ebuild: + Final release bump, remove rc + + 28 Nov 2011; Tony Vroon <chainsaw@gentoo.org> llvm-2.9-r2.ebuild: + Marked stable on AMD64 based on arch testing by Michael Orlitzky, Agostino + "ago" Sarubbo & Elijah "Armageddon" El Lazkani in bug #384709. + +*llvm-3.0_rc4 (28 Nov 2011) + + 28 Nov 2011; Bernard Cafarelli <voyageur@gentoo.org> -llvm-3.0_rc3.ebuild, + +llvm-3.0_rc4.ebuild: + Final rc bump + + 24 Nov 2011; Fabian Groffen <grobian@gentoo.org> llvm-2.8-r2.ebuild, + llvm-9999.ebuild, llvm-2.9-r2.ebuild, llvm-3.0_rc3.ebuild: + Fix install_name pointer to libLLVM-x.y.dylib in a more flexible way to avoid + bugs like #391763 + + 22 Nov 2011; Bernard Cafarelli <voyageur@gentoo.org> llvm-3.0_rc3.ebuild, + metadata.xml: + Add support for gold plugin, thanks Matthias Maier in bug #371951 + + 17 Nov 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> llvm-2.9-r2.ebuild: + x86 stable wrt bug #384709 + +*llvm-3.0_rc3 (09 Nov 2011) + + 09 Nov 2011; Bernard Cafarelli <voyageur@gentoo.org> -llvm-3.0_rc1.ebuild, + +llvm-3.0_rc3.ebuild: + Update rc, some more ebuild cleanups + +*llvm-3.0_rc1 (09 Nov 2011) + + 09 Nov 2011; Bernard Cafarelli <voyageur@gentoo.org> +llvm-3.0_rc1.ebuild, + llvm-9999.ebuild: + Add rc release to prepare for 3.0, remove llvm-gcc detection code (not used + in configure anymore) + + 04 Oct 2011; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.8-r2.ebuild, + -llvm-2.8-r4.ebuild, llvm-2.9-r2.ebuild, llvm-9999.ebuild: + Fix forced -O3 -fomit-frame-pointer CFLAGS again, bug #385543 + + 03 Oct 2011; Bernard Cafarelli <voyageur@gentoo.org> -llvm-2.8-r1.ebuild, + llvm-2.8-r2.ebuild, llvm-2.8-r4.ebuild, -llvm-2.9-r1.ebuild, + llvm-2.9-r2.ebuild, llvm-9999.ebuild, metadata.xml: + Rename alltargets USE flag to multitarget, bug #382307. Clean bison + dependency, depending only on new enough one. Drop some versions + + 28 Sep 2011; Samuli Suominen <ssuominen@gentoo.org> metadata.xml: + USE="libffi" is now global USE flag. + + 15 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> llvm-2.8-r2.ebuild: + ppc stable wrt #360553 + + 06 Jun 2011; Bernard Cafarelli <voyageur@gentoo.org> llvm-9999.ebuild: + Update live ebuild to sync latest ebuild changes (vim-syntax, libffi, ...) + +*llvm-2.9-r2 (23 May 2011) + + 23 May 2011; Bernard Cafarelli <voyageur@gentoo.org> +llvm-2.9-r2.ebuild, + +files/llvm-2.9-Operator.h-c++0x.patch: + Fix header for gcc 4.6, bug #365925 + + 21 Apr 2011; Fabian Groffen <grobian@gentoo.org> llvm-2.9-r1.ebuild, + llvm-9999.ebuild: + Fix broken reference that I missed yesterday + + 20 Apr 2011; Fabian Groffen <grobian@gentoo.org> llvm-2.9-r1.ebuild, + llvm-9999.ebuild: + Fix install_name_tooling + +*llvm-2.8-r4 (15 Apr 2011) + + 15 Apr 2011; Bernard Cafarelli <voyageur@gentoo.org> -llvm-2.8-r3.ebuild, + +llvm-2.8-r4.ebuild, -llvm-2.9.ebuild: + Also update 2.8 branch with libffi/debug changes + +*llvm-2.9-r1 (15 Apr 2011) + + 15 Apr 2011; Bernard Cafarelli <voyageur@gentoo.org> +llvm-2.9-r1.ebuild: + Fix libffi include search path and debug flags, bugs #363595 and #362567 + + 10 Apr 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> llvm-2.8-r2.ebuild: + x86 stable wrt bug #360553 + +*llvm-2.9 (07 Apr 2011) + + 07 Apr 2011; Bernard Cafarelli <voyageur@gentoo.org> +llvm-2.9.ebuild: + Version bump + + 28 Mar 2011; Christoph Mende <angelos@gentoo.org> llvm-2.8-r2.ebuild: + Stable on amd64 wrt bug #360553 + +*llvm-2.8-r3 (28 Mar 2011) + + 28 Mar 2011; Bernard Cafarelli <voyageur@gentoo.org> + -files/llvm-2.6-nodoctargz.patch, -llvm-2.7.ebuild, -llvm-2.7-r2.ebuild, + +llvm-2.8-r3.ebuild: + Install vim syntax files with USE=vim-syntax, bug #360147. Also drop 2.7 + versions + + 14 Mar 2011; Fabian Groffen <grobian@gentoo.org> llvm-2.8-r2.ebuild: + Marked ~x86-linux + + 28 Feb 2011; Bernard Cafarelli <voyageur@gentoo.org> + +files/llvm-2.9-nodoctargz.patch, llvm-9999.ebuild: + Fix depend on live ebuild, and finally update nodoc patch, bug #348701 + + 14 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> llvm-2.8-r1.ebuild: + ppc stable wrt #336371 + +*llvm-2.8-r2 (19 Dec 2010) + + 19 Dec 2010; Bernard Cafarelli <voyageur@gentoo.org> +llvm-2.8-r2.ebuild, + +files/llvm-2.8-alignof.patch: + Backport to rename alignof, fixes C++'0x compilers support + + 11 Nov 2010; Markos Chandras <hwoarang@gentoo.org> llvm-2.8-r1.ebuild: + Stable on amd64 wrt bug #336371 + + 09 Nov 2010; Thomas Kahle <tomka@gentoo.org> llvm-2.8-r1.ebuild: + x86 stable per bug 336371 + + 24 Oct 2010; Fabian Groffen <grobian@gentoo.org> llvm-2.8-r1.ebuild, + llvm-9999.ebuild: + Update reference fixing for Darwin for newer more strict versions of + Portage + + 23 Oct 2010; Fabian Groffen <grobian@gentoo.org> llvm-2.8-r1.ebuild, + +files/llvm-2.8-darwin8.patch, llvm-9999.ebuild: + Fix compilation on Mac OS X Tiger (10.4, Darwin 8), fix install_names for + new libs also, bug #342289 + +*llvm-2.8-r1 (08 Oct 2010) + + 08 Oct 2010; Bernard Cafarelli <voyageur@gentoo.org> -llvm-2.8.ebuild, + +llvm-2.8-r1.ebuild: + SRC_URI arrow workaround to fetch updated tarball with correct package + version, thanks Alexey Charkov <alchark@gmail.com> in bug #340106 for + spotting it + + 06 Oct 2010; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.8.ebuild, + llvm-9999.ebuild: + Tests now use an internal framework, dejagnu not needed anymore + +*llvm-2.8 (06 Oct 2010) + + 06 Oct 2010; Bernard Cafarelli <voyageur@gentoo.org> +llvm-2.8.ebuild: + 2.8 version bump + + 21 Sep 2010; Bernard Cafarelli <voyageur@gentoo.org> llvm-9999.ebuild: + Also fix live ebuild + +*llvm-2.7-r2 (21 Sep 2010) + + 21 Sep 2010; Bernard Cafarelli <voyageur@gentoo.org> -llvm-2.7-r1.ebuild, + +llvm-2.7-r2.ebuild: + Fix the rpath sed so llvm-* binaries actually find the llvm shared library + + 20 Sep 2010; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.7-r1.ebuild: + udis86 needs pic on amd64, bug #337969 + +*llvm-2.7-r1 (17 Sep 2010) + + 17 Sep 2010; Bernard Cafarelli <voyageur@gentoo.org> +llvm-2.7-r1.ebuild, + llvm-9999.ebuild: + Enable shared library, move libs and plugins to fix bug #337467 + + 04 Sep 2010; Fabian Groffen <grobian@gentoo.org> llvm-2.7.ebuild: + Also fix libEnhancedDisassembly, which is only built on Darwin 10 (Mac OS + X Snow Leopard) + + 03 Sep 2010; Fabian Groffen <grobian@gentoo.org> llvm-2.7.ebuild: + Marked ~amd64-linux + + 26 Aug 2010; Fabian Groffen <grobian@gentoo.org> llvm-2.7.ebuild, + llvm-9999.ebuild: + Bump to EAPI=3, make Prefix aware, add support for Darwin platforms, + bug #333387 + + 20 Jul 2010; Bernard Cafarelli <voyageur@gentoo.org> -llvm-2.6-r2.ebuild, + -files/llvm-2.6-cflags.patch: + Drop 2.6 version + +*llvm-9999 (01 Jun 2010) + + 01 Jun 2010; Bernard Cafarelli <voyageur@gentoo.org> +llvm-9999.ebuild: + Add live version, bug #320919 + + 01 Jun 2010; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.6-r2.ebuild, + llvm-2.7.ebuild: + Really fix bug #293382, llvm-gcc was still in DEPEND + +*llvm-2.7 (27 Apr 2010) + + 27 Apr 2010; Bernard Cafarelli <voyageur@gentoo.org> -llvm-2.6-r1.ebuild, + +llvm-2.7.ebuild, +files/llvm-2.7-nodoctargz.patch: + 2.7 official release version bump + + 26 Apr 2010; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.6-r2.ebuild: + --without-udis86 is broken in configure script + +*llvm-2.6-r2 (26 Apr 2010) + + 26 Apr 2010; Bernard Cafarelli <voyageur@gentoo.org> +llvm-2.6-r2.ebuild, + metadata.xml: + Add udis86 support, thanks to chithanh in bug #317151 + +*llvm-2.6-r1 (18 Mar 2010) + + 18 Mar 2010; Bernard Cafarelli <voyageur@gentoo.org> -llvm-2.6.ebuild, + +llvm-2.6-r1.ebuild, +files/llvm-2.6-cflags.patch: + Remove forced -O3 -fomit-frame-pointer CFLAGS, bug #308145 + + 17 Nov 2009; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.6.ebuild: + Drop llvm-gcc depend, as it triggers circular dependency on first install + (warn the user if it is not found instead), bug #293382 + + 26 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> + files/llvm-2.6-commandguide-nops.patch: + Fix the patch, after test by flameeyes + + 26 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.6.ebuild, + +files/llvm-2.6-commandguide-nops.patch: + Disable .ps doc generation, these are just the man pages. Bug #290581 + + 26 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.6.ebuild, + metadata.xml: + Fix libffi automagic dependency, bug #289933 + +*llvm-2.6 (25 Oct 2009) + + 25 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> + -llvm-2.6_pre2.ebuild, +llvm-2.6.ebuild: + Bump to final 2.6 release + + 07 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.6_pre2.ebuild, + +files/llvm-2.6-nodoctargz.patch, -files/llvm-2.6-nohtmltargz.patch: + Add USE flag for ocaml bindings, complete doc patch to fix ocmal doc + failure, see bug #186279 + + 07 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> llvm-2.6_pre2.ebuild: + Fix llvm-gcc location, work with ${ROOT} + +*llvm-2.6_pre2 (05 Oct 2009) + + 05 Oct 2009; Bernard Cafarelli <voyageur@gentoo.org> + +llvm-2.6_pre2.ebuild, +files/llvm-2.6-nohtmltargz.patch, +metadata.xml: + Initial commit, thanks everyone in bug #186279 and others diff --git a/sys-devel/llvm/Manifest b/sys-devel/llvm/Manifest new file mode 100644 index 0000000..2b743e2 --- /dev/null +++ b/sys-devel/llvm/Manifest @@ -0,0 +1,7 @@ +AUX llvm-3.0-PPC_macro.patch 1825 SHA256 e56947d9744549ef6903238653c6569b5f91a1eb1bd84ec5d69d32ce5b20d6e4 SHA512 552a6a980cb2c05b6c6924d234efdcf375d12e72829a0372d3a4754d6bfa54f022d98e08b6f286d7dd496f2e74e4f6f9e5f81994a9d183cc39a4a01170b2c57e WHIRLPOOL f40fc9c6d75d7c05c66271c74011c320e302a0502970c38312cbf57a75f06a291900e62a09e3127d0dba7f0569a89d1e35225ca4e2e2b702063c0fb4f05878f6 +AUX llvm-3.2-nodoctargz.patch 1761 SHA256 e17494aef638d2fe3fb0b669516ffcc9e560161903e1e165de0eecba684c8c1b SHA512 d12a8996d8a1160f7bad4ce3b3a9ddfb2d29d91fc160876c145f9241927b0cf4413f3b29bc2bf291f0421f61a512de8057e8f3d0029a8a09ba3f1d93582723b5 WHIRLPOOL be273271db8293829a63120cfc917711c99d8893cae6f95af2583def735131f629ee67b5a1515df007477f34abeaf5f2729d689eefdc61eb3aae6b1959971507 +DIST llvm-3.2-manpages.tar.bz2 25962 SHA256 159eaaaf59a2cee66f6aa0bbc93ca4c9fa37a9a25d4116f085556cdbc32f75ca SHA512 75ce41827f99b9e08f0c3e374c49f8a231653bca28bea158ece551e5934bc61ae21bfaf158490f83b05c1a7926b95c8832c0eb023280dcafa671e7d551efa17e WHIRLPOOL 58382b3e92b2ef8b1f5a7ebf2d893852253976b781b2b2acd11dfd914fad9776f59ddc5559d3986832a00fde88539db6a5882aa69a6f3ceca90337a59420acc1 +DIST llvm-3.2.src.tar.gz 12275252 SHA256 125090c4d26740f1d5e9838477c931ed7d9ad70d599ba265f46f3a42cb066343 SHA512 cc66171322dbbe40bcac0e0ea5b09df8ff52df63ded304f841f32f702270d6ab1512216413ee52498c3ebee8cd39c4cd23e3855d591944bc2ac0ae76f5be62cc WHIRLPOOL c3a39b2426293d0251b7769607ade873bb6bf8d54e7c8055773a9b75742bc8e39049fb71409a258c6f3d98775b78c280d4bfe4223ba91e5ed6ecae0eddf910e5 +EBUILD llvm-3.2.ebuild 6533 SHA256 4f349c197979c8cd47e7495fc2673330db03ad48d164ccbbfb6db94d0009f53c SHA512 49e503f812007d5b864de82572ab52991627cd8947cef8c86375a8f2031db27bc9a8cd033b49631ff41bcfbe5a709239e37828adda8a1b1672117eba8f270f04 WHIRLPOOL b04f4239771b811b5e306834f1709dd050c289ff9a2d136f72293e6145a3b04cf90f97d3f20140e05c9c69475149cd985eb5cc2597428aa7411df5906b9e2b56 +MISC ChangeLog 17785 SHA256 072d415e4082a19a6761dda8c0764aaeb42c83ee60afd3eba485325101340d7d SHA512 472e7d96f023d3a8f645ca5cdba3d0675a1ce2fca343bfebd68196947dbbb567cdba47ca1b13148ed02dd50a1ce4b65ee3d87d96078c89931a7fe61042f5afe7 WHIRLPOOL 908c4d230b97a41d821ad4ef57ef01f401d35e457a43fb1d472e1accffc9e712cddaabb169514c387f10eb01332235ace0806fc03a2295f023a4049573ac89b3 +MISC metadata.xml 2480 SHA256 7900bb9405502b6fca3ddf84e4927a9353d2f70fa7be4a32b674cad604e01c24 SHA512 42093ff40389c310ca3e316d8ea63d751e530f7af4efa7820f14a8979d337dcedaa61ef35f2e8dc226d7c55177c70e0bb8512e434e8d4b1c050aefd2914dcb02 WHIRLPOOL 695127371c9fa28f1b44517d8b6b123e1479048578adb84673f41b1a1fa5bdb7a3d424635ace6f08ad41eda1207a6d46ebe03f4b1be604adf2947af155bef3bd diff --git a/sys-devel/llvm/files/llvm-3.0-PPC_macro.patch b/sys-devel/llvm/files/llvm-3.0-PPC_macro.patch new file mode 100644 index 0000000..c485e9b --- /dev/null +++ b/sys-devel/llvm/files/llvm-3.0-PPC_macro.patch @@ -0,0 +1,43 @@ +Index: llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h +=================================================================== +--- llvm-3.0-3.0.orig/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h 2011-07-25 23:24:55.000000000 +0000 ++++ llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h 2011-12-02 13:06:48.000000000 +0000 +@@ -34,6 +34,10 @@ + + } // End llvm namespace + ++// Generated files will use "namespace PPC". To avoid symbol clash, ++// undefine PPC here. PPC may be predefined on some hosts. ++#undef PPC ++ + // Defines symbolic names for PowerPC registers. This defines a mapping from + // register name to register number. + // +Index: llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h +=================================================================== +--- llvm-3.0-3.0.orig/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h 2011-07-26 00:24:13.000000000 +0000 ++++ llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h 2011-12-02 13:06:48.000000000 +0000 +@@ -14,6 +14,10 @@ + #ifndef LLVM_TARGET_POWERPC_PPCPREDICATES_H + #define LLVM_TARGET_POWERPC_PPCPREDICATES_H + ++// Generated files will use "namespace PPC". To avoid symbol clash, ++// undefine PPC here. PPC may be predefined on some hosts. ++#undef PPC ++ + namespace llvm { + namespace PPC { + /// Predicate - These are "(BI << 5) | BO" for various predicates. +Index: llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h +=================================================================== +--- llvm-3.0-3.0.orig/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h 2011-07-25 19:53:23.000000000 +0000 ++++ llvm-3.0-3.0/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h 2011-12-02 16:21:23.000000000 +0000 +@@ -12,6 +12,8 @@ + + #include "llvm/MC/MCFixup.h" + ++#undef PPC ++ + namespace llvm { + namespace PPC { + enum Fixups { diff --git a/sys-devel/llvm/files/llvm-3.2-nodoctargz.patch b/sys-devel/llvm/files/llvm-3.2-nodoctargz.patch new file mode 100644 index 0000000..3a622b5 --- /dev/null +++ b/sys-devel/llvm/files/llvm-3.2-nodoctargz.patch @@ -0,0 +1,45 @@ +--- docs/Makefile.orig 2012-04-30 17:00:01.000000000 +0200 ++++ docs/Makefile 2012-04-30 17:15:52.000000000 +0200 +@@ -52,11 +52,10 @@ + # 'make generated BUILD_FOR_WEBSITE=1' + generated:: $(generated_targets) + +-install-html: $(PROJ_OBJ_DIR)/html.tar.gz ++install-html: + $(Echo) Installing HTML documentation + $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html + $(Verb) $(DataInstall) $(HTML) $(DESTDIR)$(PROJ_docsdir)/html +- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/html.tar.gz $(DESTDIR)$(PROJ_docsdir) + + $(PROJ_OBJ_DIR)/html.tar.gz: $(HTML) + $(Echo) Packaging HTML documentation +@@ -68,12 +67,11 @@ + install-doxygen: doxygen + $(Echo) Installing doxygen documentation + $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/html/doxygen +- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/doxygen.tar.gz $(DESTDIR)$(PROJ_docsdir) + $(Verb) cd $(PROJ_OBJ_DIR)/doxygen && \ + $(FIND) . -type f -exec \ + $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/html/doxygen \; + +-doxygen: regendoc $(PROJ_OBJ_DIR)/doxygen.tar.gz ++doxygen: regendoc + + regendoc: + $(Echo) Building doxygen documentation +@@ -99,7 +97,6 @@ + install-ocamldoc: ocamldoc + $(Echo) Installing ocamldoc documentation + $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html +- $(Verb) $(DataInstall) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(DESTDIR)$(PROJ_docsdir) + $(Verb) cd $(PROJ_OBJ_DIR)/ocamldoc && \ + $(FIND) . -type f -exec \ + $(DataInstall) {} $(DESTDIR)$(PROJ_docsdir)/ocamldoc/html \; +@@ -109,7 +106,6 @@ + $(Verb) $(RM) -rf $(PROJ_OBJ_DIR)/ocamldoc.tar* + $(Verb) $(TAR) cf $(PROJ_OBJ_DIR)/ocamldoc.tar ocamldoc + $(Verb) $(GZIPBIN) $(PROJ_OBJ_DIR)/ocamldoc.tar +- $(Verb) $(CP) $(PROJ_OBJ_DIR)/ocamldoc.tar.gz $(PROJ_OBJ_DIR)/ocamldoc/html/ + + regen-ocamldoc: + $(Echo) Building ocamldoc documentation diff --git a/sys-devel/llvm/llvm-3.2.ebuild b/sys-devel/llvm/llvm-3.2.ebuild new file mode 100644 index 0000000..236fd20 --- /dev/null +++ b/sys-devel/llvm/llvm-3.2.ebuild @@ -0,0 +1,206 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-3.2.ebuild,v 1.6 2013/02/27 06:02:15 zmedico Exp $ + +EAPI=5 + +# pypy gives me around 1700 unresolved tests due to open file limit +# being exceeded. probably GC does not close them fast enough. +PYTHON_COMPAT=( python{2_5,2_6,2_7} ) + +inherit eutils flag-o-matic multilib python-any-r1 toolchain-funcs pax-utils + +DESCRIPTION="Low Level Virtual Machine" +HOMEPAGE="http://llvm.org/" +SRC_URI="http://llvm.org/releases/${PV}/${P}.src.tar.gz + !doc? ( http://dev.gentoo.org/~voyageur/distfiles/${P}-manpages.tar.bz2 )" + +LICENSE="UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="debug doc gold +libffi multitarget ocaml test udis86 vim-syntax" + +DEPEND="dev-lang/perl + >=sys-devel/make-3.79 + >=sys-devel/flex-2.5.4 + >=sys-devel/bison-1.875d + || ( >=sys-devel/gcc-3.0 >=sys-devel/gcc-apple-4.2.1 ) + || ( >=sys-devel/binutils-2.18 >=sys-devel/binutils-apple-3.2.3 ) + doc? ( dev-python/sphinx ) + gold? ( >=sys-devel/binutils-2.22[cxx] ) + libffi? ( virtual/pkgconfig + virtual/libffi ) + ocaml? ( dev-lang/ocaml ) + udis86? ( dev-libs/udis86[pic(+)] ) + ${PYTHON_DEPS}" +RDEPEND="dev-lang/perl + libffi? ( virtual/libffi ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )" + +S=${WORKDIR}/${P}.src + +pkg_setup() { + # Required for test and build + python-any-r1_pkg_setup + + # need to check if the active compiler is ok + + broken_gcc=" 3.2.2 3.2.3 3.3.2 4.1.1 " + broken_gcc_x86=" 3.4.0 3.4.2 " + broken_gcc_amd64=" 3.4.6 " + + gcc_vers=$(gcc-fullversion) + + if [[ ${broken_gcc} == *" ${version} "* ]] ; then + elog "Your version of gcc is known to miscompile llvm." + elog "Check http://www.llvm.org/docs/GettingStarted.html for" + elog "possible solutions." + die "Your currently active version of gcc is known to miscompile llvm" + fi + + if [[ ${CHOST} == i*86-* && ${broken_gcc_x86} == *" ${version} "* ]] ; then + elog "Your version of gcc is known to miscompile llvm on x86" + elog "architectures. Check" + elog "http://www.llvm.org/docs/GettingStarted.html for possible" + elog "solutions." + die "Your currently active version of gcc is known to miscompile llvm" + fi + + if [[ ${CHOST} == x86_64-* && ${broken_gcc_amd64} == *" ${version} "* ]]; + then + elog "Your version of gcc is known to miscompile llvm in amd64" + elog "architectures. Check" + elog "http://www.llvm.org/docs/GettingStarted.html for possible" + elog "solutions." + die "Your currently active version of gcc is known to miscompile llvm" + fi +} + +src_prepare() { + # unfortunately ./configure won't listen to --mandir and the-like, so take + # care of this. + einfo "Fixing install dirs" + sed -e 's,^PROJ_docsdir.*,PROJ_docsdir := $(PROJ_prefix)/share/doc/'${PF}, \ + -e 's,^PROJ_etcdir.*,PROJ_etcdir := '"${EPREFIX}"'/etc/llvm,' \ + -e 's,^PROJ_libdir.*,PROJ_libdir := $(PROJ_prefix)/'$(get_libdir)/${PN}, \ + -i Makefile.config.in || die "Makefile.config sed failed" + sed -e "/ActiveLibDir = ActivePrefix/s/lib/$(get_libdir)\/${PN}/" \ + -i tools/llvm-config/llvm-config.cpp || die "llvm-config sed failed" + + einfo "Fixing rpath and CFLAGS" + sed -e 's,\$(RPATH) -Wl\,\$(\(ToolDir\|LibDir\)),$(RPATH) -Wl\,'"${EPREFIX}"/usr/$(get_libdir)/${PN}, \ + -e '/OmitFramePointer/s/-fomit-frame-pointer//' \ + -i Makefile.rules || die "rpath sed failed" + if use gold; then + sed -e 's,\$(SharedLibDir),'"${EPREFIX}"/usr/$(get_libdir)/${PN}, \ + -i tools/gold/Makefile || die "gold rpath sed failed" + fi + + # FileCheck is needed at least for dragonegg tests + sed -e "/NO_INSTALL = 1/s/^/#/" -i utils/FileCheck/Makefile \ + || die "FileCheck Makefile sed failed" + + epatch "${FILESDIR}"/${PN}-3.2-nodoctargz.patch + epatch "${FILESDIR}"/${PN}-3.0-PPC_macro.patch + + # User patches + epatch_user +} + +src_configure() { + local CONF_FLAGS="--enable-shared + --with-optimize-option= + $(use_enable !debug optimized) + $(use_enable debug assertions) + $(use_enable debug expensive-checks)" + + if use multitarget; then + CONF_FLAGS="${CONF_FLAGS} --enable-targets=all" + else + CONF_FLAGS="${CONF_FLAGS} --enable-targets=host,cpp" + fi + + if use amd64; then + CONF_FLAGS="${CONF_FLAGS} --enable-pic" + fi + + if use gold; then + CONF_FLAGS="${CONF_FLAGS} --with-binutils-include=${EPREFIX}/usr/include/" + fi + if use ocaml; then + CONF_FLAGS="${CONF_FLAGS} --enable-bindings=ocaml" + else + CONF_FLAGS="${CONF_FLAGS} --enable-bindings=none" + fi + + if use udis86; then + CONF_FLAGS="${CONF_FLAGS} --with-udis86" + fi + + if use libffi; then + append-cppflags "$(pkg-config --cflags libffi)" + fi + CONF_FLAGS="${CONF_FLAGS} $(use_enable libffi)" + + # llvm prefers clang over gcc, so we may need to force that + tc-export CC CXX + econf ${CONF_FLAGS} +} + +src_compile() { + emake VERBOSE=1 KEEP_SYMBOLS=1 REQUIRES_RTTI=1 + + if use doc; then + emake -C docs -f Makefile.sphinx man + emake -C docs -f Makefile.sphinx html + fi + + pax-mark m Release/bin/lli + if use test; then + pax-mark m unittests/ExecutionEngine/JIT/Release/JITTests + pax-mark m unittests/ExecutionEngine/MCJIT/Release/MCJITTests + pax-mark m unittests/Support/Release/SupportTests + fi +} + +src_install() { + emake KEEP_SYMBOLS=1 DESTDIR="${D}" install + + if use doc; then + doman docs/_build/man/*.1 + dohtml -r docs/_build/html/ + else + doman "${WORKDIR}"/${P}-manpages/*.1 + fi + + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/syntax + doins utils/vim/*.vim + fi + + # Fix install_names on Darwin. The build system is too complicated + # to just fix this, so we correct it post-install + local lib= f= odylib= libpv=${PV} + if [[ ${CHOST} == *-darwin* ]] ; then + eval $(grep PACKAGE_VERSION= configure) + [[ -n ${PACKAGE_VERSION} ]] && libpv=${PACKAGE_VERSION} + for lib in lib{EnhancedDisassembly,LLVM-${libpv},LTO,profile_rt}.dylib {BugpointPasses,LLVMHello}.dylib ; do + # libEnhancedDisassembly is Darwin10 only, so non-fatal + [[ -f ${ED}/usr/lib/${PN}/${lib} ]] || continue + ebegin "fixing install_name of $lib" + install_name_tool \ + -id "${EPREFIX}"/usr/lib/${PN}/${lib} \ + "${ED}"/usr/lib/${PN}/${lib} + eend $? + done + for f in "${ED}"/usr/bin/* "${ED}"/usr/lib/${PN}/libLTO.dylib ; do + odylib=$(scanmacho -BF'%n#f' "${f}" | tr ',' '\n' | grep libLLVM-${libpv}.dylib) + ebegin "fixing install_name reference to ${odylib} of ${f##*/}" + install_name_tool \ + -change "${odylib}" \ + "${EPREFIX}"/usr/lib/${PN}/libLLVM-${libpv}.dylib \ + "${f}" + eend $? + done + fi +} diff --git a/sys-devel/llvm/metadata.xml b/sys-devel/llvm/metadata.xml new file mode 100644 index 0000000..4428300 --- /dev/null +++ b/sys-devel/llvm/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> + <maintainer> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <longdescription>Low Level Virtual Machine (LLVM) is: + 1. A compilation strategy designed to enable effective program optimization across the entire lifetime of a program. LLVM supports effective optimization at compile time, link-time (particularly interprocedural), run-time and offline (i.e., after software is installed), while remaining transparent to developers and maintaining compatibility with existing build scripts. + 2. A virtual instruction set - LLVM is a low-level object code representation that uses simple RISC-like instructions, but provides rich, language-independent, type information and dataflow (SSA) information about operands. This combination enables sophisticated transformations on object code, while remaining light-weight enough to be attached to the executable. This combination is key to allowing link-time, run-time, and offline transformations. + 3. A compiler infrastructure - LLVM is also a collection of source code that implements the language and compilation strategy. The primary components of the LLVM infrastructure are a GCC-based C and C++ front-end, a link-time optimization framework with a growing set of global and interprocedural analyses and transformations, static back-ends for many popular (and some obscure) architectures, a back-end which emits portable C code, and a Just-In-Time compilers for several architectures. + 4. LLVM does not imply things that you would expect from a high-level virtual machine. It does not require garbage collection or run-time code generation (In fact, LLVM makes a great static compiler!). Note that optional LLVM components can be used to build high-level virtual machines and other systems that need these services.</longdescription> + <use> + <flag name='doc'>Build and install the HTML documentation and regenerate the man pages</flag> + <flag name='gold'>Build the gold linker plugin</flag> + <flag name='llvm-gcc'>Build LLVM with <pkg>sys-devel/llvm-gcc</pkg></flag> + <flag name='multitarget'>Build all host targets (default: host only)</flag> + <flag name='udis86'>Enable support for <pkg>dev-libs/udis86</pkg> disassembler library</flag> + </use> +</pkgmetadata> |