Bug 14983 – AUTO_BOOTSTRAP download never happens.
Status
RESOLVED
Resolution
WONTFIX
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Mac OS X
Creation time
2015-08-30T12:09:13Z
Last change time
2022-10-10T09:18:20Z
Assigned to
No Owner
Creator
John Colvin
Comments
Comment #0 by john.loughran.colvin — 2015-08-30T12:09:13Z
The download code for the bootstrap compiler doesn't seem to actually be a dependency of any other targets, so unless you run `make -f posix.mak AUTO_BOOTSTRAP=1 host-dmd` first it doesn't work.
Comment #1 by razvan.nitu1305 — 2022-10-10T09:18:20Z
We have now transitioned to the build.d file and as far as I understand the behavior is that if you do not have a host dmd you need to manually specify AUTO_BOOTSTRAP=1.
If I understand correctly, what this enhancement request is asking is tha if HOST_DMD_PATH is empty, then AUTO_BOOTSTRAP=1 should be set by default. I would argue that this is actually counter productive if you want to use a specific host but to forgot to set HOST_DMD_PATH. Right now, if that is the case, the compiler will nicely highlight that out. If we were to implement what is asked here, that might lead to head scratching behavior.
Closing as WONTFIX.