Skip to content

Conversation

spernsteiner
Copy link
Contributor

Currently ./configure --llvm-root=... and similar flags will break incremental builds by forcing reconfiguration on every make. This happens because reconfig.mk incorrectly treats submodules in the - (uninitialized) state as requiring reconfiguration, and ./configure deliberately deinitializes unneeded submodules. The fix is to reconfigure only when submodules are in the + state (wrong commit checked out).

bors added a commit that referenced this pull request Sep 10, 2014
Currently `./configure --llvm-root=...` and similar flags will break incremental builds by forcing reconfiguration on every `make`.  This happens because `reconfig.mk` incorrectly treats submodules in the `-` (uninitialized) state as requiring reconfiguration, and `./configure` deliberately deinitializes unneeded submodules.  The fix is to reconfigure only when submodules are in the `+` state (wrong commit checked out).
@bors bors closed this Sep 10, 2014
@bors bors merged commit ba43f7b into rust-lang:master Sep 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants