Files
guru/dev-cpp/gemmlowp/gemmlowp-0_pre20211220.ebuild
Alessandro Barbieri 4aaec78b05 dev-cpp/gemmlowp: add 0_pre20211220, drop 0_p20211220
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-04-28 10:07:50 +02:00

31 lines
615 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"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND=""
DEPEND="${RDEPEND}"
RESTRICT="!test? ( test )"
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}