summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-02-15 08:57:04 +0100
committerJustin Lecher <jlec@gentoo.org>2016-02-15 09:04:57 +0100
commitca7986a0677e9059f3e1e3334f5f4813ccbcf005 (patch)
tree335c81b5e0f38c1d61867a6d3677b713bdc3ee3e /eclass
parentintel-sdp.eclass: Correct DEFAULT_UNSET settings (diff)
downloadgentoo-ca7986a0677e9059f3e1e3334f5f4813ccbcf005.tar.gz
gentoo-ca7986a0677e9059f3e1e3334f5f4813ccbcf005.tar.bz2
gentoo-ca7986a0677e9059f3e1e3334f5f4813ccbcf005.zip
intel-sdp.eclass: Add debug-print-function to all functions
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/intel-sdp.eclass17
1 files changed, 17 insertions, 0 deletions
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
index 9f96f75c7cdd..cf48f925aa9c 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