Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
PATCHES=(
"${FILESDIR}"/${PN}-3.4-size-on-disk.patch #456178
+ "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
)
src_prepare() {
--- /dev/null
+Disable 'nvcc' tests to avoid test failure
+on system with gcc-7+ enabled by default.
+--- a/test/run
++++ b/test/run
+@@ -425,2 +425,6 @@ else
+ fi
++# Disable nvcc tests in Gentoo as nvcc requires gcc<7.
++# Not a default normally.
++REAL_NVCC=
++REAL_CUOBJDUMP=
+ echo