Re: How to correctly deal with dmd.conf with multiple dmd installations - [ref osx, brew, digger]

2018-09-27 Thread Vladimir Panteleev via Digitalmars-d
On Thursday, 27 September 2018 at 19:53:32 UTC, aliak wrote: Can you explain a bit maybe how it'd break the maximally reproducible builds with an example? I believe you might've mentioned that in the issue linked but I didn't quite get it. Well, essentially Digger tries to minimize the number

Re: How to correctly deal with dmd.conf with multiple dmd installations - [ref osx, brew, digger]

2018-09-27 Thread aliak via Digitalmars-d
On Wednesday, 26 September 2018 at 01:17:24 UTC, Vladimir Panteleev wrote: On Tuesday, 25 September 2018 at 10:34:17 UTC, aliak wrote: When you do `digger install` it seems to not “install” a `dmd.conf` but it does install the `dmd` binary in `/usr/local/bin/dmd` - but that wasn’t built with `S

Re: How to correctly deal with dmd.conf with multiple dmd installations - [ref osx, brew, digger]

2018-09-25 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 25 September 2018 at 10:34:17 UTC, aliak wrote: When you do `digger install` it seems to not “install” a `dmd.conf` but it does install the `dmd` binary in `/usr/local/bin/dmd` - but that wasn’t built with `SYSCONFDIR` so it doesn’t find `/usr/local/etc/dmd.conf` either, but even i

Re: How to correctly deal with dmd.conf with multiple dmd installations - [ref osx, brew, digger]

2018-09-25 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/25/2018 06:34 AM, aliak wrote: Alo, I'm wondering what’s the deal with dmd.conf and what’s the correct way to handle it with dmd installations. Basically, you want an appropriate, matching `dmd.conf` together with (ie, "in the same directory as") each `dmd` executable. No other `dmd

Re: How to correctly deal with dmd.conf with multiple dmd installations - [ref osx, brew, digger]

2018-09-25 Thread H. S. Teoh via Digitalmars-d
On Tue, Sep 25, 2018 at 09:00:57PM +0200, Jacob Carlborg via Digitalmars-d wrote: > On 2018-09-25 13:55, Jonathan M Davis wrote: > > > Yes. You want dmd.conf, or certain paths won't be set correctly > > (like where to find Phobos). Personally, I'd strongly suggest > > against having multiple copi

Re: How to correctly deal with dmd.conf with multiple dmd installations - [ref osx, brew, digger]

2018-09-25 Thread Jacob Carlborg via Digitalmars-d
On 2018-09-25 13:55, Jonathan M Davis wrote: Yes. You want dmd.conf, or certain paths won't be set correctly (like where to find Phobos). Personally, I'd strongly suggest against having multiple copies of dmd installed at the same time. It just sounds like a recipe for disaster. Regardless, here

Re: How to correctly deal with dmd.conf with multiple dmd installations - [ref osx, brew, digger]

2018-09-25 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, September 25, 2018 4:34:17 AM MDT aliak via Digitalmars-d wrote: > Alo, > > I'm wondering what’s the deal with dmd.conf and what’s the > correct way to handle it with dmd installations. > > Scenario: `brew install dmd` puts dmd in `/usr/local/bin/dmd` > (symlink) and sets the `SYSCONFDI

How to correctly deal with dmd.conf with multiple dmd installations - [ref osx, brew, digger]

2018-09-25 Thread aliak via Digitalmars-d
Alo, I'm wondering what’s the deal with dmd.conf and what’s the correct way to handle it with dmd installations. Scenario: `brew install dmd` puts dmd in `/usr/local/bin/dmd` (symlink) and sets the `SYSCONFDIR` in its build config so `dmd.conf` is in `/usr/local/etc/dmd.conf`. AFAICT: that