public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ramspeed/
@ 2021-04-20  1:21 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2021-04-20  1:21 UTC (permalink / raw
  To: gentoo-commits

commit:     a5c8a7a200c4f55dab92434f6637eb6545762fae
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 20 00:41:04 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 20 01:20:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5c8a7a2

app-benchmarks/ramspeed: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild b/app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild
index 01310ac9a2f..04993540079 100644
--- a/app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild
+++ b/app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 inherit flag-o-matic toolchain-funcs
 
@@ -11,14 +11,13 @@ 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"
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="Alasir"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="cpu_flags_x86_sse pic"
 
-S="${WORKDIR}/${MY_P}"
-
 src_configure() {
 	local obj
 	local arch_prefix=./
@@ -28,7 +27,7 @@ src_configure() {
 
 	tc-export CC AS
 
-	#fix the stack
+	# Fix the stack
 	append-ldflags -Wl,-z,noexecstack
 	obj=( ramsmp.o ${arch_prefix}{fltmark,fltmem,intmark,intmem}.o )
 
@@ -50,7 +49,7 @@ src_configure() {
 		obj+=( ${arch_prefix}{mmxmark,mmxmem,ssemark,ssemem}.o )
 	fi
 
-	echo "ramsmp: ${obj[@]}" > Makefile
+	echo "ramsmp: ${obj[@]}" > Makefile || die
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ramspeed/
@ 2022-05-06 15:35 Florian Schmaus
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Schmaus @ 2022-05-06 15:35 UTC (permalink / raw
  To: gentoo-commits

commit:     1a68b9ae8dcdd5ba5236f28b4bcaca5c17eb74b7
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Fri May  6 15:13:51 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri May  6 15:34:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a68b9ae

app-benchmarks/ramspeed: Fix build with slibtool

It should be -no-pie and not -nopie, GNU libtool silently
hides the typo.

Bug: https://bugs.gentoo.org/798735
Signed-off-by: orbea <orbea <AT> riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/25350
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild b/app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild
index 049935400795..f7235482bd87 100644
--- a/app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild
+++ b/app-benchmarks/ramspeed/ramspeed-3.5.0-r2.ebuild
@@ -31,7 +31,7 @@ src_configure() {
 	append-ldflags -Wl,-z,noexecstack
 	obj=( ramsmp.o ${arch_prefix}{fltmark,fltmem,intmark,intmem}.o )
 
-	use pic && append-ldflags -nopie
+	use pic && append-ldflags -no-pie
 
 	if use amd64; then
 		sed -i \


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-06 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-06 15:35 [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/ramspeed/ Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2021-04-20  1:21 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox