Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-26 03:16:24

0001 #!/usr/bin/env bash
0002 export LC_ALL=C 
0003 if [ $# -eq 0 ] ;then J=$(getconf _NPROCESSORS_ONLN); else J=$1; fi
0004 
0005 eval `scram runtime -sh`
0006 cd ${LOCALRT}/tmp/
0007 touch check-start
0008 #touch function-checker.txt.unsorted class-checker.txt.unsorted
0009 cd ${LOCALRT}/src/Utilities/StaticAnalyzers
0010 scram b -j $J
0011 cd ${LOCALRT}/
0012 export USER_CXXFLAGS="-DEDM_ML_DEBUG -w"
0013 export USER_LLVM_CHECKERS="-enable-checker threadsafety -enable-checker optional.ClassChecker -enable-checker cms -enable-checker deprecated -disable-checker cms.FunctionDumper"
0014 scram b -k -j $J checker  SCRAM_IGNORE_PACKAGES=Fireworks/% SCRAM_IGNORE_SUBDIRS=test > ${LOCALRT}/tmp/class+function-checker.log 2>&1
0015 cd ${LOCALRT}/tmp/
0016 touch check-end
0017 sort -u < class-checker.txt.unsorted | grep -e"^data class">class-checker.txt
0018 sort -u < function-checker.txt.unsorted >function-statics-db.txt
0019 cat constcast-checker.txt.unsorted constcastaway-checker.txt.unsorted mutablemember-checker.txt.unsorted | sort -u >const-checker.txt
0020 rm *.txt.unsorted