build system

Jacob Carlborg doob at me.com
Sun Nov 6 23:23:27 PST 2011


On 2011-11-05 13:52, Marco Leise wrote:
> Am 26.10.2011, 20:52 Uhr, schrieb Jacob Carlborg <doob at me.com>:
>
>> On 2011-10-26 18:01, jsternberg wrote:
>>> Gor Gyolchanyan Wrote:
>>>
>>>> I had a few thoughts about integrating build awareness into DMD.
>>>> It would be really cool to add a flag to DMD to make it compile and
>>>> link in all import-referenced modules.
>>>> Also, it would be awesome to store basic build information in modules
>>>> themselves in the form of special comments (much like documentation
>>>> comments), where one could specify external build dependencies, output
>>>> type, etc.
>>>> There would be no need for makefiles and extra build systems. You'd
>>>> just feed an arbitrary module to the compiler and the compiler would
>>>> build the target, to which that module belongs (bu parsing build
>>>> comments and package hierarchies).
>>>> Wouldn't this be a good thing to have?
>>>
>>> Take a look at Cabal and ghc-pkg/ghc --make from Haskell. I've been
>>> thinking about starting to put together something like this, but I
>>> haven't found the motivation to do it. This type of package
>>> management and build integration would go a long way to making D less
>>> decentralized.
>>>
>>> One thing that would be needed to complete such a system is proper
>>> support for linking shared libraries (at least on Linux).
>>>
>>> There are a bunch of things the build system could do that would make
>>> development in D much easier.
>>>
>>> If you're interested in doing this, you should contact me on the IRC
>>> channel.
>>
>> I'm working on a package manager:
>>
>> https://github.com/jacob-carlborg/orbit/wiki/Orbit-Package-Manager-for-D
>> https://github.com/jacob-carlborg/orbit
>
> I'll check it out now. Maybe it can already do some basic compile jobs.
> At least it seems like you really don't want 'Orbit' to go unnoticed ;)

It can do a couple of operations (checkout the cucumber features/tests), 
so far only for local repositories. Well people are always complaining 
about there's no package manager for D, I just want to let people know 
that I'm working on one.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list