From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-cpp/xsimd/files/, dev-cpp/xsimd/
Date: Tue, 28 Mar 2023 16:41:02 +0000 (UTC) [thread overview]
Message-ID: <1680021648.551b3d503ecacb6620b987019cfd7bb0718d5067.andrewammerlaan@gentoo> (raw)
commit: 551b3d503ecacb6620b987019cfd7bb0718d5067
Author: Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Mon Mar 20 07:39:16 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Mar 28 16:40:48 2023 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=551b3d50
dev-cpp/xsimd: new package, add 10.0.0
Tests passed on amd64
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-cpp/xsimd/files/remove-libdir-in-pc.patch | 12 ++++++++++++
dev-cpp/xsimd/metadata.xml | 11 +++++++++++
dev-cpp/xsimd/xsimd-10.0.0.ebuild | 27 +++++++++++++++++++++++++++
3 files changed, 50 insertions(+)
diff --git a/dev-cpp/xsimd/files/remove-libdir-in-pc.patch b/dev-cpp/xsimd/files/remove-libdir-in-pc.patch
new file mode 100644
index 000000000..4548f0ab4
--- /dev/null
+++ b/dev-cpp/xsimd/files/remove-libdir-in-pc.patch
@@ -0,0 +1,12 @@
+libdir is not used in this header-only package
+And this line cause QA notice:
+key=libdir does not respect EPREFIX libdir=/lib64
+===================================================================
+--- xsimd-10.0.0.orig/xsimd.pc.in
++++ xsimd-10.0.0/xsimd.pc.in
+@@ -1,5 +1,4 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+-libdir=@libdir_for_pc_file@
+ includedir=@includedir_for_pc_file@
+
+ Name: xsimd
diff --git a/dev-cpp/xsimd/metadata.xml b/dev-cpp/xsimd/metadata.xml
new file mode 100644
index 000000000..7e8334e1b
--- /dev/null
+++ b/dev-cpp/xsimd/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xgreenlandforwyy@gmail.com</email>
+ <name>Yiyang Wu</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">xtensor-stack/xsimd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-cpp/xsimd/xsimd-10.0.0.ebuild b/dev-cpp/xsimd/xsimd-10.0.0.ebuild
new file mode 100644
index 000000000..1a34b725b
--- /dev/null
+++ b/dev-cpp/xsimd/xsimd-10.0.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C++ wrappers for SIMD intrinsics and math implementations"
+HOMEPAGE="https://github.com/xtensor-stack/xsimd"
+SRC_URI="https://github.com/xtensor-stack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-cpp/doctest )"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+PATCHES=( "${FILESDIR}"/remove-libdir-in-pc.patch )
+
+src_configure() {
+ local mycmakeargs=( -DBUILD_TESTS="$(usex test ON OFF)" )
+ cmake_src_configure
+}
reply other threads:[~2023-03-28 16:41 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=1680021648.551b3d503ecacb6620b987019cfd7bb0718d5067.andrewammerlaan@gentoo \
--to=andrewammerlaan@gentoo.org \
--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