September 14, 2015 Re: Release D 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack Stouffer | On Thursday, 10 September 2015 at 17:46:53 UTC, Jack Stouffer wrote: > Well, it's a little too late, but the compiler outputs the wrong version: > > $ dmd --version > DMD64 D Compiler v2.068 > Copyright (c) 1999-2015 by Digital Mars written by Walter Bright It does work for me and the build seems fine as well. https://github.com/D-Programming-Language/installer/blob/c6f8648e56ca58e1cad65a441e2d765ca96f1da0/create_dmd_release/build_all.d#L345 What platform are you on? |
September 14, 2015 Re: Release D 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Monday, 14 September 2015 at 17:51:59 UTC, Martin Nowak wrote:
> What platform are you on?
I'm on OS X, using the homebrew version of DMD. And homebrew is telling me that I have 2.068.1 installed
$ brew install dmd
Warning: dmd-2.068.1 already installed
$ dmd --version
DMD64 D Compiler v2.068
Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
And if I check
$ which dmd
/usr/local/bin/dmd
Then if I check the link
/usr/local/bin/dmd -> ../Cellar/dmd/2.068.1/bin/dmd
|
September 14, 2015 Re: Release D 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack Stouffer | On Monday, 14 September 2015 at 20:14:45 UTC, Jack Stouffer wrote:
> On Monday, 14 September 2015 at 17:51:59 UTC, Martin Nowak wrote:
>> What platform are you on?
>
> I'm on OS X, using the homebrew version of DMD. And homebrew is telling me that I have 2.068.1 installed
>
> $ brew install dmd
> Warning: dmd-2.068.1 already installed
>
> $ dmd --version
> DMD64 D Compiler v2.068
> Copyright (c) 1999-2015 by Digital Mars written by Walter Bright
>
> And if I check
>
> $ which dmd
> /usr/local/bin/dmd
>
> Then if I check the link
>
> /usr/local/bin/dmd -> ../Cellar/dmd/2.068.1/bin/dmd
Yeah, I get this too. Same with 2.068.2-b2
|
September 14, 2015 Re: Release D 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack Stouffer | On Monday, 14 September 2015 at 20:14:45 UTC, Jack Stouffer wrote: > On Monday, 14 September 2015 at 17:51:59 UTC, Martin Nowak wrote: >> What platform are you on? > > I'm on OS X, using the homebrew version of DMD. And homebrew is telling me that I have 2.068.1 installed Well I guess it's a bug in the homebrew script then. Nobody is setting the VERSION file and there is no git repo to query. https://github.com/Homebrew/homebrew/blob/f8b0ff3ef63e60a1da17ec8d8e68d949b1cebc27/Library/Formula/dmd.rb#L50 |
September 15, 2015 Re: Release D 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack Stouffer | On 2015-09-10 19:46, Jack Stouffer wrote: > Well, it's a little too late, but the compiler outputs the wrong version: > > $ dmd --version > DMD64 D Compiler v2.068 > Copyright (c) 1999-2015 by Digital Mars written by Walter Bright Working fine here, installed using DVM. -- /Jacob Carlborg |
September 15, 2015 Re: Release D 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Monday, 14 September 2015 at 23:53:16 UTC, Martin Nowak wrote:
> On Monday, 14 September 2015 at 20:14:45 UTC, Jack Stouffer wrote:
>> On Monday, 14 September 2015 at 17:51:59 UTC, Martin Nowak wrote:
>>> What platform are you on?
>>
>> I'm on OS X, using the homebrew version of DMD. And homebrew is telling me that I have 2.068.1 installed
>
> Well I guess it's a bug in the homebrew script then.
> Nobody is setting the VERSION file and there is no git repo to query.
> https://github.com/Homebrew/homebrew/blob/f8b0ff3ef63e60a1da17ec8d8e68d949b1cebc27/Library/Formula/dmd.rb#L50
Where is the VERSION file documented? Why does it need manual intervention only for patch releases and pre-releases?
|
September 16, 2015 Re: Release D 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | Am Tue, 15 Sep 2015 08:39:41 +0000 schrieb John Colvin <john.loughran.colvin@gmail.com>: > On Monday, 14 September 2015 at 23:53:16 UTC, Martin Nowak wrote: > > On Monday, 14 September 2015 at 20:14:45 UTC, Jack Stouffer wrote: > >> On Monday, 14 September 2015 at 17:51:59 UTC, Martin Nowak wrote: > >>> What platform are you on? > >> > >> I'm on OS X, using the homebrew version of DMD. And homebrew is telling me that I have 2.068.1 installed > > > > Well I guess it's a bug in the homebrew script then. > > Nobody is setting the VERSION file and there is no git repo to > > query. > > https://github.com/Homebrew/homebrew/blob/f8b0ff3ef63e60a1da17ec8d8e68d949b1cebc27/Library/Formula/dmd.rb#L50 > > Where is the VERSION file documented? Why does it need manual intervention only for patch releases and pre-releases? I noticed this as well. There are different VERSION files depending on where you download DMD source code from: The releases on GitHub have 2.068 while the releases on dlang.org have 2.068.1 in VERSION. That's easy to miss when you build from source. (Also the dlang.org downloads add to the DMD download statistics, which is why I use those even though they include extra binaries for all OSs.) -- Marco |
September 16, 2015 Re: Release D 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | On Tuesday, 15 September 2015 at 08:39:43 UTC, John Colvin wrote:
> Where is the VERSION file documented? Why does it need manual intervention only for patch releases and pre-releases?
We should prolly remove the manually updated VERSION file.
The other build scripts update the file or pass VERSION=bla to make.
|
September 19, 2015 Re: Release D 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | On Wednesday, 16 September 2015 at 18:34:48 UTC, Martin Nowak wrote:
> On Tuesday, 15 September 2015 at 08:39:43 UTC, John Colvin wrote:
>> Where is the VERSION file documented? Why does it need manual intervention only for patch releases and pre-releases?
>
> We should prolly remove the manually updated VERSION file.
> The other build scripts update the file or pass VERSION=bla to make.
What would DMD identify itself as then, if a version is not specified on make's command line?
|
September 21, 2015 Re: Release D 2.068.1 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Vladimir Panteleev | On 09/19/2015 07:51 PM, Vladimir Panteleev wrote: > > What would DMD identify itself as then, if a version is not specified on > make's command line? It could use the output of `git describe`. That would probably be better anyway, because non-release builds would properly identify themselves as non-release builds with both the most recent tag name AND, if local HEAD isn't tagged, it will also include the git commit hash (and, IIRC, the number of commits since the most recent tag). *Much* better than having two months of master commits all identifying as the exact same version. <shameless plug> gen-package-version[1] operates on exactly that strategy (which I learned about from dub's source). [1] https://github.com/Abscissa/gen-package-version |
Copyright © 1999-2021 by the D Language Foundation