From c588b99ea34d3b5f6e9932f7fc6fecf0b58f8b44 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Tue, 5 Oct 2021 20:52:50 -0400 Subject: Move dev-libs/highway to dev-cpp/highway match guru --- dev-cpp/highway/Manifest | 1 + dev-cpp/highway/highway-0.14.2.ebuild | 27 +++++++++++++++++++++++++++ dev-cpp/highway/metadata.xml | 8 ++++++++ 3 files changed, 36 insertions(+) create mode 100644 dev-cpp/highway/Manifest create mode 100644 dev-cpp/highway/highway-0.14.2.ebuild create mode 100644 dev-cpp/highway/metadata.xml (limited to 'dev-cpp/highway') diff --git a/dev-cpp/highway/Manifest b/dev-cpp/highway/Manifest new file mode 100644 index 0000000..1512a64 --- /dev/null +++ b/dev-cpp/highway/Manifest @@ -0,0 +1 @@ +DIST highway-0.14.2.tar.gz 1545892 BLAKE2B c19d040ea7bf6d5ee0ff87213f36bfe77759cc4cec514b972379490dbac5e8d55f99490b998f73133ca0ba3b34a98f2684b85206ae32d655aa574aeaabeaeb27 SHA512 fc1a35463c95c45b646c53f91a9996112726de1d588dcd4d25a7d366840f704ad9a4c0bb6e0a001e929409f04aad6922cbffcf93774a0c360aff875956c7cc8d diff --git a/dev-cpp/highway/highway-0.14.2.ebuild b/dev-cpp/highway/highway-0.14.2.ebuild new file mode 100644 index 0000000..7f21cc2 --- /dev/null +++ b/dev-cpp/highway/highway-0.14.2.ebuild @@ -0,0 +1,27 @@ +# 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" +SRC_URI="https://github.com/google/highway/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="test? ( dev-cpp/gtest )" +RDEPEND="" +BDEPEND="" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test ON OFF) + -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 0000000..004555a --- /dev/null +++ b/dev-cpp/highway/metadata.xml @@ -0,0 +1,8 @@ + + + + + alex_y_xu@yahoo.ca + Alex Xu (Hello71) + + -- cgit v1.2.3-70-g09d2