Re: :action depend for D

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Lars Ivar Igesund wrote:

> Well, the best would be if everybody could get themselves an internet
> connection. ;)

I'm sometimes using my notebook on a plane...

> > This would be possible, but then it can't try to install a package at
> > the same time.  Thus the d module would have to check if "ddepcheck" can
> > be found and when not: build it from the included ddpecheck.d.
> >
> > An alternative is to implement the dependency checker in Python.  Then
> > it doesn't need to be compiled and installed first.  It will be a lot
> > slower though.
> 
> This might be an acceptable solution since it is very likely that most
> people using aap for D will have an internet connection. I can try to
> implement this when I get the time, and have it as it as for the
> moment. Unless you think inclusion of ddepcheck is the best. The
> python version would need the same updates in any case. (The necessary
> changes are mostly related to changes/additions to the runtime library
> as ddepcheck don't consider these as dependencies (kinda like system
> headers)). After thinking some more I'm positive that inclusion of
> ddepcheck.d is better than implementing it in Python.
> 
> > You would have to send me ddepcheck.d each time you make improvements.
> 
> No problem, really.
> 
> > The user could still do "aap --install ddepcheck" to obtain an updated
> > version.
> 
> Yes.

Making a Python implementation would be a lot more work, and its speed
would be disappointing.  So let's forget about that.

Including ddepcheck.d with Aap sounds like a good solution.  Even better
would be if the D compiler would be able to do this by itself, like gcc
does.  But that's not in our hands.

Please look at the current version in CVS and suggest how ddepcheck.d
can be added and compiled when necessary.  I think it needs to go into
the "tools" directory.

-- 
Men may not be seen publicly in any kind of strapless gown.
		[real standing law in Florida, United States of America]

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.