[llvm-commits] [llvm-top] r40080 - /llvm-top/trunk/library.sh
Reid Spencer
rspencer at reidspencer.com
Thu Jul 19 23:36:28 PDT 2007
Author: reid
Date: Fri Jul 20 01:36:28 2007
New Revision: 40080
URL: http://llvm.org/viewvc/llvm-project?rev=40080&view=rev
Log:
Add more build options.
Modified:
llvm-top/trunk/library.sh
Modified: llvm-top/trunk/library.sh
URL: http://llvm.org/viewvc/llvm-project/llvm-top/trunk/library.sh?rev=40080&r1=40079&r2=40080&view=diff
==============================================================================
--- llvm-top/trunk/library.sh (original)
+++ llvm-top/trunk/library.sh Fri Jul 20 01:36:28 2007
@@ -119,12 +119,28 @@
for arg in "$@" ; do
case "$arg" in
LLVM_TOP=*) LLVM_TOP=`echo "$arg" | sed -e 's/LLVM_TOP=//'` ;;
- PREFIX=*) PREFIX=`echo "$arg" | sed -e 's/PREFIX=//'` ;;
- MODULE=*) PREFIX=`echo "$arg" | sed -e 's/MODULE=//'` ;;
- --*) OPTIONS_DASH_DASH="$OPTIONS_DASH_DASH $arg" ;;
- -*) OPTIONS_DASH="$OPTIONS_DASH $arg" ;;
- *=*) OPTIONS_ASSIGN="$OPTIONS_ASSIGN $arg" ;;
- *) die 1 "Unrecognized option: $arg" ;;
+ PREFIX=*) PREFIX=`echo "$arg" | sed -e 's/PREFIX=//'` ;;
+ MODULE=*) MODULE=`echo "$arg" | sed -e 's/MODULE=//'` ;;
+ ENABLE_PIC=*)
+ ENABLE_PIC=`echo "$arg" | sed -e 's/ENABLE_PIC=//'`
+ OPTIONS_ASSIGN="$OPTIONS_ASSIGN $arg"
+ ;;
+ ENABLE_OPTIMIZED=*)
+ ENABLE_OPTIMIZED=`echo "$arg" | sed -e 's/ENABLE_OPTIMIZED=//'`
+ OPTIONS_ASSIGN="$OPTIONS_ASSIGN $arg"
+ ;;
+ ENABLE_PROFILING=*)
+ ENABLE_PROFILING=`echo "$arg" | sed -e 's/ENABLE_PROFILING=//'`
+ OPTIONS_ASSIGN="$OPTIONS_ASSIGN $arg"
+ ;;
+ ENABLE_EXPENSIVE_CHECKS=*)
+ ENABLE_EXPENSIVE_CHECKS=`echo "$arg" | sed -e 's/ENABLE_EXPENSIVE_CHECKS=//'`
+ OPTIONS_ASSIGN="$OPTIONS_ASSIGN $arg"
+ ;;
+ --*) OPTIONS_DASH_DASH="$OPTIONS_DASH_DASH $arg" ;;
+ -*) OPTIONS_DASH="$OPTIONS_DASH $arg" ;;
+ *=*) OPTIONS_ASSIGN="$OPTIONS_ASSIGN $arg" ;;
+ *) die 1 "Unrecognized option: $arg" ;;
esac
done
}
More information about the llvm-commits
mailing list