mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
sci-ml/NNPACK: enable test
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -18,8 +18,8 @@ S="${WORKDIR}"/${PN}-${CommitId}
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=test
|
||||
RESTRICT="test" # consuming too much CPU
|
||||
IUSE="test test-full"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
@@ -56,3 +56,14 @@ src_configure() {
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
use test-full || local CMAKE_SKIP_TESTS=(
|
||||
convolution-output-overfeat
|
||||
convolution-kernel-gradient-vgg
|
||||
convolution-input-gradient-overfeat
|
||||
convolution-input-gradient-vgg
|
||||
convolution-output-vgg
|
||||
)
|
||||
cmake_src_test
|
||||
}
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
<email>tupone@gentoo.org</email>
|
||||
<name>Tupone Alfredo</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="test-full">Run additional, quite slow tests</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">Maratyszcza/NNPACK</remote-id>
|
||||
</upstream>
|
||||
|
||||
Reference in New Issue
Block a user