dev-util/ccache: disable nvcc tests
authorSergei Trofimovich <slyfox@gentoo.org>
Mon, 15 Oct 2018 21:13:00 +0000 (22:13 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Mon, 15 Oct 2018 21:13:29 +0000 (22:13 +0100)
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-util/ccache/ccache-3.5.ebuild
dev-util/ccache/files/ccache-3.5-nvcc-test.patch [new file with mode: 0644]

index ea736149c6689099477c552216686b691d713d7f..e2a525cad94a2cff289fe7a7fb549a99e775d1a8 100644 (file)
@@ -22,6 +22,7 @@ RDEPEND="${DEPEND}
 
 PATCHES=(
        "${FILESDIR}"/${PN}-3.4-size-on-disk.patch #456178
+       "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
 )
 
 src_prepare() {
diff --git a/dev-util/ccache/files/ccache-3.5-nvcc-test.patch b/dev-util/ccache/files/ccache-3.5-nvcc-test.patch
new file mode 100644 (file)
index 0000000..294b224
--- /dev/null
@@ -0,0 +1,11 @@
+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