From: "Alexander Puck Neuwirth" <alexander@neuwirth-informatik.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/qcdloop/, sci-physics/qcdloop/files/
Date: Fri, 15 Nov 2024 09:26:59 +0000 (UTC) [thread overview]
Message-ID: <1731662790.17e968522e147ebcd5b813034d8cffe1a5d4acb1.alexander@gentoo> (raw)
commit: 17e968522e147ebcd5b813034d8cffe1a5d4acb1
Author: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Fri Nov 15 09:11:49 2024 +0000
Commit: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
CommitDate: Fri Nov 15 09:26:30 2024 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=17e96852
sci-physics/qcdloop: add 2.0.11, drop 2.0.5
Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
.../qcdloop/files/qcdloop-2.0.11-quadmathpath.patch | 21 +++++++++++++++++++++
.../{qcdloop-2.0.5.ebuild => qcdloop-2.0.11.ebuild} | 21 +++++++++++++++++++--
2 files changed, 40 insertions(+), 2 deletions(-)
diff --git a/sci-physics/qcdloop/files/qcdloop-2.0.11-quadmathpath.patch b/sci-physics/qcdloop/files/qcdloop-2.0.11-quadmathpath.patch
new file mode 100644
index 000000000..86275d338
--- /dev/null
+++ b/sci-physics/qcdloop/files/qcdloop-2.0.11-quadmathpath.patch
@@ -0,0 +1,21 @@
+From 2c316f000e83e56419709fe64b7627d4541ef5aa Mon Sep 17 00:00:00 2001
+From: Alexander Puck Neuwirth <APN-Pucky@users.noreply.github.com>
+Date: Fri, 15 Nov 2024 10:19:40 +0100
+Subject: [PATCH] Add one more QUADMATH lookup path
+
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b8820da..64bd4c3 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -75,6 +75,7 @@ find_library(QUADMATH_LIBRARY
+ /usr/local/lib /usr/x86_64-linux-gnu/*
+ /usr/lib/gcc/x86_64-linux-gnu/*
+ /usr/lib/gcc/x86_64-redhat-linux/*
++ /usr/lib/gcc/x86_64-pc-linux-gnu/*
+ "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}"
+ )
+
diff --git a/sci-physics/qcdloop/qcdloop-2.0.5.ebuild b/sci-physics/qcdloop/qcdloop-2.0.11.ebuild
similarity index 52%
rename from sci-physics/qcdloop/qcdloop-2.0.5.ebuild
rename to sci-physics/qcdloop/qcdloop-2.0.11.ebuild
index 672957c56..f30ea4e12 100644
--- a/sci-physics/qcdloop/qcdloop-2.0.5.ebuild
+++ b/sci-physics/qcdloop/qcdloop-2.0.11.ebuild
@@ -16,12 +16,29 @@ SLOT="0"
KEYWORDS="~amd64"
PATCHES=(
- "${FILESDIR}"/${P}-cxx.patch
+ "${FILESDIR}"/${P}-quadmathpath.patch # https://github.com/scarrazza/qcdloop/pull/31
)
+src_prepare() {
+ cmake_src_prepare
+
+ # gentoo libdir love
+ sed -i \
+ -e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \
+ CMakeLists.txt || die
+ sed -i \
+ -e '/libdir.*/s/lib/lib${LIB_SUFFIX}/g' \
+ CMakeLists.txt || die
+
+ #sed -i \
+ # -e '/qcdloop/s/SHARED/STATIC/g' \
+ # CMakeLists.txt || die
+}
+
src_configure() {
local mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX="${ESYSROOT}/usr/$(get_libdir)"
+ -DCMAKE_INSTALL_PREFIX="${ESYSROOT}"/usr
+ -DENABLE_FORTRAN_WRAPPER=ON
)
cmake_src_configure
}
reply other threads:[~2024-11-15 9:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1731662790.17e968522e147ebcd5b813034d8cffe1a5d4acb1.alexander@gentoo \
--to=alexander@neuwirth-informatik.de \
--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