commit: f31b3eeaa38fdc2b33709436644c109e5ac6b5c7 Author: Pavel Denisov <pavel.a.denisov <AT> gmail <DOT> com> AuthorDate: Fri Nov 20 00:16:01 2015 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Fri Nov 20 00:16:01 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f31b3eea
sci-misc/kaldi: Use cuda eclass Package-Manager: portage-2.2.24 sci-misc/kaldi/kaldi-0_p20151106.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-misc/kaldi/kaldi-0_p20151106.ebuild b/sci-misc/kaldi/kaldi-0_p20151106.ebuild index 9657cef..9a86cf6 100644 --- a/sci-misc/kaldi/kaldi-0_p20151106.ebuild +++ b/sci-misc/kaldi/kaldi-0_p20151106.ebuild @@ -4,7 +4,7 @@ EAPI="5" -inherit eutils toolchain-funcs flag-o-matic +inherit eutils toolchain-funcs cuda flag-o-matic DESCRIPTION="A toolkit for speech recognition" HOMEPAGE="http://kaldi-asr.org/" @@ -99,7 +99,7 @@ src_configure() { EOF cat makefiles/linux_x86_64_cuda.mk >> kaldi.mk sed -i \ - -e "s:CUDA_FLAGS = -g:CUDA_FLAGS = -O2:" \ + -e "s:CUDA_FLAGS = -g:CUDA_FLAGS = ${NVCCFLAGS}:" \ kaldi.mk || die "sed unix/kaldi.mk failed" fi }