From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/highway/
Date: Thu, 24 Mar 2022 12:46:44 +0000 (UTC) [thread overview]
Message-ID: <1648125999.fb8fa4aa1e945ec66a7588b6a89f091cadfd788e.juippis@gentoo> (raw)
commit: fb8fa4aa1e945ec66a7588b6a89f091cadfd788e
Author: Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu Mar 10 11:37:39 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar 24 12:46:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb8fa4aa
dev-cpp/highway: new package, moved from ::guru
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-cpp/highway/Manifest | 1 +
dev-cpp/highway/highway-0.16.0.ebuild | 37 +++++++++++++++++++++++++++++++++++
dev-cpp/highway/highway-9999.ebuild | 37 +++++++++++++++++++++++++++++++++++
dev-cpp/highway/metadata.xml | 16 +++++++++++++++
4 files changed, 91 insertions(+)
diff --git a/dev-cpp/highway/Manifest b/dev-cpp/highway/Manifest
new file mode 100644
index 000000000000..7510c7106e76
--- /dev/null
+++ b/dev-cpp/highway/Manifest
@@ -0,0 +1 @@
+DIST highway-0.16.0.tar.gz 1639388 BLAKE2B 660b0079b25a12a2e982b4ba16147b923d167989a7dc1c0cb65ebe5219577f2f02c8774a554fd3fe9e1c10ef7b1cf5db747500bd8acf454e26952722f7b5ac9e SHA512 c08e66f43d9d0b307737b016cfa6c3d3a1df9bd528de435d193388104f34c264866c5ff0da633fc0a6f8c50f21df1ac653e9dd3f6fbfaf227d636411ac14cd47
diff --git a/dev-cpp/highway/highway-0.16.0.ebuild b/dev-cpp/highway/highway-0.16.0.ebuild
new file mode 100644
index 000000000000..4371d5e0bc03
--- /dev/null
+++ b/dev-cpp/highway/highway-0.16.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib
+
+DESCRIPTION="Performance-portable, length-agnostic SIMD with runtime dispatch"
+HOMEPAGE="https://github.com/google/highway"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/google/highway.git"
+else
+ SRC_URI="https://github.com/google/highway/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="test"
+
+DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
+
+RESTRICT="!test? ( test )"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ -DHWY_WARNINGS_ARE_ERRORS=OFF
+ )
+
+ use test && mycmakeargs+=( "-DHWY_SYSTEM_GTEST=ON" )
+
+ cmake_src_configure
+}
diff --git a/dev-cpp/highway/highway-9999.ebuild b/dev-cpp/highway/highway-9999.ebuild
new file mode 100644
index 000000000000..4371d5e0bc03
--- /dev/null
+++ b/dev-cpp/highway/highway-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib
+
+DESCRIPTION="Performance-portable, length-agnostic SIMD with runtime dispatch"
+HOMEPAGE="https://github.com/google/highway"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/google/highway.git"
+else
+ SRC_URI="https://github.com/google/highway/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="test"
+
+DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
+
+RESTRICT="!test? ( test )"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ -DHWY_WARNINGS_ARE_ERRORS=OFF
+ )
+
+ use test && mycmakeargs+=( "-DHWY_SYSTEM_GTEST=ON" )
+
+ cmake_src_configure
+}
diff --git a/dev-cpp/highway/metadata.xml b/dev-cpp/highway/metadata.xml
new file mode 100644
index 000000000000..717dcaf45afe
--- /dev/null
+++ b/dev-cpp/highway/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>dnovomesky@gmail.com</email>
+ <name>Daniel Novomesky</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ Highway is a C++ library for SIMD (Single Instruction, Multiple Data),
+ i.e. applying the same operation to multiple 'lanes' using a single CPU instruction.
+ </longdescription>
+</pkgmetadata>
next reply other threads:[~2022-03-24 12:46 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-24 12:46 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-27 23:58 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/highway/ Yixun Lan
2022-03-27 23:58 Yixun Lan
2022-03-31 19:12 Arthur Zamarin
2022-03-31 19:15 Arthur Zamarin
2022-04-01 1:31 Sam James
2022-04-02 7:33 Arthur Zamarin
2022-04-02 7:41 Arthur Zamarin
2022-04-20 23:53 Sam James
2022-04-20 23:53 Sam James
2022-04-29 3:30 Sam James
2022-06-08 8:12 Florian Schmaus
2022-06-13 21:14 Sam James
2022-06-13 21:14 Sam James
2022-06-14 6:17 Jakov Smolić
2022-06-15 14:31 Agostino Sarubbo
2022-08-04 8:03 Agostino Sarubbo
2022-08-05 7:16 Agostino Sarubbo
2022-08-08 12:39 Agostino Sarubbo
2022-08-10 8:31 Joonas Niilola
2022-08-31 8:42 Florian Schmaus
2022-10-10 12:20 Joonas Niilola
2022-10-16 15:53 Arthur Zamarin
2022-10-17 5:16 Joonas Niilola
2022-10-17 5:27 Joonas Niilola
2022-10-17 5:28 Arthur Zamarin
2022-10-17 6:44 Agostino Sarubbo
2022-10-17 6:45 Agostino Sarubbo
2022-10-20 10:37 Andreas Sturmlechner
2022-10-25 18:35 Arthur Zamarin
2022-11-28 7:58 WANG Xuerui
2022-11-28 7:58 WANG Xuerui
2023-02-24 15:09 Joonas Niilola
2023-03-06 12:08 Arthur Zamarin
2023-03-15 5:53 Sam James
2023-07-16 6:27 Joonas Niilola
2023-08-11 7:55 Joonas Niilola
2023-08-11 7:55 Joonas Niilola
2023-12-01 7:52 Joonas Niilola
2024-01-16 19:51 Arthur Zamarin
2024-01-16 19:51 Arthur Zamarin
2024-01-17 1:10 Sam James
2024-01-17 4:59 Sam James
2024-01-18 15:19 Joonas Niilola
2024-01-23 15:08 Sam James
2024-02-13 5:43 Viorel Munteanu
2025-03-08 13:40 Arthur Zamarin
2025-03-08 14:34 Jakov Smolić
2025-03-08 14:34 Jakov Smolić
2025-03-08 14:58 Arthur Zamarin
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=1648125999.fb8fa4aa1e945ec66a7588b6a89f091cadfd788e.juippis@gentoo \
--to=juippis@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