source: branches/properties/SOURCE_TOOLS/clean_checked_vectorizations.sh

Last change on this file was 16628, checked in by westram, 7 years ago
  • reintegrates 'vectorize' into 'trunk'
    • fixes #700
      • documented vectorization-checks
      • fine-grained check based on gcc-version
    • drops old gcc-versions (<4.4.3)
    • new attribute __ATTR__DONT_VECTORIZE
      • disabled vectorization of POS_TREE2::init_static() for newer gcc-versions (generated code fails tests)
    • added a bunch of new vectorization-checks (probably irrelevant to overall performance)
  • adds: log:branches/vectorize@15531:16585,16595:16627
  • Property svn:executable set to *
File size: 606 bytes
Line 
1#!/bin/bash
2#
3# remove all object files and containing libraries such that
4# compilation is forced for all source files containing checked vectorization!
5#
6# for details about vectorization see ./vectorize.README
7
8# ./vectorized.source
9SOURCELIST=$ARBHOME/SOURCE_TOOLS/vectorized.source
10SED=${ARBHOME}/SH/arb_sed
11DIRS2CLEAN=`cat $SOURCELIST | grep -v '^#' | $SED -e 's/\/[^\/]*$//' | sort | uniq`
12OBJS2CLEAN=`cat $SOURCELIST | grep -v '^#' | $SED -e 's/\.cxx$/\.o/' | grep '.o$'`
13
14cd ${ARBHOME}
15
16for obj in $OBJS2CLEAN; do
17    rm -f $obj
18done
19
20for dir in $DIRS2CLEAN; do
21    rm -f $dir/*.a $dir/*.so
22done
23
Note: See TracBrowser for help on using the repository browser.