dev-cpp/highway: version bump to 0.15.0

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Daniel Novomesky <dnovomesky@gmail.com>
This commit is contained in:
Daniel Novomesky
2021-11-22 16:59:07 +01:00
parent 3b25ae1458
commit c62772d671
2 changed files with 43 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST highway-0.14.2.tar.gz 1545892 BLAKE2B c19d040ea7bf6d5ee0ff87213f36bfe77759cc4cec514b972379490dbac5e8d55f99490b998f73133ca0ba3b34a98f2684b85206ae32d655aa574aeaabeaeb27 SHA512 fc1a35463c95c45b646c53f91a9996112726de1d588dcd4d25a7d366840f704ad9a4c0bb6e0a001e929409f04aad6922cbffcf93774a0c360aff875956c7cc8d
DIST highway-0.15.0.tar.gz 1598512 BLAKE2B f0ee61b5f19591d88d6fd3950072c9302b13e589ac9e8759444c0bcde2c804438313b1b37c2e3d9c40296898c8fc938a2ae57eba3e17d73a9388c21f20b97b59 SHA512 ed07e855721f87ea67d762b30e001643a76bd16d70372415023c8e6f1a43c58759a14a638e8eb20566863d8358d994153bf7a660fcf604e808adfea5f938a013

View File

@@ -0,0 +1,42 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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="test"
DEPEND="test? ( dev-cpp/gtest )"
PATCHES=( "${FILESDIR}/${PN}-shared-libraries.patch" )
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
-DHWY_WARNINGS_ARE_ERRORS=OFF
)
use test && mycmakeargs+=( "-DHWY_SYSTEM_GTEST=ON" )
cmake_src_configure
}
src_install() {
dodoc g3doc/*
cmake_src_install
}