public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-cpp/xsimd/files/, dev-cpp/xsimd/
@ 2023-03-28 16:41 Andrew Ammerlaan
  0 siblings, 0 replies; only message in thread
From: Andrew Ammerlaan @ 2023-03-28 16:41 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-28 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-28 16:41 [gentoo-commits] proj/sci:master commit in: dev-cpp/xsimd/files/, dev-cpp/xsimd/ Andrew Ammerlaan

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