www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Support of dmd2 in Waf

reply kdmult <kdmult ya.ru> writes:
Hi,

Waf is a nice tool for configuring, compiling and installing 
applications (like cmake). Currently it supports dmd1.

Could somebody please update the issue
     http://code.google.com/p/waf/issues/detail?id=1052
with explanation on how dmd2 is supposed to compile and link an example 
which is a part of waf repository (waf\demos\d)?

I am a beginner in D, so I am afraid I can not help the waf author with 
this.
Oct 10 2011
next sibling parent Russel Winder <russel russel.org.uk> writes:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

The project lead for Waf has declared me persona non grata and banned me
from any and all aspects of the Waf community that it is possible for
him to ban me from.  I therefore cannot contribute to Waf even though I
would like to have done.

The standard SCons tool has the same problem of being specific to D1.  I
have started a fork of the SCons D tool as a Mercurial repository
https://bitbucket.org/russel/scons_dmd_new  I should have created a
patch for the latest SCons release but missed the deadline.  There needs
to be more work on this tool to really make it a good SCons tool, but it
does work with D2.

The Waf folk may be able to use the history of the SCons D tool in my
repository to evolve the Waf tool to be D2 capable.


On Mon, 2011-10-10 at 17:48 +0400, kdmult wrote:
 Hi,
=20
 Waf is a nice tool for configuring, compiling and installing=20
 applications (like cmake). Currently it supports dmd1.
=20
 Could somebody please update the issue
      http://code.google.com/p/waf/issues/detail?id=3D1052
 with explanation on how dmd2 is supposed to compile and link an example=

 which is a part of waf repository (waf\demos\d)?
=20
 I am a beginner in D, so I am afraid I can not help the waf author with=

 this.

--=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Oct 10 2011
prev sibling next sibling parent Bernard Helyer <b.helyer gmail.com> writes:
On Mon, 10 Oct 2011 17:52:48 +0100, Russel Winder wrote:

 The project lead for Waf has declared me persona non grata and banned me
 from any and all aspects of the Waf community that it is possible for
 him to ban me from.

If you don't mind me asking, why?
Oct 10 2011
prev sibling next sibling parent Russel Winder <russel russel.org.uk> writes:
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, 2011-10-11 at 00:38 +0000, Bernard Helyer wrote:

 If you don't mind me asking, why?

I wasn't sure whether to answer this in this public and recorded medium, but here goes anyway: You would have to ask him why his actions, but he gave me the following impression before ceasing to answer any of my emails: I am merely an analyst and trainer, not a developer, and therefore a person of no consequence, and certainly not a person able to contribute to Waf development. That because I contribute to SCons, I am out to destroy Waf and should be excluded from Waf society to not allow me to spread sedition. Despite this, I like and use Waf in the contexts where I consider it to have winning USPs. I also like and use SCons in contexts where I consider it to have winning USPs. I also mention both in my Python courses. To bring us back on topic: D support in SCons and Waf does need improving. Not sure about CMake, I have tried is with D. I have set up an infrastructure to allow contributions to SCons D support evolution based on a Mercurial repository on BitBucket, https://bitbucket.org/russel/scons_dmd_new. Any and all constructive contributions most welcome. A particular issue is that only DMD is supported really, so gdc, ldc, etc. support needs testing and work. Also the actual test harness for the tool needs work.=20 --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder ekiga.n= et 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel russel.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Oct 10 2011
prev sibling parent SK <sk metrokings.com> writes:
--0015174c4378d9333d04aeff0c65
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Oct 10, 2011 at 7:09 PM, Russel Winder <russel russel.org.uk> wrote:

   Not sure about CMake, I have tried is with D.

CMake for D2 limps along. At last check, it passed regression with 2.054 but may need some TLC for 2.055. http://code.google.com/p/cmaked2/wiki/GettingStarted --0015174c4378d9333d04aeff0c65 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Oct 10, 2011 at 7:09 PM, Russel Winder <span dir=3D"ltr">&lt;<a hre= f=3D"mailto:russel russel.org.uk">russel russel.org.uk</a>&gt;</span> wrote= :<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"= margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); paddi= ng-left: 1ex;"> =A0 Not sure about CMake, I have tried is with D.<br></blockquote></div><br=
CMake for D2 limps along.=A0 At last check, it passed regression with 2.05=

maked2/wiki/GettingStarted">http://code.google.com/p/cmaked2/wiki/GettingSt= arted</a><br> <br> --0015174c4378d9333d04aeff0c65--
Oct 10 2011