Bug 14274 – tools/update.sh must install and use dmd 2.066.1 if not present

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
tools
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2015-03-10T23:38:15Z
Last change time
2020-04-10T03:48:32Z
Assigned to
No Owner
Creator
Andrei Alexandrescu

Comments

Comment #0 by andrei — 2015-03-10T23:38:15Z
Trying to install dmd HEAD on a fresh ubuntu machine now requires a preexisting installation of dmd 2.066.1. tools/update.sh should detect if dmd is missing and automatically clone it and use it (similar to dlang.org/posix.mak).
Comment #1 by dlang-bugzilla — 2015-03-30T19:43:49Z
FWIW Digger can build master already.
Comment #2 by pro.mathias.lang — 2020-04-09T11:01:00Z
Fixed by https://github.com/dlang/tools/pull/236 (you do setup a new machine quite often Andrei).
Comment #3 by andrei — 2020-04-09T12:05:40Z
Are we sure the issue described in https://forum.dlang.org/post/[email protected] did not break this? Or would that deserve its own bug report?
Comment #4 by pro.mathias.lang — 2020-04-10T03:48:32Z
Right... The underlying bug is: https://issues.dlang.org/show_bug.cgi?id=20727 `setup.sh` doesn't pass `AUTO_BOOTSTRAP` when doing clean. I submitted a workaround here: https://github.com/dlang/tools/pull/399 I'd say there is no need to re-open this issue because the bug it is describing (lack of bootstrapping) has been fixed, and the fix is correct, it's the DMD makefile that isn't.