From 08de31c74a736910d9cc9d66c1ec0caa890a2365 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Fri, 9 Sep 2016 12:54:28 +0000 Subject: [PATCH] Deleted Score-P sit class files except the latest. --- packages/performance/scorep/scorep-1.4.2 | 36 -------- .../scorep/scorep-1.4.2-0001.patch | 84 ------------------- packages/performance/scorep/scorep-2.0.1 | 39 --------- 3 files changed, 159 deletions(-) delete mode 100755 packages/performance/scorep/scorep-1.4.2 delete mode 100644 packages/performance/scorep/scorep-1.4.2-0001.patch delete mode 100755 packages/performance/scorep/scorep-2.0.1 diff --git a/packages/performance/scorep/scorep-1.4.2 b/packages/performance/scorep/scorep-1.4.2 deleted file mode 100755 index d9d0cd5..0000000 --- a/packages/performance/scorep/scorep-1.4.2 +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# sit class file -# -# Christoph Niethammer (C) 2015 -# - -CATEGORY="performance" -PACKAGE="scorep" -VERSION="1.4.2" -URL="http://www.vi-hps.org/projects/score-p" -INSTALLER="Christoph Niethammer " - - -# Archive A and package name P -A="${PACKAGE}-${VERSION}.tar.gz" -P="${PACKAGE}-${VERSION}" - - -# Other interesting configure options: -#--enable-sampling \ -CONFIGURE_OPTS=" \ - --enable-shared \ - --enable-static \ - --with-gui \ - " - -PAPI_BASE=$(dirname $(dirname $(which papi_avail))) -if [ ! -z $PAPI_BASE ] -then - CONFIGURE_OPTS+=" --with-papi-header=$PAPI_BASE/include --with-papi-lib=$PAPI_BASE/lib " -fi - -src_prepare () { - patch -p1 < $SCLASS_DIR/$SCLASSFILE-0001.patch -} - diff --git a/packages/performance/scorep/scorep-1.4.2-0001.patch b/packages/performance/scorep/scorep-1.4.2-0001.patch deleted file mode 100644 index 2ef4726..0000000 --- a/packages/performance/scorep/scorep-1.4.2-0001.patch +++ /dev/null @@ -1,84 +0,0 @@ -Index: trunk/src/adapters/compiler/gcc-plugin/scorep_plugin_inst_descriptor.inc.c -=================================================================== ---- trunk/src/adapters/compiler/gcc-plugin/scorep_plugin_inst_descriptor.inc.c (revision 8827) -+++ trunk/src/adapters/compiler/gcc-plugin/scorep_plugin_inst_descriptor.inc.c (revision 9322) -@@ -201,19 +201,19 @@ - - /* The struct is 64 bytes, because of reserved entries */ - DECL_SIZE( region_descr_var ) = build_int_cst( size_type_node, 64 * BITS_PER_UNIT ); - DECL_SIZE_UNIT( region_descr_var ) = build_int_cst( size_type_node, 64 ); - -- DECL_INITIAL( region_descr_var ) = region_descr_value; -- DECL_CONTEXT( region_descr_var ) = current_function_decl; -- set_decl_section_name( region_descr_var, region_descrs_section ); -+ DECL_INITIAL( region_descr_var ) = region_descr_value; -+ DECL_CONTEXT( region_descr_var ) = current_function_decl; - TREE_PUBLIC( region_descr_var ) = 0; - TREE_USED( region_descr_var ) = 1; - DECL_PRESERVE_P( region_descr_var ) = 1; - DECL_ARTIFICIAL( region_descr_var ) = 1; - DECL_IGNORED_P( region_descr_var ) = 1; - TREE_STATIC( region_descr_var ) = 1; -+ set_decl_section_name( region_descr_var, region_descrs_section ); - - mark_decl_referenced( region_descr_var ); - varpool_finalize_decl( region_descr_var ); - - DECL_SEEN_IN_BIND_EXPR_P( region_descr_var ) = 1; -Index: trunk/src/adapters/compiler/gcc-plugin/scorep_plugin_inst_handle.inc.c -=================================================================== ---- trunk/src/adapters/compiler/gcc-plugin/scorep_plugin_inst_handle.inc.c (revision 8827) -+++ trunk/src/adapters/compiler/gcc-plugin/scorep_plugin_inst_handle.inc.c (revision 9322) -@@ -59,20 +59,20 @@ - tree handle_var = build_decl( UNKNOWN_LOCATION, - VAR_DECL, - get_identifier( region_handle_var_name ), - handle->type ); - -- DECL_INITIAL( handle_var ) = build_int_cst( handle->type, 0 ); -- DECL_CONTEXT( handle_var ) = current_function_decl; -- set_decl_section_name( handle_var, region_handles_section ); -+ DECL_INITIAL( handle_var ) = build_int_cst( handle->type, 0 ); -+ DECL_CONTEXT( handle_var ) = current_function_decl; - TREE_STATIC( handle_var ) = 1; - TREE_PUBLIC( handle_var ) = 0; - TREE_USED( handle_var ) = 1; - DECL_PRESERVE_P( handle_var ) = 1; - DECL_ARTIFICIAL( handle_var ) = 0; - DECL_IGNORED_P( handle_var ) = 0; - varpool_finalize_decl( handle_var ); -+ set_decl_section_name( handle_var, region_handles_section ); - - DECL_SEEN_IN_BIND_EXPR_P( handle_var ) = 1; - record_vars( handle_var ); - - handle->var = handle_var; -Index: trunk/src/adapters/compiler/gcc-plugin/scorep_plugin_cxx.cpp -=================================================================== ---- trunk/src/adapters/compiler/gcc-plugin/scorep_plugin_cxx.cpp (revision 8874) -+++ trunk/src/adapters/compiler/gcc-plugin/scorep_plugin_cxx.cpp (revision 9322) -@@ -64,18 +64,22 @@ - }; - - class pass_instrument : public gimple_opt_pass - { - public: -- pass_instrument ( gcc::context* ctxt ) -+ pass_instrument( gcc::context* ctxt ) - : gimple_opt_pass( pass_data_instrument, ctxt ) - { - } - - /* opt_pass methods: */ - unsigned int -+#if SCOREP_GCC_PLUGIN_TARGET_VERSION >= 5000 -+ execute( function* ) -+#else - execute() -+#endif - { - return scorep_plugin_pass_instrument_function(); - } - - opt_pass* - diff --git a/packages/performance/scorep/scorep-2.0.1 b/packages/performance/scorep/scorep-2.0.1 deleted file mode 100755 index e5ee940..0000000 --- a/packages/performance/scorep/scorep-2.0.1 +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# sit class file -# -# Christoph Niethammer (C) 2015 -# - -CATEGORY="performance" -PACKAGE="scorep" -VERSION="2.0.1" -URL="http://www.vi-hps.org/projects/score-p" -INSTALLER="Christoph Niethammer " - - -# Archive A and package name P -A="${PACKAGE}-${VERSION}.tar.gz" -P="${PACKAGE}-${VERSION}" - - -# Other interesting configure options: -#--enable-sampling \ -CONFIGURE_OPTS=" \ - --enable-shared \ - --enable-static \ - " - -if [ $PLATFORM == "laki" ] ; then - #QT_DIR=$(qtpaths --install-prefix) - #CONFIGURE_OPTS += " --with-qt=$QT_DIR " - CONFIGURE_OPTS+=" --without-gui" -else - CONFIGURE_OPTS+=" --with-gui" -fi - -PAPI_BASE=$(dirname $(dirname $(which papi_avail))) -if [ ! -z $PAPI_BASE ] -then - CONFIGURE_OPTS+=" --with-papi-header=$PAPI_BASE/include --with-papi-lib=$PAPI_BASE/lib " -fi -