commit: 6a61da18f3901e1f67f17a79757766cdf69fbd73
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 27 14:27:37 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 28 07:48:10 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a61da18
cuda.eclass: Use debug-print-function everywhere
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
eclass/cuda.eclass | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass
index ede58f4..e36d4ca 100644
--- a/eclass/cuda.eclass
+++ b/eclass/cuda.eclass
@@ -42,6 +42,8 @@ if [[ -z ${_CUDA_ECLASS} ]]; then
# -> --compiler-bindir="/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3"
# @CODE
cuda_gccdir() {
+ debug-print-function ${FUNCNAME} "$@"
+
local gcc_bindir ver args="" flag ret
# Currently we only support the gnu compiler suite
@@ -98,6 +100,8 @@ cuda_gccdir() {
# Correct NVCCFLAGS by adding the necessary reference to gcc bindir and
# passing CXXFLAGS to underlying compiler without disturbing nvcc.
cuda_sanitize() {
+ debug-print-function ${FUNCNAME} "$@"
+
local rawldflags=$(raw-ldflags)
# Be verbose if wanted
[[ "${CUDA_VERBOSE}" == true ]] && NVCCFLAGS+=" -v"
@@ -116,6 +120,8 @@ cuda_sanitize() {
# @DESCRIPTION:
# Call cuda_src_prepare for EAPIs not supporting src_prepare
cuda_pkg_setup() {
+ debug-print-function ${FUNCNAME} "$@"
+
cuda_src_prepare
}
@@ -123,6 +129,8 @@ cuda_pkg_setup() {
# @DESCRIPTION:
# Sanitise and export NVCCFLAGS by default
cuda_src_prepare() {
+ debug-print-function ${FUNCNAME} "$@"
+
cuda_sanitize
}