Should we try and make some sort of schedule or todo-list for the next 2.064 release?
H. S. Teoh
hsteoh at quickfur.ath.cx
Fri May 31 19:46:42 PDT 2013
On Sat, Jun 01, 2013 at 04:31:33AM +0200, Joseph Rushton Wakeling wrote:
> Another thought for a task: the build scripts. The manual labour
> needed to build and install DMD, druntime and Phobos is frustrating.
> Ideally it'd be nice to have a solution like LDC, where druntime and
> Phobos are git submodules and they get built and installed via one
> simple script (for LDC you just need to call cmake to configure and
> then make && make install).
Really? I have this script that automatically builds the latest DMD
toolchain:
----SNIP----
#!/bin/sh
#
# Pulls git master from github and (re)build everything.
#
set -e
for dir in dmd druntime phobos; do
(cd "$dir" && git pull --ff-only upstream master)
done
(cd dmd/src && \
make -f posix.mak clean && \
make -f posix.mak MODEL=64 -j6)
(cd druntime && \
make -f posix.mak MODEL=64)
(cd phobos && \
make -f posix.mak MODEL=64)
----SNIP----
One command builds it all. No frustration at all!
T
--
Just because you can, doesn't mean you should.
More information about the Digitalmars-d
mailing list