source: branches/alilink/SOURCE_TOOLS/clean_checked_vectorizations.sh

Last change on this file was 16768, checked in by westram, 7 years ago
  • 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.