www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Help needed for D support in SCons on Windows

reply Russel Winder <russel winder.org.uk> writes:
Hi,

I know there are a number of people out there who use SCons to build D
codes.

I know there are a number of those people who work on Windows.

Your help is being asked for.

All the work I have done for D support in SCons has been based entirely
on Debian Sid, but tested on Fedora Rawhide, and on occasion OSX El
Capitan.

It turns out there are a number problems with the SCons tests running
on Windows, many of them associated with the D support.=20

https://github.com/SCons/scons/issues/3205

As you will see I am choosing not to get involved in anything to do
with Windows. The D support in SCons on Windows does though need some
work, and so SCons needs some people to get involved =E2=80=93 due to
enlightened self-interest.

--=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
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk
Oct 01 2018
parent reply rjframe <dlang ryanjframe.com> writes:
On Tue, 02 Oct 2018 06:51:10 +0100, Russel Winder wrote:

 It turns out there are a number problems with the SCons tests running on
 Windows, many of them associated with the D support.
 
 https://github.com/SCons/scons/issues/3205
 
 As you will see I am choosing not to get involved in anything to do with
 Windows. The D support in SCons on Windows does though need some work,
 and so SCons needs some people to get involved – due to enlightened
 self-interest.
I don't use SCons, but took a quick look; my current guess is that the problem is the chocolatey installation of dmd and the rest in AppVeyor; chocolatey doesn't install DMD in %SYSTEMROOT% and I don't know if the path updates take effect without restarting the shell (my own PC is too polluted to test this locally). Using SCons.Debug.Trace just crashes with "ValueError: I/O operation on closed file.", writing both to stdout and a file, so I haven't been able to test anything. --Ryan
Oct 07 2018
parent Russel Winder <russel winder.org.uk> writes:
On Sun, 2018-10-07 at 10:51 +0000, rjframe via Digitalmars-d wrote:
[=E2=80=A6]
=20
 I don't use SCons, but took a quick look; my current guess is that the=
=20
 problem is the chocolatey installation of dmd and the rest in AppVeyor;=
=20
 chocolatey doesn't install DMD in %SYSTEMROOT% and I don't know if the=
=20
 path updates take effect without restarting the shell (my own PC is too=
=20
 polluted to test this locally).
=20
 Using SCons.Debug.Trace just crashes with "ValueError: I/O operation on=
=20
 closed file.", writing both to stdout and a file, so I haven't been able=
=20
 to test anything.
Thanks for taking a look into it. It seems like Chocolatey is not playing entirely fair. --=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 Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Oct 08 2018