summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-01-27 15:27:37 +0100
committerJustin Lecher <jlec@gentoo.org>2016-01-28 08:48:10 +0100
commit6a61da18f3901e1f67f17a79757766cdf69fbd73 (patch)
tree29d2726a2b2f309e565c87b647efa1180e2c6f26 /eclass/cuda.eclass
parentcuda.eclass: Drop empty line (diff)
downloadgentoo-6a61da18f3901e1f67f17a79757766cdf69fbd73.tar.gz
gentoo-6a61da18f3901e1f67f17a79757766cdf69fbd73.tar.bz2
gentoo-6a61da18f3901e1f67f17a79757766cdf69fbd73.zip
cuda.eclass: Use debug-print-function everywhere
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass/cuda.eclass')
-rw-r--r--eclass/cuda.eclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass
index ede58f4726df..e36d4ca1db9b 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
}