view runtime/build-sharedlibs.sh @ 1423:42bd767ec5a4

* Add -functionattrs to default pass list so -dgc2stack is more effective when callees aren't inlined. This should also improve various standard LLVM optimizations. * Comment out some verbose logging.
author Frits van Bommel <fvbommel wxs.nl>
date Thu, 28 May 2009 00:07:21 +0200
parents 6aaa3d3c1183
children
line wrap: on
line source

#!/bin/bash

# I'm no good bash scripter ...

# copy imports
mkdir -p ../tango/ldc
cp internal/ldc/bitmanip.d ../tango/ldc/bitmanip.di
cp internal/ldc/vararg.d ../tango/ldc/vararg.di
cp import/ldc/* ../tango/ldc

# make the runtime
cp -R lib ../tango
cd ../tango/lib
make -f ldc-posix.mak clean
make -f ldc-posix.mak sharedlib
cd ../..

# install the runtime
rm -f lib/libldc-runtime-shared.so
cp runtime/internal/libldc-runtime-shared.so lib
rm -f lib/libtango-gc-basic-shared.so
cp tango/lib/gc/basic/libtango-gc-basic-shared.so lib
rm -f lib/libtango-cc-tango-shared.so
cp tango/lib/common/tango/libtango-cc-tango-shared.so lib