commit: ca7986a0677e9059f3e1e3334f5f4813ccbcf005
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 15 07:57:04 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 08:04:57 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca7986a0
intel-sdp.eclass: Add debug-print-function to all functions
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
eclass/intel-sdp.eclass | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
index 9f96f75..cf48f92 100644
--- a/eclass/intel-sdp.eclass
+++ b/eclass/intel-sdp.eclass
@@ -174,6 +174,8 @@ QA_PREBUILT="${INTEL_SDP_DIR}/*"
# @DESCRIPTION:
# Creating necessary links to use intel compiler with eclipse
_isdp_link_eclipse_plugins() {
+ debug-print-function ${FUNCNAME} "${@}"
+
local c f
pushd ${INTEL_SDP_DIR}/eclipse_support > /dev/null || die
for c in cdt*; do
@@ -201,6 +203,8 @@ _isdp_link_eclipse_plugins() {
# @DESCRIPTION:
# warn user that we really require a license
_isdp_big-warning() {
+ debug-print-function ${FUNCNAME} "${@}"
+
case ${1} in
pre-check )
echo ""
@@ -236,6 +240,8 @@ _isdp_big-warning() {
# @DESCRIPTION:
# Testing for valid license by asking for version information of the compiler
_isdp_version_test() {
+ debug-print-function ${FUNCNAME} "${@}"
+
local comp comp_full arch warn
case ${PN} in
ifc )
@@ -277,6 +283,8 @@ _isdp_version_test() {
# @INTERNAL
# Test if installed compiler is working
_isdp_run-test() {
+ debug-print-function ${FUNCNAME} "${@}"
+
if [[ -z ${INTEL_SKIP_LICENSE} ]]; then
case ${PN} in
ifc | icc )
@@ -295,6 +303,8 @@ _isdp_run-test() {
# * Check for space requirements being fullfilled
# @CODE
intel-sdp_pkg_pretend() {
+ debug-print-function ${FUNCNAME} "${@}"
+
local warn=1 dir dirs ret arch a p
: ${CHECKREQS_DISK_BUILD:=256M}
@@ -336,6 +346,7 @@ intel-sdp_pkg_pretend() {
# @DESCRIPTION:
# Setting up and sorting some internal variables
intel-sdp_pkg_setup() {
+ debug-print-function ${FUNCNAME} "${@}"
local arch a p
if use x86; then
@@ -419,6 +430,8 @@ intel-sdp_src_unpack() {
# @DESCRIPTION:
# Install everything
intel-sdp_src_install() {
+ debug-print-function ${FUNCNAME} "${@}"
+
if path_exists "${INTEL_SDP_DIR}"/uninstall*; then
ebegin "Cleaning out uninstall information"
find "${INTEL_SDP_DIR}"/uninstall* -delete || die
@@ -481,6 +494,8 @@ intel-sdp_src_install() {
# @DESCRIPTION:
# Add things to intel database
intel-sdp_pkg_postinst() {
+ debug-print-function ${FUNCNAME} "${@}"
+
# add product registry to intel "database"
local l r
for r in ${INTEL_RPMS}; do
@@ -500,6 +515,8 @@ intel-sdp_pkg_postinst() {
# @DESCRIPTION:
# Sanitize intel database
intel-sdp_pkg_postrm() {
+ debug-print-function ${FUNCNAME} "${@}"
+
# remove from intel "database"
if [[ -e ${INTEL_SDP_DB} ]]; then
local r