diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-01-18 06:49:33 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-01-18 06:49:33 +0000 |
commit | 48464e0ee1c2de5bcbf0d609348f55d0c301085d (patch) | |
tree | ba4925beb5fbba97626df7306b3c452ffe52ceae /test | |
parent | ba990c4981acfa55893e809e5c72de2800e6bf0c (diff) | |
download | compiler-rt-48464e0ee1c2de5bcbf0d609348f55d0c301085d.tar.gz compiler-rt-48464e0ee1c2de5bcbf0d609348f55d0c301085d.tar.bz2 compiler-rt-48464e0ee1c2de5bcbf0d609348f55d0c301085d.tar.xz |
Add support for "platform" configurations, which define a suite of compiler-rt
libraries to generate.
- Each library may be built with different flags and for different
architectures, and there is support for building Darwin style fat archives.
- Uses an ambituous amount of make programming, but should be hidden to
users and developers.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93720 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rwxr-xr-x | test/Unit/test | 4 | ||||
-rwxr-xr-x | test/timing/time | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/test/Unit/test b/test/Unit/test index 673c52fa..e2a39a92 100755 --- a/test/Unit/test +++ b/test/Unit/test @@ -40,14 +40,14 @@ for ARCH in $ARCHS; do fi if test "$REMOTE" = "1" then - if gcc $CFLAGS $FILE ../../Release/libcompiler_rt.Optimized.a $LIBS $EXTRA -o ./remote/$FILE.exe + if gcc $CFLAGS $FILE ../../darwin_fat/Release/libcompiler_rt.a $LIBS $EXTRA -o ./remote/$FILE.exe then echo "Built $FILE.exe for $ARCH" else echo "$FILE failed to compile" fi else - if gcc $CFLAGS $FILE ../../Release/libcompiler_rt.Optimized.a $LIBS $EXTRA + if gcc $CFLAGS $FILE ../../darwin_fat/Release/libcompiler_rt.a $LIBS $EXTRA then echo "Testing $FILE for $ARCH" if ./a.out diff --git a/test/timing/time b/test/timing/time index af14e5e6..35da97df 100755 --- a/test/timing/time +++ b/test/timing/time @@ -27,8 +27,7 @@ for ARCH in i386 x86_64; do echo "Timing $FILE for $ARCH" test $ARCH $FILE libgcc "" - test $ARCH $FILE untuned ../../Release/libcompiler_rt.Generic.a - test $ARCH $FILE tuned ../../Release/libcompiler_rt.Optimized.a + test $ARCH $FILE tuned ../../darwin_fat/Release/libcompiler_rt.a if [ -f "$INSTALLED" ]; then test $ARCH $FILE installed $INSTALLED fi |