diff options
author | Amy Winston <amynka@gentoo.org> | 2015-11-26 22:10:58 +0100 |
---|---|---|
committer | Amy Winston <amynka@gentoo.org> | 2015-11-26 22:11:56 +0100 |
commit | 7bbdf13eaf0d8b6da619fa15581d1ba56c1cc072 (patch) | |
tree | b2f96ff7d6eb93dddc72605691fafba9a9b4da9f /media-libs/opencv/opencv-3.0.0.ebuild | |
parent | net-wireless/broadcom-sta: Fix patch. (diff) | |
download | gentoo-7bbdf13eaf0d8b6da619fa15581d1ba56c1cc072.tar.gz gentoo-7bbdf13eaf0d8b6da619fa15581d1ba56c1cc072.tar.bz2 gentoo-7bbdf13eaf0d8b6da619fa15581d1ba56c1cc072.zip |
media-libs/opencv: cuda restriction for >=gcc-4.8 disabled bug #566244.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-libs/opencv/opencv-3.0.0.ebuild')
-rw-r--r-- | media-libs/opencv/opencv-3.0.0.ebuild | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/media-libs/opencv/opencv-3.0.0.ebuild b/media-libs/opencv/opencv-3.0.0.ebuild index a101fc4a06b3..aec55ebdfaee 100644 --- a/media-libs/opencv/opencv-3.0.0.ebuild +++ b/media-libs/opencv/opencv-3.0.0.ebuild @@ -182,16 +182,9 @@ src_configure() { fi if use cuda; then - if [[ "$(gcc-version)" > "4.7" ]]; then - ewarn "CUDA and >=sys-devel/gcc-4.8 do not play well together. Disabling CUDA support." - mycmakeargs+=( "-DWITH_CUDA=OFF" ) - mycmakeargs+=( "-DWITH_CUBLAS=OFF" ) - mycmakeargs+=( "-DWITH_CUFFT=OFF" ) - else - mycmakeargs+=( "-DWITH_CUDA=ON" ) - mycmakeargs+=( "-DWITH_CUBLAS=ON" ) - mycmakeargs+=( "-DWITH_CUFFT=ON" ) - fi + mycmakeargs+=( "-DWITH_CUDA=ON" ) + mycmakeargs+=( "-DWITH_CUBLAS=ON" ) + mycmakeargs+=( "-DWITH_CUFFT=ON" ) else mycmakeargs+=( "-DWITH_CUDA=OFF" ) mycmakeargs+=( "-DWITH_CUBLAS=OFF" ) |