/[gentoo-x86]/eclass/cuda.eclass
Gentoo

Diff of /eclass/cuda.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/cuda.eclass,v 1.1 2013/01/11 08:31:49 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/cuda.eclass,v 1.2 2013/06/22 12:37:28 jlec Exp $
4 4
5inherit toolchain-funcs versionator 5inherit toolchain-funcs versionator
6 6
7# @ECLASS: cuda.eclass 7# @ECLASS: cuda.eclass
8# @MAINTAINER: 8# @MAINTAINER:
103 NVCCFLAGS+=" $(cuda_gccdir -f)" 103 NVCCFLAGS+=" $(cuda_gccdir -f)"
104 104
105 # Tell nvcc which flags should be used for underlying C compiler 105 # Tell nvcc which flags should be used for underlying C compiler
106 NVCCFLAGS+=" --compiler-options=\"${CXXFLAGS}\"" 106 NVCCFLAGS+=" --compiler-options=\"${CXXFLAGS}\""
107 107
108 debug-print "Using ${NVCCFLAGS} for cuda"
108 export NVCCFLAGS 109 export NVCCFLAGS
109} 110}
110 111
111# @FUNCTION: cuda_pkg_setup 112# @FUNCTION: cuda_pkg_setup
112# @DESCRIPTION: 113# @DESCRIPTION:

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20