Updated release announcement.
Made the LLVM optimisations build by default (if LLVM is installed).main
parent
9d5452b147
commit
649ce9dd7f
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
LLVM_PATH=`llvm-config --src-root`
|
||||||
|
LIBOBJC_PATH=`pwd`
|
||||||
|
if [ x$LLVM_PATH != x ] ; then
|
||||||
|
cd $LLVM_PATH
|
||||||
|
cd lib/Transforms
|
||||||
|
if [ ! -d GNURuntime ] ; then
|
||||||
|
mkdir GNURuntime
|
||||||
|
fi
|
||||||
|
cd GNURuntime
|
||||||
|
for I in `ls $LIBOBJC_PATH/opts/` ; do
|
||||||
|
if [ ! $I -nt $LIBOBJC_PATH/opts/$I ] ; then
|
||||||
|
cp $LIBOBJC_PATH/opts/$I .
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
$1 $2
|
||||||
|
cd ..
|
||||||
|
fi
|
||||||
Loading…
Reference in New Issue