1 |
commit: c62772d671f342d8050133e43784de764fe1b8cd |
2 |
Author: Daniel Novomesky <dnovomesky <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Nov 22 15:59:07 2021 +0000 |
4 |
Commit: Daniel Novomesky <dnovomesky <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Nov 22 15:59:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c62772d6 |
7 |
|
8 |
dev-cpp/highway: version bump to 0.15.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com> |
12 |
|
13 |
dev-cpp/highway/Manifest | 1 + |
14 |
dev-cpp/highway/highway-0.15.0.ebuild | 42 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-cpp/highway/Manifest b/dev-cpp/highway/Manifest |
18 |
index 1512a640d..ac2de0f25 100644 |
19 |
--- a/dev-cpp/highway/Manifest |
20 |
+++ b/dev-cpp/highway/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST highway-0.14.2.tar.gz 1545892 BLAKE2B c19d040ea7bf6d5ee0ff87213f36bfe77759cc4cec514b972379490dbac5e8d55f99490b998f73133ca0ba3b34a98f2684b85206ae32d655aa574aeaabeaeb27 SHA512 fc1a35463c95c45b646c53f91a9996112726de1d588dcd4d25a7d366840f704ad9a4c0bb6e0a001e929409f04aad6922cbffcf93774a0c360aff875956c7cc8d |
23 |
+DIST highway-0.15.0.tar.gz 1598512 BLAKE2B f0ee61b5f19591d88d6fd3950072c9302b13e589ac9e8759444c0bcde2c804438313b1b37c2e3d9c40296898c8fc938a2ae57eba3e17d73a9388c21f20b97b59 SHA512 ed07e855721f87ea67d762b30e001643a76bd16d70372415023c8e6f1a43c58759a14a638e8eb20566863d8358d994153bf7a660fcf604e808adfea5f938a013 |
24 |
|
25 |
diff --git a/dev-cpp/highway/highway-0.15.0.ebuild b/dev-cpp/highway/highway-0.15.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..46b5278c3 |
28 |
--- /dev/null |
29 |
+++ b/dev-cpp/highway/highway-0.15.0.ebuild |
30 |
@@ -0,0 +1,42 @@ |
31 |
+# Copyright 2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit cmake |
37 |
+ |
38 |
+DESCRIPTION="Performance-portable, length-agnostic SIMD with runtime dispatch" |
39 |
+HOMEPAGE="https://github.com/google/highway" |
40 |
+ |
41 |
+if [[ "${PV}" == *9999* ]]; then |
42 |
+ inherit git-r3 |
43 |
+ EGIT_REPO_URI="https://github.com/google/highway.git" |
44 |
+else |
45 |
+ SRC_URI="https://github.com/google/highway/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ KEYWORDS="~amd64" |
47 |
+fi |
48 |
+ |
49 |
+LICENSE="Apache-2.0" |
50 |
+SLOT="0" |
51 |
+IUSE="test" |
52 |
+ |
53 |
+DEPEND="test? ( dev-cpp/gtest )" |
54 |
+ |
55 |
+PATCHES=( "${FILESDIR}/${PN}-shared-libraries.patch" ) |
56 |
+RESTRICT="!test? ( test )" |
57 |
+ |
58 |
+src_configure() { |
59 |
+ local mycmakeargs=( |
60 |
+ -DBUILD_TESTING=$(usex test) |
61 |
+ -DHWY_WARNINGS_ARE_ERRORS=OFF |
62 |
+ ) |
63 |
+ |
64 |
+ use test && mycmakeargs+=( "-DHWY_SYSTEM_GTEST=ON" ) |
65 |
+ |
66 |
+ cmake_src_configure |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ dodoc g3doc/* |
71 |
+ cmake_src_install |
72 |
+} |