From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4414C1381F3 for ; Mon, 26 Nov 2012 22:04:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57892E06F9; Mon, 26 Nov 2012 22:02:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E0291E06F4 for ; Mon, 26 Nov 2012 22:02:07 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1F1333D8F2 for ; Mon, 26 Nov 2012 22:02:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 4DE40E5453 for ; Mon, 26 Nov 2012 22:02:03 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1353940869.29b356910d3541e158f36e07d8f3868fb0216835.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: eclass/ X-VCS-Repository: proj/sci X-VCS-Files: eclass/cuda.eclass X-VCS-Directories: eclass/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 29b356910d3541e158f36e07d8f3868fb0216835 X-VCS-Branch: master Date: Mon, 26 Nov 2012 22:02:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a0906adc-b5cc-4a0a-95b0-8dae95ac4c56 X-Archives-Hash: 911f32a1a3572501d5e0c2f6ea9649ec commit: 29b356910d3541e158f36e07d8f3868fb0216835 Author: Justin Lecher gentoo org> AuthorDate: Sun Nov 25 16:03:42 2012 +0000 Commit: Justin Lecher gentoo org> CommitDate: Mon Nov 26 14:41:09 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=29b35691 Minor fixes Signed-off-by: Justin Lecher gentoo.org> --- eclass/cuda.eclass | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index 3bb779a..fc6fe51 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -29,9 +29,7 @@ inherit toolchain-funcs versionator # Being verbose during compilation to see underlying commands : ${CUDA_VERBOSE:=true} -if [[ "${CUDA_VERBOSE}" == true ]]; then - NVCCFLAGS+=" -v" -fi +[[ "${CUDA_VERBOSE}" == true ]] && NVCCFLAGS+=" -v" # @ECLASS-FUNCTION: cuda_gccdir # @DESCRIPTION: @@ -90,10 +88,10 @@ cuda_gccdir() { echo ${_ret} return 0 else - eerror "Only gcc version(s) ${_args} are supported," + eerror "Only gcc version(s) ${_args} are supported," eerror "of which none is installed" - die "Only gcc version(s) ${_args} are supported" - return 1 + die "Only gcc version(s) ${_args} are supported" + return 1 fi }