Mercurial > projects > ldc
view druntime/src/build-ldc.sh @ 1478:4dca8ed9d8b7
Fix #318 by making a list of all seen template instances in a module for
singleobj compilation and then making sure they get emitted in their entirety.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 06 Jun 2009 09:47:32 +0200 |
parents | da3262e901b4 |
children |
line wrap: on
line source
#!/usr/bin/env bash OLDHOME=$HOME export HOME=`pwd` goerror(){ export HOME=$OLDHOME echo "=" echo "= *** Error ***" echo "=" exit 1 } make clean -fldc-posix.mak || goerror make -fldc-posix.mak || goerror chmod 644 ../import/core/*.di || goerror chmod 644 ../import/core/sync/*.di || goerror export HOME=$OLDHOME