Mercurial > projects > ldc
annotate runtime/build.sh @ 518:243485af6523
Prevent cast error for cast(void) around expression statements.
Fixes:
run/e/ExpressionStatement_10_A
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 16 Aug 2008 12:32:22 +0200 |
parents | bebc6099fb89 |
children | bfbd71f60572 |
rev | line source |
---|---|
443
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
1 #!/bin/bash |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
2 |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
3 # I'm no good bash scripter ... |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
4 |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
5 # copy imports |
492
bebc6099fb89
Elrood's proposed directory layout changes.
Christian Kamm <kamm incasoftware de>
parents:
461
diff
changeset
|
6 mkdir -p ../tango/llvmdc |
bebc6099fb89
Elrood's proposed directory layout changes.
Christian Kamm <kamm incasoftware de>
parents:
461
diff
changeset
|
7 cp -u internal/llvmdc/bitmanip.d ../tango/llvmdc/bitmanip.di |
bebc6099fb89
Elrood's proposed directory layout changes.
Christian Kamm <kamm incasoftware de>
parents:
461
diff
changeset
|
8 cp -u internal/llvmdc/vararg.d ../tango/llvmdc/vararg.di |
bebc6099fb89
Elrood's proposed directory layout changes.
Christian Kamm <kamm incasoftware de>
parents:
461
diff
changeset
|
9 cp -u import/llvmdc/* ../tango/llvmdc |
443
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
10 |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
11 # make the runtime |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
12 cp -Ru lib ../tango |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
13 cd ../tango/lib |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
14 make -f llvmdc-posix.mak clean |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
15 make -f llvmdc-posix.mak |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
16 |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
17 # install the runtime |
44f08170f4ef
Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
parents:
diff
changeset
|
18 rm -f ../../lib/libtango-base-llvmdc-native.a |
461
2b28fd92bab8
Windows build changes proposed by Elrood.
Christian Kamm <kamm incasoftware de>
parents:
443
diff
changeset
|
19 cp `pwd`/libtango-base-llvmdc-native.a ../../lib |