diff options
author | Nick Hildenbrandt <hldnbrnd@uiuc.edu> | 2002-09-16 17:56:48 +0000 |
---|---|---|
committer | Nick Hildenbrandt <hldnbrnd@uiuc.edu> | 2002-09-16 17:56:48 +0000 |
commit | 110d7f3c82dbb35ae6af2cc918e5f9667cfff9fb (patch) | |
tree | 34d23f1506c1a33031b7485674a32601bd93c15b | |
parent | 33adbcc87d92c6c3e620870c804f4a2533ecc850 (diff) |
Moved these files to the utils directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3758 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | cvsupdate | 62 | ||||
-rwxr-xr-x | getsrcs.sh | 5 | ||||
-rwxr-xr-x | makellvm | 16 |
3 files changed, 0 insertions, 83 deletions
diff --git a/cvsupdate b/cvsupdate deleted file mode 100755 index 2d21d21eda..0000000000 --- a/cvsupdate +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/csh -f -# -# This script updates the entire tree, saves the output in cvs.out, -# and then separately prints out the files that had merge conflicts, -# those that were merged successfully, and those that are new. -# Note that this script uses "cvs update -P -d". -# -# USAGE: -# cvsupdate ## normal run -# cvsupdate -n ## run grep commands on output of the last run of cvs -# cvsupdate -h ## usage information -# - -set pstatus = 0 -onintr cleanup -alias usage 'echo "USAGE: $0:t [-h][-n]"; set pstatus = 1; goto cleanup' - -set doit = 1 -unset options_done -while ( !( $?options_done ) && ($#argv > 0)) - switch ($argv[1]) - case -h : - usage - case -n : - set doit = 0; shift argv; breaksw - default : - set options_done; breaksw - endsw -end - -if ($doit == 1) then - /bin/mv -f cvs.out cvs.out.bak - cvs update -P -d >& cvs.out - if ($status != 0) then - echo "ERROR: CVS update failed: " - cat cvs.out - exit 1 - endif -else - echo ""; echo "Not updating files."; echo "" -endif - -echo ""; echo " FILES UPDATED:" -grep '^U' cvs.out - -echo ""; echo " UPDATE CONFLICTS OCCURRED FOR THE FOLLOWING FILES:" -grep '^C' cvs.out - -echo ""; echo " FILES SUCCESSFULLY MERGED (or locally modified):" -grep '^M' cvs.out | grep -v Merging - -echo ""; echo " NEW FILES AND DIRECTORIES:" -grep '^\?' cvs.out | & grep -v '\.bc' | grep -v Updating | grep -v cvsup | grep -v 'cvs.out' | grep -v gnumake.out | grep -v '\.mc$' | grep -v '\.s$' | grep -v '\.native' - -echo "" - - -#========================================================= -# CODE TO BE EXECUTED IF INTERRUPT IS RECEIVED -#========================================================= -cleanup: - exit($pstatus) diff --git a/getsrcs.sh b/getsrcs.sh deleted file mode 100755 index 60cdcf644c..0000000000 --- a/getsrcs.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -# This is useful because it prints out all of the source files. Useful for -# greps. -find www include lib tools -name \*.\[cdhyl\]\* | grep -v Lexer.cpp | grep -v llvmAsmParser.cpp | grep -v llvmAsmParser.h | grep -v '~$' | grep -v '\.ll$' | grep -v .flc | grep -v Sparc.burm.c | grep -v '\.d$' | grep -v '\.dir$' | grep -v www/docs/doxygen | grep -v include/boost - diff --git a/makellvm b/makellvm deleted file mode 100755 index ad92e5ac64..0000000000 --- a/makellvm +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/csh -f - - ## LLVMDIR is simply the directory where this script resides! -set THISEXEC = $0 ## cannot use :h on $0 for some reason -set LLVMDIR = $THISEXEC:h -set EXEC = opt - -if ($#argv > 0) then - if ($argv[1] == "-h") then - echo 'USAGE: makellvm [toolname] (toolname defaults to "opt").' - exit 0 - endif - set EXEC = $argv[1] -endif - -gnumake && (cd $LLVMDIR/tools/$EXEC && gnumake) |