Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-cpp/highway/
Date: Wed, 15 Sep 2021 07:50:33
Message-Id: 1631447666.e8ab9e51a87ad4771e10b95b7df0f0adbb4cba88.arthurzam@gentoo
1 commit: e8ab9e51a87ad4771e10b95b7df0f0adbb4cba88
2 Author: Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
3 AuthorDate: Sun Sep 12 11:54:26 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 12 11:54:26 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e8ab9e51
7
8 dev-cpp/highway: new package
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
12
13 dev-cpp/highway/highway-9999.ebuild | 35 +++++++++++++++++++++++++++++++++++
14 dev-cpp/highway/metadata.xml | 12 ++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/dev-cpp/highway/highway-9999.ebuild b/dev-cpp/highway/highway-9999.ebuild
18 new file mode 100644
19 index 000000000..8d96668d7
20 --- /dev/null
21 +++ b/dev-cpp/highway/highway-9999.ebuild
22 @@ -0,0 +1,35 @@
23 +# Copyright 2021 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI="7"
27 +
28 +inherit cmake
29 +
30 +DESCRIPTION="Performance-portable, length-agnostic SIMD with runtime dispatch"
31 +HOMEPAGE="https://github.com/google/highway"
32 +
33 +if [[ "${PV}" == *9999* ]]; then
34 + inherit git-r3
35 + EGIT_REPO_URI="https://github.com/google/highway.git"
36 +else
37 + SRC_URI="https://github.com/google/highway/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
38 + KEYWORDS="~amd64"
39 +fi
40 +
41 +LICENSE="Apache-2.0"
42 +SLOT="0"
43 +IUSE=""
44 +
45 +DEPEND=""
46 +
47 +BDEPEND=""
48 +
49 +RDEPEND="${DEPEND}"
50 +
51 +src_configure() {
52 + local mycmakeargs=(
53 + -DBUILD_TESTING=OFF
54 + )
55 +
56 + cmake_src_configure
57 +}
58
59 diff --git a/dev-cpp/highway/metadata.xml b/dev-cpp/highway/metadata.xml
60 new file mode 100644
61 index 000000000..3252651cf
62 --- /dev/null
63 +++ b/dev-cpp/highway/metadata.xml
64 @@ -0,0 +1,12 @@
65 +<?xml version="1.0" encoding="UTF-8"?>
66 +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
67 +<pkgmetadata>
68 + <maintainer type="person">
69 + <email>dnovomesky@×××××.com</email>
70 + <name>Daniel Novomesky</name>
71 + </maintainer>
72 + <longdescription>
73 + Highway is a C++ library for SIMD (Single Instruction, Multiple Data),
74 + i.e. applying the same operation to multiple 'lanes' using a single CPU instruction.
75 + </longdescription>
76 +</pkgmetadata>