commit:     e8ab9e51a87ad4771e10b95b7df0f0adbb4cba88
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Sun Sep 12 11:54:26 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 12 11:54:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8ab9e51

dev-cpp/highway: new package

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 dev-cpp/highway/highway-9999.ebuild | 35 +++++++++++++++++++++++++++++++++++
 dev-cpp/highway/metadata.xml        | 12 ++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-cpp/highway/highway-9999.ebuild 
b/dev-cpp/highway/highway-9999.ebuild
new file mode 100644
index 000000000..8d96668d7
--- /dev/null
+++ b/dev-cpp/highway/highway-9999.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake
+
+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"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+
+BDEPEND=""
+
+RDEPEND="${DEPEND}"
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_TESTING=OFF
+       )
+
+       cmake_src_configure
+}

diff --git a/dev-cpp/highway/metadata.xml b/dev-cpp/highway/metadata.xml
new file mode 100644
index 000000000..3252651cf
--- /dev/null
+++ b/dev-cpp/highway/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Daniel Novomesky</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>

Reply via email to