Bug 18662 – -i -deps should not recurse into modules excluded by -i

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2018-03-26T08:02:49Z
Last change time
2024-12-13T18:57:58Z
Assigned to
No Owner
Creator
FeepingCreature
Moved to GitHub: dmd#19413 →

Comments

Comment #0 by default_357-line — 2018-03-26T08:02:49Z
I thought that -i could be really useful to reduce memory usage in that scenario. Unfortunately, even though it excludes std. when building, it still recurses into it when running -unittest -deps, with all the attendant 10GB memory usage that implies. Any chance dmd FILE -i -deps could be made to not recurse into modules that -i excludes anyways?
Comment #1 by greeenify — 2018-03-26T09:05:46Z
This is still the problem that -deps is executing Phobos's testsuite - isn't it? Is there any reason not to fix this underlying issue? (might be more general purpose)
Comment #2 by robert.schadek — 2024-12-13T18:57:58Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19413 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB