From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/memkind/
Date: Sat, 26 Mar 2022 15:16:39 +0000 (UTC) [thread overview]
Message-ID: <1648307797.b133987ea9fa8f8f182dc0c504ba59b4a56b11f7.Alessandro-Barbieri@gentoo> (raw)
commit: b133987ea9fa8f8f182dc0c504ba59b4a56b11f7
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 26 14:37:42 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Mar 26 15:16:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b133987e
dev-libs/memkind: chenges suggested by aammerlaan
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-libs/memkind/memkind-1.13.0.ebuild | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dev-libs/memkind/memkind-1.13.0.ebuild b/dev-libs/memkind/memkind-1.13.0.ebuild
index ac1b42959..cebc5a68a 100644
--- a/dev-libs/memkind/memkind-1.13.0.ebuild
+++ b/dev-libs/memkind/memkind-1.13.0.ebuild
@@ -46,7 +46,9 @@ pkg_pretend() {
src_prepare() {
default
eautoreconf
- cd jemalloc && eautoreconf
+ pushd jemalloc || die
+ eautoreconf
+ popd || die
}
src_configure() {
@@ -78,6 +80,8 @@ src_install() {
src_test() {
addwrite /proc/sys/vm/nr_hugepages
- echo 3000 > /proc/sys/vm/nr_hugepages
+ NR_HUGEPAGES_INITIAL="$(cat /proc/sys/vm/nr_hugepages)" || die
+ echo 3000 > /proc/sys/vm/nr_hugepages || die
emake check
+ echo ${NR_HUGEPAGES_INITIAL} > /proc/sys/vm/nr_hugepages || die
}
next reply other threads:[~2022-03-26 15:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-26 15:16 Alessandro Barbieri [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-05-28 23:44 [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/memkind/ Alessandro Barbieri
2022-05-28 23:44 Alessandro Barbieri
2022-03-27 7:30 Alessandro Barbieri
2022-03-26 7:36 Alessandro Barbieri
2021-09-05 6:34 Alessandro Barbieri
2021-08-22 2:00 Alessandro Barbieri
2021-06-30 17:03 Alessandro Barbieri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1648307797.b133987ea9fa8f8f182dc0c504ba59b4a56b11f7.Alessandro-Barbieri@gentoo \
--to=lssndrbarbieri@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox