Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184065 Details for
Bug 186279
llvm-base-2.0.ebuild and llvm-gcc-2.0.ebuild (new packages)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
llvm-gcc-2.5.ebuild.ImAdangerousEbuild
llvm-gcc-2.5-r1.ebuild (text/plain), 3.24 KB, created by
Francesco Riosa
on 2009-03-05 23:03:21 UTC
(
hide
)
Description:
llvm-gcc-2.5.ebuild.ImAdangerousEbuild
Filename:
MIME Type:
Creator:
Francesco Riosa
Created:
2009-03-05 23:03:21 UTC
Size:
3.24 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.2.4-r1.ebuild,v 1.2 2009/01/31 17:28:39 gmsoft Exp $ > >TOOLCHAIN_GCC_PV="4.2.1" >PATCH_GCC_VER="${TOOLCHAIN_GCC_PV}" >PATCH_VER="1.0" >UCLIBC_VER="1.0" >GCC_A_FAKEIT="llvm-gcc-4.2-${PV}.source.tar.gz" ># this does _NOT_ work, fixed in configure later >TOOLCHAIN_ALLOWED_LANGS="c c++" >GCC_LANG="c,c++" > ># this same variable is located in llvm-gcc's ebuild; keep them in sync >MY_LLVM_GCC_PREFIX=/usr > >ETYPE="gcc-compiler" > ># whether we should split out specs files for multiple {PIE,SSP}-by-default ># and vanilla configurations. >SPLIT_SPECS=no #${SPLIT_SPECS-true} hard disable until #106690 is fixed > ># FIXME: too many IUSEs from toolchain.eclass >inherit toolchain > ># must be overriden after inherit toolchain >SRC_URI="http://llvm.org/releases/2.4/llvm-gcc-4.2-${PV}.source.tar.gz > mirror://gentoo/gcc-${PATCH_GCC_VER}-patches-${PATCH_VER}.tar.bz2 > mirror://gentoo/gcc-${PATCH_GCC_VER}-uclibc-patches-${UCLIBC_VER}.tar.bz2" > >DESCRIPTION="C and C++ Frontend for the Low Level Virtual Machine" > >LICENSE="GPL-2" >KEYWORDS="~amd64 ~x86" > ># we're not mirrored, fetch from homepage >#RESTRICT="mirror" > >RDEPEND=">=sys-libs/zlib-1.1.4 > >=sys-devel/gcc-config-1.4 > virtual/libiconv > !build? ( > >=sys-libs/ncurses-5.2-r2 > nls? ( sys-devel/gettext ) > ) > >=sys-devel/llvm-2.5" >DEPEND="${RDEPEND} > test? ( sys-devel/autogen dev-util/dejagnu ) > >=sys-apps/texinfo-4.2-r4 > >=sys-devel/bison-1.875 > ppc? ( >=${CATEGORY}/binutils-2.17 ) > ppc64? ( >=${CATEGORY}/binutils-2.17 ) > >=${CATEGORY}/binutils-2.15.94" >PDEPEND=">=sys-devel/gcc-config-1.4" >if [[ ${CATEGORY} != cross-* ]] ; then > PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.3.6 )" >fi > >S="${WORKDIR}/llvm-gcc4.2-${PV}.source" > > >src_unpack() { > > die "This ebuild will rape your cat, if you have gcc 4.2.x installed it will rape it too" > > GENTOO_PATCH_EXCLUDE="02_all_gcc4-ppc64-m32-m64-multilib-only.patch > 34_all_arm-bigendian.patch" > gcc_src_unpack > > [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch > > [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.0.2/gcc-4.0.2-softfloat.patch > >} > >src_compile() { > > mkdir "${WORKDIR}/build" > cd "${WORKDIR}/build" > > # FIXME: EXTRA_ECONF is a user variable, it should be avoided to set it in ebuilds > EXTRA_ECONF="${EXTRA_ECONF} --enable-llvm=${MY_LLVM_GCC_PREFIX}" > > EXTRA_ECONF="${EXTRA_ECONF} --disable-nls" > EXTRA_ECONF="${EXTRA_ECONF} --enable-languages=c,c++" > > export EXTRA_ECONF > einfo "${S}"/configure ${EXTRA_ECONF} > "${S}"/configure ${EXTRA_ECONF} || die "./configure failed" > > gcc_src_compile > >} > >src_install() { > > gcc-compiler_src_install ># TODO: /usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.1/man ??? ># einfo "Fixing man and info pages" ># ># # man7 contains gfld, gpl and fsf-funding. those should be present on the ># # system already ># rm -rf "${D}/usr/share/man/man7" ># ># # install man1 pages with a llvm- prefix ># cd "${D}/usr/share/man/man1" || die "cd failed" ># for X in *; do ># mv "${X}" "llvm-${X}" || die "mv failed" ># done ># ># # ditto for info pages ># cd "${D}/usr/share/info" || die "cd failed" ># rm -f dir ># for X in *; do ># mv "${X}" "llvm-${X}" ># done >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 186279
:
125709
|
125710
|
125712
|
132036
|
132037
|
160508
|
160511
|
160513
|
160515
|
160558
|
163456
|
163457
|
165269
|
169784
|
171741
|
171745
|
184065
|
184068
|
185714
|
193178
|
198650
|
201594
|
201603
|
201739
|
202564
|
203064
|
204168