Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 257039 Details for
Bug 266502
google-v8 svn ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Live ebuild based on v8-2.5.9.1.ebuild
v8-9999.ebuild (text/plain), 1.93 KB, created by
Mike Gilbert
on 2010-12-13 17:11:48 UTC
(
hide
)
Description:
Live ebuild based on v8-2.5.9.1.ebuild
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2010-12-13 17:11:48 UTC
Size:
1.93 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >inherit eutils flag-o-matic multilib scons-utils subversion toolchain-funcs > >DESCRIPTION="Google's open source JavaScript engine" >HOMEPAGE="http://code.google.com/p/v8" >ESVN_REPO_URI="http://v8.googlecode.com/svn/trunk" >LICENSE="BSD" > >SLOT="0" >KEYWORDS="" >IUSE="readline" > >RDEPEND="readline? ( >=sys-libs/readline-6.1 )" >DEPEND="${RDEPEND} > dev-util/chromium-tools" > >EXTRA_ESCONS="library=shared soname=on importenv=\"LINKFLAGS\"" > >pkg_setup() { > tc-export AR CC CXX RANLIB > > # Make the build respect LDFLAGS. > export LINKFLAGS="${LDFLAGS}" >} > >src_prepare() { > # Stop -Werror from breaking the build. > epatch "${FILESDIR}"/${PN}-no-werror-r0.patch > > # Respect the user's CFLAGS, including the optimization level. > epatch "${FILESDIR}"/${PN}-no-O3-r0.patch > > # Remove a test that is known to fail: > # http://groups.google.com/group/v8-users/browse_thread/thread/b8a3f42b5aa18d06 > rm test/mjsunit/debug-script.js || die >} > >src_configure() { > # GCC issues multiple warnings about strict-aliasing issues in v8 code. > append-flags -fno-strict-aliasing >} > >src_compile() { > local myconf="" > > # Use target arch detection logic from bug #296917. > local myarch="$ABI" > [[ $myarch = "" ]] && myarch="$ARCH" > > if [[ $myarch = amd64 ]] ; then > myconf+=" arch=x64" > elif [[ $myarch = x86 ]] ; then > myconf+=" arch=ia32" > elif [[ $myarch = arm ]] ; then > myconf+=" arch=arm" > else > die "Failed to determine target arch, got '$myarch'." > fi > > escons $(use_scons readline console readline dumb) ${myconf} . || die >} > >src_install() { > insinto /usr > doins -r include || die > > dobin d8 || die > > # Get the library version > local MY_PV=$(v8-extract-version src/version.cc) > dolib libv8-${MY_PV}.so || die > dosym libv8-${MY_PV}.so /usr/$(get_libdir)/libv8.so || die > > dodoc AUTHORS ChangeLog || die >} > >src_test() { > tools/test.py --no-build -p dots --shell d8 || die >}
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 266502
:
188666
|
200167
| 257039 |
257040