summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2011-10-22 18:59:34 +0000
committerPatrick Lauer <patrick@gentoo.org>2011-10-22 18:59:34 +0000
commit309e7a59ce2a50b1420f7ed08c89db797e56cd4a (patch)
tree0cbc2159e3a0b832234f1c1212fe19474590c8c5 /app-benchmarks
parentStable on amd64 wrt bug #379859 (diff)
downloadhistorical-309e7a59ce2a50b1420f7ed08c89db797e56cd4a.tar.gz
historical-309e7a59ce2a50b1420f7ed08c89db797e56cd4a.tar.bz2
historical-309e7a59ce2a50b1420f7ed08c89db797e56cd4a.zip
Bump for #381367, thanks to Michael Seifert
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/ramspeed/ChangeLog9
-rw-r--r--app-benchmarks/ramspeed/Manifest16
-rw-r--r--app-benchmarks/ramspeed/ramspeed-3.5.0.ebuild55
3 files changed, 65 insertions, 15 deletions
diff --git a/app-benchmarks/ramspeed/ChangeLog b/app-benchmarks/ramspeed/ChangeLog
index 153a6e8a7e3b..c48a705c59a0 100644
--- a/app-benchmarks/ramspeed/ChangeLog
+++ b/app-benchmarks/ramspeed/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-benchmarks/ramspeed
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ramspeed/ChangeLog,v 1.4 2010/10/16 15:45:57 c1pher Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ramspeed/ChangeLog,v 1.5 2011/10/22 18:59:34 patrick Exp $
+
+*ramspeed-3.5.0 (22 Oct 2011)
+
+ 22 Oct 2011; Patrick Lauer <patrick@gentoo.org> +ramspeed-3.5.0.ebuild:
+ Bump for #381367, thanks to Michael Seifert
16 Oct 2010; Dane Smith <c1pher@gentoo.org> metadata.xml:
Updated maintainer info in metadata.xml.
diff --git a/app-benchmarks/ramspeed/Manifest b/app-benchmarks/ramspeed/Manifest
index 1937296adb78..cb15d21d5d6c 100644
--- a/app-benchmarks/ramspeed/Manifest
+++ b/app-benchmarks/ramspeed/Manifest
@@ -1,16 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
+DIST ramsmp-3.5.0.tar.gz 79481 RMD160 748f18fc09520dc13d966374691ec8e89cdaaf19 SHA1 feb1cbfeb998728874f3151a9e0a54ccd33efe5a SHA256 39fb15493fb3c293575746d56f6ab9faaa1d876d8b1f0d8e5a4042d2ace95839
DIST ramspeed-2.6.0.tar.gz 77531 RMD160 997c437c359d3f9f9264768e64584e7c430e8d3a SHA1 8f071abc0b654785eafab37edd59a085e8add789 SHA256 f84e2e42b2b6b221ef9b586f6ae63d863db4ff21858e0ce7c84622a7c9522950
EBUILD ramspeed-2.6.0.ebuild 1173 RMD160 c8856440dcea4c0a5fc630afd8aae4d78b15bb2f SHA1 f53a35dd7f06f3fa102812970fdf53a1395de34e SHA256 b62b2d463f932957e69e19cfe0f2b17d047edaab125dd7785b14cf0a9d114aed
-MISC ChangeLog 809 RMD160 5ae1c3c306d857c08d5eb8b03ea06a802fb33aff SHA1 6356060a5f77c00404b89c5889d551f5c35186f9 SHA256 ec62deee1b3e7ad8ea3a1c2a8582e1c7149654efcaa7296b6f61acaad4266c70
+EBUILD ramspeed-3.5.0.ebuild 1324 RMD160 430e13e91d283a885f871c0d5ff59286f20e4ec4 SHA1 8cf1a89c08077e20c2497cd77b6dd3cf22cbb575 SHA256 f2e85470b8a132b97679deb5cd5abe574e7d418511dab001621b5611eab4e8f9
+MISC ChangeLog 962 RMD160 bbc09dcbafe84d0933cbb7f97440a0c766f74ec3 SHA1 6282b404ce4e431ba524136ead940e8753e01c3d SHA256 35f94223a27605e7abe01a9fd7160b32c97172eca31177c48fbdab731fe806fe
MISC metadata.xml 280 RMD160 b0afd892b7b673e5ec830cd4935035d0e1b77dee SHA1 b4cf2a75f04228ace0b36b1ebae50063dfcf389c SHA256 1febd940db66d8ffe0ebc395b92ad54a28cc9814f285e4c3e0d78f0b095438f6
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iJwEAQEIAAYFAk58+Q0ACgkQfXuS5UK5QB2pAAP/Tvj0KB/V/yqkYgFXnDtwZ6jt
-FuHgdB10JUpab22rZYO5p6DVlJvyjwetGt8ozJ8vscZrUMxSCjN++J0PfgZkMTIo
-kwNM6bjHQ93myTB5ozXSljv2XbO/RfOuGrWMRZSuvTgLbO0FzerdFisuBqQToea1
-dqikh8X1mvT85bzerdc=
-=iacd
------END PGP SIGNATURE-----
diff --git a/app-benchmarks/ramspeed/ramspeed-3.5.0.ebuild b/app-benchmarks/ramspeed/ramspeed-3.5.0.ebuild
new file mode 100644
index 000000000000..53ce7b8c1244
--- /dev/null
+++ b/app-benchmarks/ramspeed/ramspeed-3.5.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ramspeed/ramspeed-3.5.0.ebuild,v 1.1 2011/10/22 18:59:34 patrick Exp $
+
+EAPI=2
+inherit flag-o-matic toolchain-funcs
+
+MY_PN="ramsmp"
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Benchmarking for memory and cache"
+HOMEPAGE="http://www.alasir.com/software/ramspeed/"
+SRC_URI="http://www.alasir.com/software/${PN}/${MY_P}.tar.gz"
+
+LICENSE="Alasir"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="sse"
+
+src_prepare(){
+ tc-export CC AS
+
+ # Deal with changed package name and file name
+ mv ${MY_P} ${P}
+}
+
+src_configure(){
+ local obj
+ local arch_prefix=./
+
+ use x86 && arch_prefix=i386/
+ use amd64 && arch_prefix=amd64/
+
+ #fix the stack
+ append-ldflags -Wl,-z,noexecstack
+ obj=( ramsmp.o ${arch_prefix}{fltmark,fltmem,intmark,intmem}.o )
+
+ if use x86; then
+ obj=( "${obj[@]}" ${arch_prefix}{cpuinfo/cpuinfo_main,cpuinfo/cpuinfo_ext}.o )
+ fi
+
+ if use sse; then
+ use x86 && append-flags "-DLINUX -DI386_ASM"
+ use amd64 && append-flags "-DLINUX -DAMD64_ASM"
+ obj=( "${obj[@]}" ${arch_prefix}{mmxmark,mmxmem,ssemark,ssemem}.o )
+ fi
+
+ echo "ramsmp: ${obj[@]}" > Makefile || die
+}
+
+src_install(){
+ dobin ramsmp || die
+ dosym /usr/bin/ramsmp /usr/bin/ramspeed || die
+ dodoc HISTORY README || die
+}