From 8ec41042025a5424613320ead6c7a4c6bea61ffa Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Thu, 11 Nov 2021 09:07:27 -0500 Subject: dev-cpp/highway: update to 0.15.0 --- dev-cpp/highway/highway-0.15.0.ebuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 dev-cpp/highway/highway-0.15.0.ebuild (limited to 'dev-cpp/highway/highway-0.15.0.ebuild') diff --git a/dev-cpp/highway/highway-0.15.0.ebuild b/dev-cpp/highway/highway-0.15.0.ebuild new file mode 100644 index 0000000..60d4459 --- /dev/null +++ b/dev-cpp/highway/highway-0.15.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +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[${MULTILIB_USEDEP}] )" +RDEPEND="" +BDEPEND="" + +multilib_src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test ON OFF) + -DHWY_SYSTEM_GTEST=ON + ) + cmake_src_configure +} -- cgit v1.2.3-54-g00ecf