public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/parsec/
Date: Tue, 14 Jun 2022 18:35:29 +0000 (UTC)	[thread overview]
Message-ID: <1655215849.032e53b3053c5e6dcaac32928f7f900a33948fe2.lanodan@gentoo> (raw)

commit:     032e53b3053c5e6dcaac32928f7f900a33948fe2
Author:     Viorel Munteanu <ceamac.paragon <AT> gmail <DOT> com>
AuthorDate: Tue Jun 14 14:08:02 2022 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue Jun 14 14:10:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=032e53b3

sys-cluster/parsec: fix wrong LDFLAGS in .pc file

Closes: https://bugs.gentoo.org/810970
Closes: https://bugs.gentoo.org/810961
Signed-off-by: Viorel Munteanu <ceamac.paragon <AT> gmail.com>

 ...sec-3.0.2012-r1.ebuild => parsec-3.0.2012-r2.ebuild} | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/sys-cluster/parsec/parsec-3.0.2012-r1.ebuild b/sys-cluster/parsec/parsec-3.0.2012-r2.ebuild
similarity index 87%
rename from sys-cluster/parsec/parsec-3.0.2012-r1.ebuild
rename to sys-cluster/parsec/parsec-3.0.2012-r2.ebuild
index 26286f3dc..c6cb03d99 100644
--- a/sys-cluster/parsec/parsec-3.0.2012-r1.ebuild
+++ b/sys-cluster/parsec/parsec-3.0.2012-r2.ebuild
@@ -7,7 +7,7 @@ DOCS_BUILDER="doxygen"
 DOCS_DIR="docs/doxygen"
 PYTHON_COMPAT=( python3_{8..11} pypy3 )
 
-inherit cmake edo fortran-2 docs python-single-r1
+inherit cmake fortran-2 docs python-single-r1
 
 DESCRIPTION="Parallel Runtime Scheduler and Execution Controller"
 HOMEPAGE="
@@ -98,10 +98,17 @@ pkg_setup() {
 }
 
 src_prepare() {
-	edo sed \
-		-e "s|\${CMAKE_INSTALL_PREFIX}/|${D}/\${CMAKE_INSTALL_PREFIX}/|g" \
-		-e "s|--prefix|--root ${D} --prefix|g" \
-		-i tools/profiling/python/CMakeLists.txt
+	# cannot use ${D} in src_prepare, just skip this directory, it doesn't get installed
+	sed '/profiling/d' tools/CMakeLists.txt || die
+
+	# 810970 remove unwanted flags from parsec.pc
+	sed -i -e "s/ @EXTRA_CFLAGS@//" -e "s/ @EXTRA_LDFLAGS@//" parsec/include/parsec.pc.in || die
+
+	# 810961: 2 tests fail, 2 time out
+	sed -i -e "/unit_dtd_war_shm/d" -e "/unit_dtd_war_mpi/d" tests/interfaces/superscalar/CMakeLists.txt || die
+	sed -i -e "/unit_haar_tree_mpi/d" tests/haar-tree-project/CMakeLists.txt || die
+	sed -i -e "/unit_merge_sort_mpi/d" tests/merge_sort/Testings.cmake || die
+
 	cmake_src_prepare
 }
 


             reply	other threads:[~2022-06-14 18:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-14 18:35 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-14 18:35 [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/parsec/ Haelwenn Monnier
2022-05-05  4:07 Haelwenn Monnier
2021-11-03 11:22 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-11-03 11:22 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-11-03 11:12 Andrew Ammerlaan
2021-08-29 17:05 Haelwenn Monnier
2021-08-29 17:05 Haelwenn Monnier

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=1655215849.032e53b3053c5e6dcaac32928f7f900a33948fe2.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --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