Updated release announcement.

Made the LLVM optimisations build by default (if LLVM is installed).
main
theraven 15 years ago
parent 9d5452b147
commit 649ce9dd7f

@ -26,6 +26,15 @@ release include:
profile trades some CPU time for memory usage, so don't use it for CPU-bound
tasks.
- The class lookup cache optimisation (LLVM) now caches lookups irrespective of
the ABI. It will insert direct references to the class structures if
possible (i.e. if the symbol is visible). If not, then it will cache the
result of objc_class_lookup(). The cache is shared across the module (the
library, if run as a link-time optimisation), so the lookup only needs to be
run once. This eliminates the need for explicit class lookup caching in the
source code (when using LLVM-based compilers, such as Clang, LanguageKit, or
DragonEgg).
You may obtain the code for this release from subversion at the following
subversion branch:

@ -118,3 +118,12 @@ endif
include $(GNUSTEP_MAKEFILES)/aggregate.make
include $(GNUSTEP_MAKEFILES)/library.make
all::
sh build_opts.sh $(MAKE) all
install::
sh build_opts.sh $(MAKE) install
clean::
sh build_opts.sh $(MAKE) clean

@ -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…
Cancel
Save