Files
guru/dev-cpp/gemmlowp/gemmlowp-0_pre20211220-r1.ebuild
Alessandro Barbieri c21203f33c dev-cpp/gemmlowp: add subslot
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-05-28 14:53:31 +02:00

31 lines
621 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="e844ffd17118c1e17d94e1ba4354c075a4577b88"
inherit cmake
DESCRIPTION="Low-precision matrix multiplication"
HOMEPAGE="https://github.com/google/gemmlowp"
SRC_URI="https://github.com/google/${PN}/archive/${COMMIT}.tar.gz -> ${PF}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}/contrib"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}