Re: Dub support was added to Meson

2018-09-06 Thread Russel Winder via Digitalmars-d-announce
On Thu, 2018-08-16 at 22:44 +, Filipe Laíns via Digitalmars-d-announce wrote: […] Apologies for the delay in replying to this one. > This is obviously bad. Your distro has a package manager, you > should use it, not create a separated language-specific one. If I'm afraid you are onto a

Re: Dub support was added to Meson

2018-08-16 Thread Filipe Laíns via Digitalmars-d-announce
On Wednesday, 15 August 2018 at 09:31:48 UTC, Russel Winder wrote: That's the battle isn't it. Should the system that builds be the system that also manages the packages for the build (cf. Dub, Cargo, Go, Mason), or should the two be kept separate (cf. CMake, Meson, SCons, Make). The debate

Re: Dub support was added to Meson

2018-08-15 Thread rikki cattermole via Digitalmars-d-announce
On 15/08/2018 9:31 PM, Russel Winder wrote: Maybe then Dub should be better able to handle shared objects. Whilst the whole static linking vs. shared objects is another topic that descends into flame wars of prejudice, the de facto standard tool should not really be taking sides in the war but

Re: Dub support was added to Meson

2018-08-15 Thread Russel Winder via Digitalmars-d-announce
On Tue, 2018-08-14 at 17:51 +, Filipe Laíns via Digitalmars-d-announce wrote: […] > > Yeah, Meson is a build system, not a package manager. This > problem can be solved by simply creating a script that fetches > and builds de dependencies. When creating a script, you might > also want to

Re: Dub support was added to Meson

2018-08-14 Thread Filipe Laíns via Digitalmars-d-announce
On Friday, 10 August 2018 at 14:38:10 UTC, Russel Winder wrote: First, you need to fetch and build the dependency. dub fetch vibe-d dub build vibe-d This feels a little unsatisfactory. Dub (and soon SCons I hope) builds handle getting the dependency as well as building it and thence

Re: Dub support was added to Meson

2018-08-13 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2018-08-13 at 14:33 +, Matthias Klumpp via Digitalmars-d-announce wrote: […] > This is intentional, see this comment from Jussi: > https://github.com/mesonbuild/meson/pull/3592#issuecomment-390421754 I am not entirely sure I agree with everything there, but he is BDFL of the project

Re: Dub support was added to Meson

2018-08-13 Thread Matthias Klumpp via Digitalmars-d-announce
On Friday, 10 August 2018 at 14:38:10 UTC, Russel Winder wrote: On Sat, 2018-08-04 at 16:07 +, Filipe Laíns via Digitalmars-d-announce wrote: Hello, Dub support was finally merged to the Meson's upstream. For the ones that don't know, Meson[1] is a fast build system that uses ninja[2] as a

Re: Dub support was added to Meson

2018-08-10 Thread Russel Winder via Digitalmars-d-announce
On Sat, 2018-08-04 at 16:07 +, Filipe Laíns via Digitalmars-d-announce wrote: > Hello, > > Dub support was finally merged to the Meson's upstream. > For the ones that don't know, Meson[1] is a fast build system > that uses ninja[2] as a backend. Until now it was impossible to > use

Re: Dub support was added to Meson

2018-08-08 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 8 August 2018 at 17:26:39 UTC, Mike Wey wrote: On 07-08-18 22:33, Atila Neves wrote: How does it track dependencies given that ninja needs functionality akin to gcc's to do that? Or does it always compile everything if any file changes? It currently only tracks dependencies

Re: Dub support was added to Meson

2018-08-08 Thread Mike Wey via Digitalmars-d-announce
On 07-08-18 22:33, Atila Neves wrote: How does it track dependencies given that ninja needs functionality akin to gcc's to do that? Or does it always compile everything if any file changes? It currently only tracks dependencies when using gdc, for dmd and ldc dmd pull 6961[1] would have to

Re: Dub support was added to Meson

2018-08-07 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 4 August 2018 at 16:07:45 UTC, Filipe Laíns wrote: Hello, Dub support was finally merged to the Meson's upstream. For the ones that don't know, Meson[1] is a fast build system that uses ninja[2] as a backend. Until now it was impossible to use dependencies via the Dub and many

Re: Dub support was added to Meson

2018-08-04 Thread Filipe Laíns via Digitalmars-d-announce
On Saturday, 4 August 2018 at 19:01:50 UTC, Russel Winder wrote: Great stuff. I have failed to date finishing Dub support in SCons, I shall have to put more effort in now. :-) The single biggest problem with D and Meson is that unit-threaded doesn't work with the way Meson works. Which is

Re: Dub support was added to Meson

2018-08-04 Thread Russel Winder via Digitalmars-d-announce
Great stuff. I have failed to date finishing Dub support in SCons, I shall have to put more effort in now. :-) The single biggest problem with D and Meson is that unit-threaded doesn't work with the way Meson works. Which is why I introduced the ProgramAllAtOnce builder into SCons. If there is